]> git.pld-linux.org Git - packages/cronolog.git/commitdiff
- initial release - STBR
authormguevara <mguevara@pld-linux.org>
Mon, 17 Mar 2003 00:04:54 +0000 (00:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- cronolog - tool for rotating Apache logs without sending HUP signal;
  more advanced than rotatelogs from the Apache distribution.

Changed files:
    cronolog.spec -> 1.1

cronolog.spec [new file with mode: 0644]

diff --git a/cronolog.spec b/cronolog.spec
new file mode 100644 (file)
index 0000000..260186f
--- /dev/null
@@ -0,0 +1,63 @@
+
+Name:           cronolog
+Version:       1.6.2
+Release:       1
+License:       Apache license
+Group:         Networking/Daemons
+Summary:        A flexible log file rotation program for Apache
+Summary(pl):   Program do elastycznej rotacji logów serwera Apache
+
+URL:           http://www.ford-mason.co.uk/resources/cronolog/
+Source0:       http://www.ford-mason.co.uk/resources/cronolog/cronolog-%version.tar.gz
+
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+"cronolog" is a simple program that reads log messages from its input
+and writes them to a set of output files, the names of which are
+constructed using template and the current date and time. The template
+uses the same format specifiers as the Unix date command (which are
+the same as the standard C strftime library function).
+
+%description -l pl
+"cronolog" jest prostym programem czytaj±cym logi i zapisuj±cym 
+je do plików wyj¶ciowych, których nazwy mo¿na tworzyæ u¿ywaj±c 
+szablonu oraz bie¿±cego czasu i daty. Szablony korzystaj± z tego
+samego formatu co polecenie date systemu Unix (który jest taki 
+sam jak dla standardowej funkcji C strftime).
+Dziêki u¿yciu mechanizmu "piped logs", program ten mo¿e byæ stosowany 
+do rotacji logów, która nie wymaga restartowania serwera Apache.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+
+./configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-${RPM_PACKAGE_VERSION} -m 755
+%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} mandir=$RPM_BUILD_ROOT%{_mandir} install
+install README $RPM_BUILD_ROOT%{_datadir}/doc/%name-${RPM_PACKAGE_VERSION}
+
+%post
+
+%preun
+
+%postun
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(-,root,root) %{_sbindir}/cronolog
+%attr(-,root,root) %{_sbindir}/cronosplit
+
+#%files man
+%attr(644,root,root) %{_mandir}/man1/*.1*
+
+%doc README
This page took 0.057391 seconds and 4 git commands to generate.