File qprint.spec of Package qprint
#
# spec file for package qprint (Version 1.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: qprint
License: SUSE-Public-Domain
Group: Productivity/Security
AutoReqProv: on
Summary: qprint
Version: 1.0
Release: 1
Source: http://ftp.debian.org/debian/pool/main/q/qprint/qprint_%{version}.dfsg.2.orig.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
QPRINT is a simple command-line filter which encodes and decodes
files in Quoted-Printable encoding as defined in RFC 1521. For
details on operation of the program, please consult the manual
page "qprint.1".
%prep
%setup -q -n qprint-%{version}.dfsg.2
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/ --mandir=%_mandir/
make
%install
mkdir -p %{buildroot}/usr/bin
mkdir -p %{buildroot}%_mandir/man1
make install DESTDIR=%{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%_bindir/qprint
%_mandir/man1/qprint.1.gz
%changelog