packages: dkim-milter/dkim-milter.spec - Stolen fixes from Fedora. NFY
matkor
matkor at pld-linux.org
Wed Sep 22 15:11:19 CEST 2010
Author: matkor Date: Wed Sep 22 13:11:19 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- Stolen fixes from Fedora. NFY
---- Files affected:
packages/dkim-milter:
dkim-milter.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/dkim-milter/dkim-milter.spec
diff -u packages/dkim-milter/dkim-milter.spec:1.1 packages/dkim-milter/dkim-milter.spec:1.2
--- packages/dkim-milter/dkim-milter.spec:1.1 Wed Sep 22 14:40:33 2010
+++ packages/dkim-milter/dkim-milter.spec Wed Sep 22 15:11:14 2010
@@ -1,5 +1,4 @@
# $Revision$, $Date$
-# TODO: Fix make system so PLD flags will be used
# TODO: Make it install
Summary: DomainKeys Identified Mail service provider
# Summary(pl.UTF-8): -
@@ -25,16 +24,31 @@
%prep
%setup -q
+cat > devtools/Site/site.config.m4 <<'EOF'
+define(`confMANROOT', `%{_mandir}/man')
+define(`confUBINDIR', `%{_sbindir}')
+define(`confCCOPTS', `%{optflags}')
+EOF
+
+
%build
#%%configure
-#%%{__make}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -p -m 644 -D dkim-filter/dkim-filter.conf.sample $RPM_BUILD_ROOT%{_sysconfdir}/mail/%{name}/dkim-filter.conf
+
+install -p -d $RPM_BUILD_ROOT%{_mandir}/man{3,5,8}
+install -p -d $RPM_BUILD_ROOT%{_sbindir}
+install -p -d $RPM_BUILD_ROOT%{_includedir}
+
+
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ {UBIN,MAN}OWN=$(whoami) {UBIN,MAN}GRP=$(id -ng) UBINMODE=755 MANMODE=644
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -51,6 +65,6 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.1 2010/09/22 12:40:33 matkor
-- Failed try to build it.
+Revision 1.2 2010/09/22 13:11:14 matkor
+- Stolen fixes from Fedora. NFY
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dkim-milter/dkim-milter.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list