forked from GNUsocial/gnu-social
Fixed version issues in laconica RPM spec file.
Fixed missing avatar directory in RPM packaging.
This commit is contained in:
parent
7fa6bb07d8
commit
00d3d70a7d
@ -1,11 +1,14 @@
|
|||||||
|
# This version needs to match the tarball and unpacked directory name.
|
||||||
|
%define LACVER 0.7.2.1
|
||||||
|
|
||||||
BuildRequires: php-pear
|
BuildRequires: php-pear
|
||||||
BuildRequires: httpd-devel
|
BuildRequires: httpd-devel
|
||||||
|
|
||||||
Name: laconica
|
Name: laconica
|
||||||
Version: 0.7.1
|
Version: %{LACVER}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GAGPL v3 or later
|
License: GAGPL v3 or later
|
||||||
Source: laconica-0.7.1.tar.gz
|
Source: laconica-%{version}.tar.gz
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
Summary: Laconica, the Open Source microblogging platform
|
Summary: Laconica, the Open Source microblogging platform
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -49,6 +52,8 @@ cp -a * %{buildroot}%{wwwpath}
|
|||||||
mkdir -p %{buildroot}%{_datadir}/laconica
|
mkdir -p %{buildroot}%{_datadir}/laconica
|
||||||
cp -a db %{buildroot}%{_datadir}/laconica/db
|
cp -a db %{buildroot}%{_datadir}/laconica/db
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/laconica/avatar
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
|
mkdir -p %{buildroot}%{_sysconfdir}/httpd/conf.d
|
||||||
cat > %{buildroot}%{_sysconfdir}/httpd/conf.d/laconica.conf <<"EOF"
|
cat > %{buildroot}%{_sysconfdir}/httpd/conf.d/laconica.conf <<"EOF"
|
||||||
Alias /laconica/ "/var/www/laconica/"
|
Alias /laconica/ "/var/www/laconica/"
|
||||||
@ -74,6 +79,12 @@ rm -rf %buildroot
|
|||||||
%config(noreplace) %{_sysconfdir}/httpd/conf.d/laconica.conf
|
%config(noreplace) %{_sysconfdir}/httpd/conf.d/laconica.conf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 13 2009 Ken Sedgwick <ksedgwic@bonsai.com> - 0.7.2.1-1
|
||||||
|
- Factored laconica version to the first line of the file.
|
||||||
|
|
||||||
|
* Wed Mar 03 2009 Zach Copley <zach@controlyourself.ca> - 0.7.2
|
||||||
|
- Changed version number to 0.7.2.
|
||||||
|
|
||||||
* Sat Feb 28 2009 Ken Sedgwick <ken@bonsai.com> - 0.7.1-1
|
* Sat Feb 28 2009 Ken Sedgwick <ken@bonsai.com> - 0.7.1-1
|
||||||
- Modified RPM for Fedora.
|
- Modified RPM for Fedora.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user