diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-16 13:51:41 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-16 13:51:41 +0100 |
commit | 37d9e876966aea3c5dd7e61326b7486aa2d593c5 (patch) | |
tree | 577707fbcd4ffa280c3e1644e4ce48f06de7defd /xsane.spec | |
parent | 81369a5ae42dd8686eeec40e420eca1d409700d3 (diff) |
Imported Upstream version 0.999upstream/0.999upstream
Diffstat (limited to 'xsane.spec')
-rw-r--r-- | xsane.spec | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/xsane.spec b/xsane.spec new file mode 100644 index 0000000..9fa9e07 --- /dev/null +++ b/xsane.spec @@ -0,0 +1,43 @@ +%define name xsane +%define version 0.999 +%define release 1 +%define prefix /usr + +Name: %{name} +Version: %{version} +Release: %{release} +Summary: XSane is a graphical frontend for scanners. It uses the library SANE. +Group: Graphics +URL: http://www.xsane.org +Buildroot: /var/tmp/%{name}-buildroot +Requires: sane-backends +Source: ftp://ftp.mostang.com/pub/sane/xsane/%{name}-%{version}.tar.gz +Copyright: GPL +BuildRequires: gtk+ >= 1.2.0 sane-backends-devel >= 1.0.2 + +%description +Xsane is a grahical frontend for sane. Install this if you want a grahpical +frontend for sane for use in the X Windowing System. + +%prep +%setup -q -n %{name}-%{version} + +%build +CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} +uname -a | grep -qi SMP && make -j 2 || make + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{prefix} +make prefix=%{buildroot}%{prefix} install +strip %{buildroot}%{prefix}/bin/* || : + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc xsane* +/usr/share/* +/usr/bin/xsane +/usr/man/man1/xsane.1* |