%define majver %(echo %version | cut -d. -f1-3) %define minver %(echo %version | cut -d. -f4) Name: iscan Version: 2.25.0.1 Release: 1mamba Summary: 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://www.avasys.jp/lx-bin2/linux_e/scan/DL2.do/iscan_%{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 Requires: iscan-data %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. %prep %setup -q -n %{name}-%{majver} %build %configure \ --enable-frontend \ --enable-gimp \ --enable-jpeg \ --enable-tiff \ --enable-png %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall sane_confdir=%{_sysconfdir}/sane.d ./mkinstalldirs -m 0755 ${RPM_BUILD_ROOT}${sane_confdir} install -m 0644 backend/epkowa.conf ${RPM_BUILD_ROOT}${sane_confdir} %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/sane.d/epkowa.conf %{_bindir}/iscan %{_sbindir}/iscan-registry %{_libdir}/libesmod.so %{_libdir}/libesmod.so.* %exclude %{_libdir}/sane/libsane-epkowa.a %exclude %{_libdir}/sane/libsane-epkowa.la %exclude %{_libdir}/sane/libsane-epkowa.so %exclude %{_libdir}/sane/libsane-epkowa.so.* #%{_datadir}/iscan/* %{_mandir}/man1/iscan.1.gz %{_mandir}/man5/sane-epkowa.5.gz %doc AUTHORS COPYING NEWS README README.ja %changelog * Tue Jul 20 2010 Silvan Calarco 2.25.0.1-1mamba - update to 2.25.0.1 * Mon Jan 11 2010 Silvan Calarco 2.23.0.3-3mamba - exclude libsane-epkowa.so* because it conflicts with libsane.so.1 (soname) * Thu Jan 07 2010 Silvan Calarco 2.23.0.3-2mamba - added udev rules file * Wed Jan 06 2010 Silvan Calarco 3-1mamba - package created by autospec