Sophie

Sophie

distrib > Mandriva > 9.2 > i586 > by-pkgid > 20262924f772126af74c013dcf58406a > files > 2

qprint-1.0-3mdk.src.rpm

%define name	qprint
%define version	1.0
%define release 3mdk

Summary:	Encode and decode quoted printable data
Name:           %{name}
Version:        %{version}
Release:        %{release}
License:        Public Domain
Group:		Networking/Mail
URL:		http://www.fourmilab.ch/webtools/qprint/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-buildroot

%description
qprint is a command line utility which encodes and decodes
files in this format. It can be used within a pipeline as
an encoding or decoding filter, and is most commonly used
in this manner as part of an automated mail processing
system. With appropriate options, qprint can encode pure
binary files, but it's a poor choice since it may inflate
the size of the file by as much as a factor of three. The
base64 MIME encoding is a better choice for such data. 

%prep
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%setup -q

%build
%serverbuild
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_mandir}/man1
install -m755 qprint %{buildroot}%{_bindir}/
install -m755 qprint.1 %{buildroot}%{_mandir}/man1/

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README index.html logo.gif qprint.pdf rfc1521.*
%{_bindir}/qprint
%{_mandir}/man1/qprint.1*

%changelog
* Thu Jan 16 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.0-3mdk
- build release

* Wed Jun 12 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.0-2mdk
- fix Requires (to null)

* Wed Jun 12 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 1.0-1mdk
- initial cooker contrib