SPECS: scr_ipfm.spec - partial cleanup, release 0.1 (still NFY)
qboosh
qboosh at pld-linux.org
Thu Dec 14 19:14:13 CET 2006
Author: qboosh Date: Thu Dec 14 18:14:13 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- partial cleanup, release 0.1 (still NFY)
---- Files affected:
SPECS:
scr_ipfm.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/scr_ipfm.spec
diff -u SPECS/scr_ipfm.spec:1.1 SPECS/scr_ipfm.spec:1.2
--- SPECS/scr_ipfm.spec:1.1 Thu Dec 14 19:09:28 2006
+++ SPECS/scr_ipfm.spec Thu Dec 14 19:14:05 2006
@@ -1,31 +1,32 @@
# $Revision$, $Date$
+# TODO: webapps, banner instead of echo
Summary: scr_ipfm - on-site display of ipfm summaries
-Summary(pl): - scr_ipfm - przedstawia na stronie wyniki ipfm'a
+Summary(pl): scr_ipfm - przedstawianie wyników z ipfm-a na stronie WWW
Name: scr_ipfm
Version: 0.64
-Release: 1
+Release: 0.1
License: GPL
-Group: Aplications/WWW
-###### Unknown group!
+Group: Applications/WWW
Source0: http://dl.sourceforge.net/scripfm/%{name}-%{version}.tar.gz
+# Source0-md5: 5867737ef5cbade35a42c66020b4f045
URL: http://scripfm.sourceforge.net/
Requires: apache
Requires: ipfm
-Requires: libcap
Requires: sed
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _ipfmdir /usr/share/scr_ipfm
-%define _ipfmconf /etc/ipfm
+
+%define _ipfmdir %{_datadir}/scr_ipfm
+%define _ipfmconf /etc/ipfm
%description
-scr_ipfm displays on the web the summaries of ipfm
+scr_ipfm displays on the web the summaries of ipfm.
%description -l pl
-scr_ipfm wyświetla na stronie www wyniki ipfm'a
+scr_ipfm wyświetla na stronie WWW wyniki ipfm-a
%prep
-%setup -q -a0
+%setup -q
%install
rm -rf $RPM_BUILD_ROOT
@@ -34,36 +35,27 @@
cp -af *.php contrib images themes $RPM_BUILD_ROOT%{_ipfmdir}
-cp -af ipfm.conf-sample $RPM_BUILD_ROOT%{_ipfmconf}
+cp -af ipfm.conf-sample $RPM_BUILD_ROOT%{_ipfmconf}
-echo "alias %{_datadir}/scr_ipfm/ /scripfm" > %{_sysconfdir}/httpd/scr_ipfm.conf
+echo "alias %{_datadir}/scr_ipfm/ /scripfm/" > %{_sysconfdir}/httpd/scr_ipfm.conf
ln -s "%{_sysconfdir}/httpd/scr_ipfm.conf" "%{_sysconfdir}/httpd/httpd.conf/99_scr_ipfm.conf"
+
%clean
rm -rf $RPM_BUILD_ROOT
%post
-if [ "$LANG" = "pl_PL" ]; then
-echo
-echo "Zedytuj plik konfiguracyjny w %{_sysconfdir}/ipfm/ipfm.conf-sample i zastąp ipfm.conf"
-echo "Więcej: %{_datadir}/doc/scr_ipfm-%{version}/"
-echo
-else
-echo
echo "Edit configuration file at %{_sysconfdir}/ipfm/ipfm.cnf-sample and replace ipfm.conf"
-echo "More: %{_datadir}/doc/scr_ipfm-%{version}/"
-echo
-fi
+echo "More: %{_datadir}/doc/%{name}-%{version}/"
%files
%defattr(644,root,root,755)
-%doc BUGS COPYING ChangeLog README README_pl THANKS TODO
+%doc BUGS ChangeLog README README_pl THANKS TODO
%dir %{_ipfmdir}
-%{_ipfmdir}/contrib/
-%{_ipfmdir}/images/
-%{_ipfmdir}/themes/
+%{_ipfmdir}/contrib
+%{_ipfmdir}/images
+%{_ipfmdir}/themes
%{_ipfmdir}/*.*
-%dir %(_ipfmdir)
-%config(noreplace) %{_ipfmconf}/ipfm.conf-sample
+%config(noreplace) %verify(not md5 mtime size) %{_ipfmconf}/ipfm.conf-sample
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -71,5 +63,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2006/12/14 18:14:05 qboosh
+- partial cleanup, release 0.1 (still NFY)
+
Revision 1.1 2006/12/14 18:09:28 qboosh
- from "LuCkEr" <lucker at netpro-2.com> (some time ago)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/scr_ipfm.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list