You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
simple-scan/simple-scan.spec

86 lines
2.4 KiB

15 years ago
Name: simple-scan
15 years ago
Version: 2.31.3
Release: 1%{?dist}
15 years ago
Summary: Simple scanning utility
Group: Applications/Multimedia
License: GPLv3+
URL: https://launchpad.net/simple-scan
15 years ago
Source0: http://launchpad.net/simple-scan/trunk/%version/+download/simple-scan-%version.tar.bz2
15 years ago
15 years ago
BuildRequires: intltool GConf2-devel gtk2-devel autoconf automake
BuildRequires: libgudev-devel sane-backends-devel gnome-doc-utils
15 years ago
BuildRequires: dbus-glib-devel
15 years ago
Requires: gnome-icon-theme xdg-utils yelp
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
%description
Simple Scan is an easy-to-use application, designed to let users connect their
scanner and quickly have the image/document in an appropriate format.
%prep
15 years ago
%setup -q
15 years ago
%build
%configure --disable-schemas-install
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
15 years ago
%find_lang %{name} --with-man --with-gnome
15 years ago
%pre
if [ "$1" -gt 1 ] ; then
export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null || :
killall -HUP gconfd-2 || :
fi
%post
export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
killall -HUP gconfd-2 || :
%preun
if [ "$1" -eq 0 ] ; then
export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source)
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
killall -HUP gconfd-2 || :
fi
%clean
rm -rf $RPM_BUILD_ROOT
15 years ago
%files -f %{name}.lang
15 years ago
%defattr(-,root,root,-)
%doc AUTHORS README COPYING ChangeLog
15 years ago
%{_mandir}/man1/simple-scan.1.gz
%{_sysconfdir}/gconf/schemas/simple-scan.schemas
%{_bindir}/simple-scan
%{_datadir}/applications/simple-scan.desktop
%{_datadir}/simple-scan/
%changelog
15 years ago
* Mon Jun 7 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.3-1
- Update to 2.31.3
15 years ago
* Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.1-1
- Update to 2.31.1
* Mon Mar 17 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.9-1
- https://launchpad.net/simple-scan/trunk/0.9.9
15 years ago
* 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
* Fri Mar 05 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.5-1
- initial build