|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: simple-scan
|
|
|
|
Name: simple-scan
|
|
|
|
Version: 0.9.5
|
|
|
|
Version: 0.9.9
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Simple scanning utility
|
|
|
|
Summary: Simple scanning utility
|
|
|
|
|
|
|
|
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
Group: Applications/Multimedia
|
|
|
@ -8,13 +8,9 @@ License: GPLv3+
|
|
|
|
URL: https://launchpad.net/simple-scan
|
|
|
|
URL: https://launchpad.net/simple-scan
|
|
|
|
Source0: http://launchpad.net/simple-scan/trunk/%version/+download/simple-scan-%version.tar.gz
|
|
|
|
Source0: http://launchpad.net/simple-scan/trunk/%version/+download/simple-scan-%version.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream report at https://bugs.launchpad.net/simple-scan/+bug/534196
|
|
|
|
|
|
|
|
Patch0: simple-scan-dso.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: intltool GConf2-devel gtk2-devel autoconf automake
|
|
|
|
BuildRequires: intltool GConf2-devel gtk2-devel autoconf automake
|
|
|
|
BuildRequires: libgudev-devel sane-backends-devel gnome-doc-utils
|
|
|
|
BuildRequires: libgudev-devel sane-backends-devel gnome-doc-utils
|
|
|
|
# dso patch related dependencies
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake gnome-common
|
|
|
|
|
|
|
|
Requires: gnome-icon-theme xdg-utils yelp
|
|
|
|
Requires: gnome-icon-theme xdg-utils yelp
|
|
|
|
Requires(pre): GConf2
|
|
|
|
Requires(pre): GConf2
|
|
|
|
Requires(post): GConf2
|
|
|
|
Requires(post): GConf2
|
|
|
@ -26,17 +22,13 @@ scanner and quickly have the image/document in an appropriate format.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .fix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
# dso patch
|
|
|
|
|
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
%configure --disable-schemas-install
|
|
|
|
%configure --disable-schemas-install
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%find_lang %{name} --with-man --with-gnome
|
|
|
|
%find_lang %{name} --with-man --with-gnome
|
|
|
|
|
|
|
|
|
|
|
@ -67,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS README TODO COPYING ChangeLog
|
|
|
|
%doc AUTHORS README COPYING ChangeLog
|
|
|
|
%{_mandir}/man1/simple-scan.1.gz
|
|
|
|
%{_mandir}/man1/simple-scan.1.gz
|
|
|
|
%{_sysconfdir}/gconf/schemas/simple-scan.schemas
|
|
|
|
%{_sysconfdir}/gconf/schemas/simple-scan.schemas
|
|
|
|
%{_bindir}/simple-scan
|
|
|
|
%{_bindir}/simple-scan
|
|
|
@ -75,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_datadir}/simple-scan/
|
|
|
|
%{_datadir}/simple-scan/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Mar 17 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.9-1
|
|
|
|
|
|
|
|
- https://launchpad.net/simple-scan/trunk/0.9.9
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 08 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.5-2
|
|
|
|
* Mon Mar 08 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.5-2
|
|
|
|
- Organize and comment patch dependencies and link to upstream bug report
|
|
|
|
- Organize and comment patch dependencies and link to upstream bug report
|
|
|
|
- add requires on yelp and add gconf schema scriptlets
|
|
|
|
- add requires on yelp and add gconf schema scriptlets
|
|
|
|