annotate libpst.spec.in @ 24:f4643b609bdf stable-0-5-3 **INVALID**

switch to automake/autoconf
author carl
date Mon, 20 Feb 2006 15:14:54 -0800
parents c508ee15dfca
children b88ceb81dba2
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%{_datadir}/doc/@PACKAGE@-@VERSION@
24
f4643b609bdf switch to automake/autoconf
carl
parents: 16
diff changeset
48 mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
49
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
50
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
51 %pre
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
52
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
53 %post
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
54
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
55 %preun
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
56
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
57 %postun
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
58
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
59 %clean
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
60
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
61 %files
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
62 %defattr(-,root,root)
24
f4643b609bdf switch to automake/autoconf
carl
parents: 16
diff changeset
63 %{_bindir}/*
16
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
64 %doc %{_mandir}/*
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
65 %docdir %{_datadir}/doc/@PACKAGE@-@VERSION@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
66 %{_datadir}/doc/@PACKAGE@-@VERSION@
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
67
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
68
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
69 %changelog
c508ee15dfca switch to automake/autoconf
carl
parents:
diff changeset
70 * Sun Feb 19 2006 Carl Byington 1.0
24
f4643b609bdf switch to automake/autoconf
carl
parents: 16
diff changeset
71 - initial spec file using autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html
f4643b609bdf switch to automake/autoconf
carl
parents: 16
diff changeset
72