%define majver %(echo %version | cut -d. -f1-3) %define minver %(echo %version | cut -d. -f4) Name: iscan-data Version: 1.15.0.2 Release: 1mamba Summary: Data package for iscan, a graphical scanner utility that supports SEIKO EPSON devices Group: System/Spooling Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.avasys.jp/lx-bin2/linux_e/scan/DL2.do Source: http://a1227.g.akamai.net/f/1227/40484/1d/download.ebz.epson.net/dsc/f/01/00/01/71/68/07e97977e5ec78666eb00e35b208f75bafe591f4/iscan-data_%{majver}-%{minver}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libexif6-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libglib-devel BuildRequires: libgphoto-devel BuildRequires: libgtk-devel BuildRequires: libieee1284-devel BuildRequires: libjpeg-devel BuildRequires: libltdl-devel BuildRequires: libpango-devel BuildRequires: libresmgr-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libusb0-devel BuildRequires: libv4l-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Image Scan! is a graphical scanner utility for people that do not need all the bells and whistles provided by several of the other utilities out there (xsane, QuiteInsane, Kooka). At the moment it only supports SEIKO EPSON devices. However, the device driver it provides can be used by any other SANE standard compliant scanner utility. Note that several scanners require a non-free plugin before they can be used with this software. Using a scanner directly through a network interface also requires a non-free plugin. This is the data package for iscan. %prep %setup -q -n %{name}-%{majver} %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall sh policy/make-policy-file --force --quiet --mode udev \ %{version} --desc-file=./epkowa.desc \ -o %{buildroot}%{_sysconfdir}/udev/rules.d/55-iscan.rules %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_sysconfdir}/udev/rules.d/55-iscan.rules %{_libdir}/iscan-data/make-policy-file %dir %{_datadir}/iscan-data %{_datadir}/iscan-data/* %doc COPYING NEWS SUPPORTED-DEVICES KNOWN-PROBLEMS %changelog * Sat Apr 30 2012 Ercole 'ercolinux' Carpanetto 1.15.0.2-1mamba - update to 1.15.0.2 * Tue Jul 20 2010 Silvan Calarco 1.0.1.1-1mamba - package created by autospec