diff --git a/README.md b/README.md index 3b830a8..93588f7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # primaxscan +Sane driver for primax scanners. + diff --git a/primaxscan.spec b/primaxscan.spec new file mode 100644 index 0000000..cab8356 --- /dev/null +++ b/primaxscan.spec @@ -0,0 +1,55 @@ +Name: primaxscan +Version: 1.1.beta1 +Release: 1mamba +Summary: Sane driver for primax scanners +Group: System/Spooling +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 1.1-1mamba +- package created by autospec