primaxscan/primaxscan.spec

56 lines
1.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: primaxscan
Version: 1.1.beta1
Release: 1mamba
Summary: Sane driver for primax scanners
Group: System/Spooling
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://px-backend.sourceforge.net/
Source: http://downloads.sourceforge.net/project/px-backend/primaxscan-source/%{version}.beta1/primaxscan-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libieee1284-devel
BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel
BuildRequires: liblzma-devel
BuildRequires: libtiff-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libsane-backends-devel
Requires: libsane-backends
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Sane driver for primax scanners.
%debug_package
%prep
%setup -q -n %{name}-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/primax_scan
%{_libdir}/sane/libsane-primax.a
%{_libdir}/sane/libsane-primax.la
%{_libdir}/sane/libsane-primax.so
%{_libdir}/sane/libsane-primax.so.*
%doc AUTHORS COPYING
%changelog
* Mon Aug 20 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- package created by autospec