SPECS: petidomo.spec - 4.0b6 tarball, adapterized, cosmetics
glen
glen at pld-linux.org
Wed May 30 08:46:49 CEST 2007
Author: glen Date: Wed May 30 06:46:49 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 4.0b6 tarball, adapterized, cosmetics
---- Files affected:
SPECS:
petidomo.spec (1.23 -> 1.24)
---- Diffs:
================================================================
Index: SPECS/petidomo.spec
diff -u SPECS/petidomo.spec:1.23 SPECS/petidomo.spec:1.24
--- SPECS/petidomo.spec:1.23 Tue Feb 13 09:06:39 2007
+++ SPECS/petidomo.spec Wed May 30 08:46:42 2007
@@ -1,15 +1,19 @@
# $Revision$, $Date$
-# TODO: there is no petidomo user/group (anywhere)
+# TODO
+# - build ;)
+# - there is no petidomo user/group (anywhere)
+# - move to /var/lib and /etc (FHS)
+%define _beta b6
+%define _rel 0.1
Summary: Easy-to-use, easy-to-install mailing list server
Summary(pl.UTF-8): Łatwy w użyciu oraz instalacji serwer list pocztowych
Name: petidomo
-Version: 2.2
-Release: 5d
+Version: 4.0
+Release: %{_beta}.%{_rel}
License: Free for non-commercial use
-Vendor: Peter Simons <simons at petidomo.com>
Group: Applications/Mail
-Source0: http://www.petidomo.com/download/%{version}/source/%{name}-%{version}-src.tar.gz
-# Source0-md5: 37f1380503f60d6a53ca70e1500bd50a
+Source0: ftp://ftp.ossp.org/pkg/tool/petidomo/%{name}-%{version}%{_beta}.tar.gz
+# Source0-md5: 968f4ca0a0b97acc2e095090ba31afcc
Source1: %{name}-manual-html.tar.gz
# Source1-md5: 6dc92bea47f13588d0b53594426fbff1
Source2: help-pl-eng
@@ -21,7 +25,7 @@
BuildRequires: autoconf >= 2.53
Requires(post): fileutils
Requires(post): grep
-Requires(post): sed
+Requires(post): sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define homedir /home/services/petidomo
@@ -31,7 +35,8 @@
Petidomo Mailing List Manager.
%description -l pl.UTF-8
-Petidomo Mailing List Manager - zarządca pocztowych list dyskusyjnych.
+Petidomo Mailing List Manager - zarządca pocztowych list
+dyskusyjnych.
%package cgimanager
Summary: CGI Manager for Petidomo
@@ -52,16 +57,16 @@
Uwaga: zarządca CGI obdarzony jest SUID-em root.
%prep
-%setup -q -n %{name}-src -a1
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+%setup -q -n %{name}-%{version}%{_beta} -a1
+#%patch0 -p1
+#%patch1 -p1
+#%patch2 -p1
%build
%{__autoconf}
%configure
-
-%{__make} CFLAGS+="%{rpmcflags}"
+%{__make} \
+ CFLAGS+="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
@@ -103,20 +108,15 @@
rm -rf $RPM_BUILD_ROOT
%post
-mv -f %{homedir}/etc/petidomo.conf %{homedir}/etc/petidomo.conf.new
-sed -e "s#@HOSTNAME@#`hostname --fqdn`#" %{homedir}/etc/petidomo.conf.new \
- > %{homedir}/etc/petidomo.conf
-rm -f %{homedir}/etc/petidomo.conf.new
-chown -f petidomo:petidomo %{homedir}/etc/petidomo.conf
-chmod -f 660 %{homedir}/etc/petidomo.conf
+sed -i -e "s#@HOSTNAME@#`hostname --fqdn`#" %{homedir}/etc/petidomo.conf
if ! grep -q ^petidomo /etc/mail/aliases; then
-echo "#" >> /etc/mail/aliases
-echo "# Mailing List Stuff" >> /etc/mail/aliases
-echo "#" >> /etc/mail/aliases
-echo "petidomo-manager:postmaster" >> /etc/mail/aliases
-echo "petidomo:\"|%{homedir}/bin/listserv\"" >> /etc/mail/aliases
-/usr/bin/newaliases
+ echo "#" >> /etc/mail/aliases
+ echo "# Mailing List Stuff" >> /etc/mail/aliases
+ echo "#" >> /etc/mail/aliases
+ echo "petidomo-manager:postmaster" >> /etc/mail/aliases
+ echo "petidomo:\"|%{homedir}/bin/listserv\"" >> /etc/mail/aliases
+ /usr/bin/newaliases
fi
%files
@@ -154,6 +154,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.24 2007/05/30 06:46:42 glen
+- 4.0b6 tarball, adapterized, cosmetics
+
Revision 1.23 2007/02/13 08:06:39 glen
- tabs in preamble
@@ -186,7 +189,7 @@
- note: package is unusable, there is no petidomo user/group
Revision 1.13 2002/11/25 01:41:48 ankry
-Massive attack:
+- Massive attack:
- s/man[ea]d[zż][ae]r/zarządca/g
- (some) new %doc
@@ -224,27 +227,3 @@
Revision 1.3 2000/12/06 02:38:52 agaran
- Just passed trough adapter
-
-* Sat Jan 16 1999 Arkadiusz Miśkiewicz <misiek at pld.za.net>
-[2.2-5d]
-- added cgimanager subpackage (includes SUID)
-- changed /etc/aliases to /etc/mail/aliases
-- removed /home/petidomo
-- added stripping
-
-* Tue Dec 22 1998 Arkadiusz Miśkiewicz <misiek at misiek.eu.org>
-[2.2-3d]
-- added commercial.txt (now we can put this rpm on ftp server)
-- few corrections
-
-* Sun Nov 08 1998 Arkadiusz Miśkiewicz <misiek at misiek.eu.org>
-- removed patch
-- removed archived directory
-- corrected few paths
-- removed (noreplace) from acl and petidomo.conf file
-- added usermod
-- added .nofinger
-- added help-pl-eng
-
-* Thu Oct 29 1998 Arkadiusz Miśkiewicz <misiek at misiek.eu.org>
-- initial RPM release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/petidomo.spec?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list