]> git.pld-linux.org Git - packages/apache1-mod_accounting.git/commitdiff
- new in PLD, STBR after verifying requires.
authorserek <serek@pld-linux.org>
Tue, 19 Feb 2002 13:17:32 +0000 (13:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-mod_accounting.spec -> 1.1

apache1-mod_accounting.spec [new file with mode: 0644]

diff --git a/apache1-mod_accounting.spec b/apache1-mod_accounting.spec
new file mode 100644 (file)
index 0000000..71bd0cd
--- /dev/null
@@ -0,0 +1,72 @@
+%define                mod_name        accounting
+%define        apxs            /usr/sbin/apxs
+Summary:       Apache module: records traffic statistics into a database 
+Summary(pl):   Modu³ do apache: zapisuje statystyki ruchu do relacyjnej bazy danych
+Name:          apache-mod_%{mod_name}
+Version:       0.4
+Release:       1
+License:       GPL
+Group:         Networking/Daemons
+Group(cs):     Sí»ové/Démoni
+Group(da):     Netværks/Dæmoner
+Group(de):     Netzwerkwesen/Server
+Group(es):     Red/Servidores
+Group(fr):     Réseau/Serveurs
+Group(is):     Net/Púkar
+Group(it):     Rete/Demoni
+Group(no):     Nettverks/Daemoner
+Group(pl):     Sieciowe/Serwery
+Group(pt):     Rede/Servidores
+Group(ru):     óÅÔØ/äÅÍÏÎÙ
+Group(sl):     Omre¾ni/Stre¾niki
+Group(sv):     Nätverk/Demoner
+Group(uk):     íÅÒÅÖÁ/äÅÍÏÎÉ
+Source0:       http://prdownloads.sourceforge.net/mod-acct/mod_%{mod_name}-%{version}.tar.gz
+URL:           http://sourceforge.net/projects/mod-acct/
+BuildRequires: %{apxs}
+BuildRequires: apache-devel
+BuildRequires: zlib-devel
+Prereq:                %{_sbindir}/apxs
+Requires:      apache
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _pkglibdir      %(%{apxs} -q LIBEXECDIR)
+
+%description
+Apache module: Automatically updates files in a CVS-based webtree.
+
+%description -l pl
+Modu³ do apache: Automatyczne uaktualnianie plików z drzewa CVS.
+
+%prep 
+%setup -q -n mod_%{mod_name}-%{version}
+
+%build
+%{apxs} -c mod_%{mod_name}.c -o mod_%{mod_name}.so -lz
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pkglibdir}
+
+install mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/apxs -e -a -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+if [ -f /var/lock/subsys/httpd ]; then
+       /etc/rc.d/init.d/httpd restart 1>&2
+fi
+
+%preun
+if [ "$1" = "0" ]; then
+       %{_sbindir}/apxs -e -A -n %{mod_name} %{_pkglibdir}/mod_%{mod_name}.so 1>&2
+       if [ -f /var/lock/subsys/httpd ]; then
+               /etc/rc.d/init.d/httpd restart 1>&2
+       fi
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_pkglibdir}/*
This page took 0.083348 seconds and 4 git commands to generate.