Rahul Sundaram 15 years ago
parent bfe1145227
commit 5fcd4639f4

@ -1,6 +1,6 @@
Name: simple-scan
Version: 0.9.5
Release: 2%{?dist}
Version: 0.9.9
Release: 1%{?dist}
Summary: Simple scanning utility
Group: Applications/Multimedia
@ -8,13 +8,9 @@ License: GPLv3+
URL: https://launchpad.net/simple-scan
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: 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(pre): GConf2
Requires(post): GConf2
@ -26,17 +22,13 @@ scanner and quickly have the image/document in an appropriate format.
%prep
%setup -q
%patch0 -p1 -b .fix
%build
# dso patch
./autogen.sh
%configure --disable-schemas-install
make %{?_smp_mflags}
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name} --with-man --with-gnome
@ -67,7 +59,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS README TODO COPYING ChangeLog
%doc AUTHORS README COPYING ChangeLog
%{_mandir}/man1/simple-scan.1.gz
%{_sysconfdir}/gconf/schemas/simple-scan.schemas
%{_bindir}/simple-scan
@ -75,6 +67,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/simple-scan/
%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
- Organize and comment patch dependencies and link to upstream bug report
- add requires on yelp and add gconf schema scriptlets

Loading…
Cancel
Save