File pst2mbox.spec of Package pst2mbox
# norootforbuild
Name: pst2mbox
Version: 0.5.3
Release: 0
Summary: Converts PST into mbox
Source: https://alioth.debian.org/frs/download.php/2492/libpst-%{version}.tar.gz
URL: http://alioth.debian.org/projects/libpst/
Group: Productivity/Networking/Email/Utilities
License: GNU General Public License version 2 (GPL v2)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
BuildRequires: gcc make glibc-devel
Provides: libpst = %{version}-%{release}
%description
Converts Outlook PST mailbox files into the standard mbox format.
Authors:
--------
Dave Smith <dave.s@earthcorp.com>
%prep
%setup -q -n "libpst-%{version}"
%build
CFLAGS="%{optflags} -g" \
%__make %{?jobs:-j%{jobs}} \
PREFIX="%{_prefix}" \
CC="%__cc"
%install
%makeinstall \
PREFIX="%{_prefix}" \
INSTALL_DIR="%__install -d -m0755" \
INSTALL_FILE="%__install -m0644" \
INSTALL_PROGRAM="%__install -m0755" \
INSTALL_SCRIPT="%__install -m0755"
%__rm -rf "%{buildroot}%{_datadir}/doc"
%clean
%__rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%doc AUTHORS CREDITS FILE-FORMAT* ChangeLog TODO
%{_bindir}/readpst
%{_bindir}/readpstlog
%doc %{_mandir}/man1/readpst.1*
%doc %{_mandir}/man1/readpstlog.1*
%changelog
* Fri May 1 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.5.3
- update to 0.5.3
* Mon Aug 4 2008 Pascal Bleser <guru@unixtech.be> 0.3.4
- new package
# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End: