annotate libpst.spec.in @ 23:f86fa9e378a2

switch to automake/autoconf
author carl
date Sun, 19 Feb 2006 21:50:40 -0800
parents c508ee15dfca
children f4643b609bdf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
1 %define localstatedir /var/lib
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
2
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
3 Summary: @PACKAGE@ Libpst utilities
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
4 Name: @PACKAGE@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
5 Version: @VERSION@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
6 Release: %{?custom_release}%{!?custom_release:1}
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
7 Copyright: GPL
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
8 Group: System Environment/Daemons
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
9 Source: http://www.five-ten-sg.com/@PACKAGE@/packages/@PACKAGE@-@VERSION@.tar.gz
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
10 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
11 URL: http://www.five-ten-sg.com/@PACKAGE@/
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
12 Vendor: Libpst team
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
13 Packager: 510 Software Group
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
14 AutoReqProv: no
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
15
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
16 %description
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
17 The Libpst utilities include readpst which can extract mail messages from an Outlook .pst file, and pst2ldif which can convert the contacts to .ldif format for import into ldap databases.
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
18
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
19
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
20 %prep
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
21
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
22
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
23 %setup
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
24
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
25
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
26 %build
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
27 ./configure --prefix=%{_prefix} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
28 --bindir=%{_bindir} --mandir=%{_mandir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
29 --localstatedir=%{localstatedir} --libdir=%{_libdir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
30 --datadir=%{_datadir} --includedir=%{_includedir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
31 --sysconfdir=%{_sysconfdir}
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
32 make
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
33
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
34
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
35 %install
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
36 if [ "$RPM_BUILD_ROOT" = "/" -o -z "$RPM_BUILD_ROOT" ] ; then
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
37 echo sorry, you probably do not want me to delete the old buildroot at $RPM_BUILD_ROOT
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
38 exit 1
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
39 fi
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
40 rm -rf $RPM_BUILD_ROOT
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
41 make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
42 mandir=$RPM_BUILD_ROOT%{_mandir} libdir=$RPM_BUILD_ROOT%{_libdir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
43 localstatedir=$RPM_BUILD_ROOT%{localstatedir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
44 datadir=$RPM_BUILD_ROOT%{_datadir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
45 includedir=$RPM_BUILD_ROOT%{_includedir} \
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
46 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
47 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
48 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
49 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/dnsbl/dnsbl $RPM_BUILD_ROOT/etc/rc.d/init.d
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
50 mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
51 mkdir -p %{buildroot}/var/run/@PACKAGE@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
52
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
53
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
54 %pre
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
55
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
56 %post
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
57
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
58 %preun
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
59
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
60 %postun
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
61
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
62 %clean
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
63
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
64 %files
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
65 %defattr(-,root,root)
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
66 %{_sbindir}/*
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
67 %doc %{_mandir}/*
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
68 %docdir %{_datadir}/doc/@PACKAGE@-@VERSION@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
69 %{_datadir}/doc/@PACKAGE@-@VERSION@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
70 %config(noreplace) %{_sysconfdir}/@PACKAGE@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
71 %config(noreplace) %{_sysconfdir}/@PACKAGE@/*.conf
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
72 /etc/rc.d/init.d/@PACKAGE@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
73 %dir %attr(0750,@PACKAGE@,root) /var/run/@PACKAGE@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
74
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
75
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
76 %changelog
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
77 * Sun Feb 19 2006 Carl Byington 1.0