SPECS: horde-ingo.spec - update to 1.2rc2, unify macros, drop old ...
glen
glen at pld-linux.org
Thu Feb 7 00:08:47 CET 2008
Author: glen Date: Wed Feb 6 23:08:47 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- update to 1.2rc2, unify macros, drop old trigger
---- Files affected:
SPECS:
horde-ingo.spec (1.40 -> 1.41)
---- Diffs:
================================================================
Index: SPECS/horde-ingo.spec
diff -u SPECS/horde-ingo.spec:1.40 SPECS/horde-ingo.spec:1.41
--- SPECS/horde-ingo.spec:1.40 Wed Jan 9 17:46:24 2008
+++ SPECS/horde-ingo.spec Thu Feb 7 00:08:42 2008
@@ -1,29 +1,29 @@
# $Revision$, $Date$
-%define _hordeapp ingo
-#define _snap 2005-08-26
-%define _rc rc1
-%define _rel 1
+%define hordeapp ingo
+#define _snap 2005-08-26
+%define subver rc2
+%define rel 1
#
%include /usr/lib/rpm/macros.php
Summary: Ingo - an email filter rules manager
Summary(pl.UTF-8): Ingo - zarządca reguł filtrowania poczty elektronicznej
-Name: horde-%{_hordeapp}
+Name: horde-%{hordeapp}
Version: 1.2
-Release: %{?_rc:0.%{_rc}.}%{?_snap:0.%(echo %{_snap} | tr -d -).}%{_rel}
+Release: %{?subver:0.%{subver}.}%{?_snap:0.%(echo %{_snap} | tr -d -).}%{rel}
License: GPL v2
Group: Applications/WWW
-#Source0: ftp://ftp.horde.org/pub/ingo/%{_hordeapp}-h3-%{version}.tar.gz
-Source0: ftp://ftp.horde.org/pub/ingo/%{_hordeapp}-h3-%{version}-%{_rc}.tar.gz
-# Source0-md5: e8e1bef4f2c2dbb4344c5b70bc5b9238
-Source1: %{_hordeapp}.conf
-Patch0: %{_hordeapp}-path.patch
+#Source0: ftp://ftp.horde.org/pub/ingo/%{hordeapp}-h3-%{version}.tar.gz
+Source0: ftp://ftp.horde.org/pub/ingo/%{hordeapp}-h3-%{version}-%{subver}.tar.gz
+# Source0-md5: e281ee9abd11eee907b0e67f2ff36d3f
+Source1: %{hordeapp}.conf
+Patch0: %{hordeapp}-path.patch
URL: http://www.horde.org/ingo/
BuildRequires: rpm-php-pearprov >= 4.0.2-98
BuildRequires: rpmbuild(macros) >= 1.268
BuildRequires: tar >= 1:1.15.1
Requires: horde >= 3.0
Requires: webapps
-Obsoletes: %{_hordeapp}
+Obsoletes: %{hordeapp}
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,9 +32,9 @@
%define _noautoreq 'pear(Horde.*)'
%define hordedir /usr/share/horde
-%define _appdir %{hordedir}/%{_hordeapp}
+%define _appdir %{hordedir}/%{hordeapp}
%define _webapps /etc/webapps
-%define _webapp horde-%{_hordeapp}
+%define _webapp horde-%{hordeapp}
%define _sysconfdir %{_webapps}/%{_webapp}
%description
@@ -65,7 +65,7 @@
<http://www.horde.org/>.
%prep
-%setup -qcT -n %{?_snap:%{_hordeapp}-%{_snap}}%{!?_snap:%{_hordeapp}-%{version}%{?_rc:-%{_rc}}}
+%setup -qcT -n %{?_snap:%{hordeapp}-%{_snap}}%{!?_snap:%{hordeapp}-%{version}%{?subver:-%{subver}}}
tar zxf %{SOURCE0} --strip-components=1
%patch0 -p1
@@ -111,32 +111,6 @@
%triggerun -- apache < 2.2.0, apache-base
%webapp_unregister httpd %{_webapp}
-%triggerpostun -- horde-%{_hordeapp} < 1.1-0.rc2.0.6, %{_hordeapp}
-for i in backends.php conf.php fields.php prefs.php; do
- if [ -f /etc/horde.org/%{_hordeapp}/$i.rpmsave ]; then
- mv -f %{_sysconfdir}/$i{,.rpmnew}
- mv -f /etc/horde.org/%{_hordeapp}/$i.rpmsave %{_sysconfdir}/$i
- fi
-done
-
-if [ -f /etc/horde.org/apache-%{_hordeapp}.conf.rpmsave ]; then
- mv -f %{_sysconfdir}/apache.conf{,.rpmnew}
- mv -f %{_sysconfdir}/httpd.conf{,.rpmnew}
- cp -f /etc/horde.org/apache-%{_hordeapp}.conf.rpmsave %{_sysconfdir}/apache.conf
- cp -f /etc/horde.org/apache-%{_hordeapp}.conf.rpmsave %{_sysconfdir}/httpd.conf
-fi
-
-if [ -L /etc/apache/conf.d/99_horde-%{_hordeapp}.conf ]; then
- /usr/sbin/webapp register apache %{_webapp}
- rm -f /etc/apache/conf.d/99_horde-%{_hordeapp}.conf
- %service -q apache reload
-fi
-if [ -L /etc/httpd/httpd.conf/99_horde-%{_hordeapp}.conf ]; then
- /usr/sbin/webapp register httpd %{_webapp}
- rm -f /etc/httpd/httpd.conf/99_horde-%{_hordeapp}.conf
- %service -q httpd reload
-fi
-
%files
%defattr(644,root,root,755)
%doc README docs/*
@@ -163,6 +137,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.41 2008-02-06 23:08:42 glen
+- update to 1.2rc2, unify macros, drop old trigger
+
Revision 1.40 2008-01-09 16:46:24 paszczus
- updated to 1.2-rc1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/horde-ingo.spec?r1=1.40&r2=1.41&f=u
More information about the pld-cvs-commit
mailing list