File readboxes.spec of Package readboxes
Summary: Creates SMS-diaries in PDF from Nokia's SMS data files
Name: readboxes
Version: 0.1.4
Release: 1
License: GPL
Packager: Marko Käning <mk-novell@techno.ms>
Group: Hardware/Mobile
Vendor: Marko Käning <mk-novell@techno.ms>
Buildroot: %{_tmppath}/%{name}-%{version}-build
Source: %{name}-%{version}.tar.bz2
Provides: readboxes
Requires: libharu >= 2.0.8
BuildRequires: libharu-devel >= 2.0.8
%description
This tool allows the access to SMS data files which were downloaded from a Nokia mobile using Nokia's PC Suite.
It creates a SMS-diary for a specific partner in PDF-Format.
Tested with Nokia 6233.
%prep
%setup -q
%build
make
%install
gzip readboxes.1
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
install -m775 readboxes $RPM_BUILD_ROOT%{_bindir}/readboxes
install -m775 readboxes.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/readboxes.1.gz
%post
#echo "RPM readboxes installed."
%postun
#echo "RPM readboxes uninstalled."
%files
%defattr(-,root,root)
%{_bindir}/readboxes
%{_mandir}/man1/readboxes.1.gz
%clean
rm -rf %buildroot
#%changelog
#* Sun Jan 06 2008 Marko Käning <mk-novell@techno.ms>
#- Here could be a long list of ChangeLog entries from svn...
#- But I will skip it! ;)