[3350] | 1 | Summary: Simple scanning utility |
---|
| 2 | Summary(ja): シンプルなスキャナユーティリティ |
---|
| 3 | |
---|
| 4 | Name: simple-scan |
---|
| 5 | Version: 2.32.0.1 |
---|
| 6 | Release: 1%{?_dist_release} |
---|
| 7 | |
---|
| 8 | Group: Applications/Multimedia |
---|
| 9 | License: GPLv3+ |
---|
| 10 | URL: https://launchpad.net/simple-scan |
---|
| 11 | Source0: http://launchpad.net/simple-scan/trunk/%{version}/+download/simple-scan-%{version}.tar.gz |
---|
| 12 | |
---|
| 13 | BuildRequires: intltool GConf2-devel gtk2-devel autoconf automake |
---|
| 14 | BuildRequires: libgudev-devel sane-devel gnome-doc-utils |
---|
| 15 | BuildRequires: dbus-glib-devel |
---|
| 16 | |
---|
| 17 | Requires: gnome-icon-theme xdg-utils yelp |
---|
| 18 | Requires(pre): GConf2 |
---|
| 19 | Requires(post): GConf2 |
---|
| 20 | Requires(preun): GConf2 |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | Simple Scan is an easy-to-use application, designed to let users connect their |
---|
| 24 | scanner and quickly have the image/document in an appropriate format. |
---|
| 25 | |
---|
| 26 | %description -l ja |
---|
| 27 | Simple Scan は、手持ちのスキャナを接続して、すぐに画像や文書をスキャンできるように |
---|
| 28 | するためのとても簡単なアプリケーションです。 |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | |
---|
| 35 | %configure --disable-schemas-install |
---|
| 36 | make %{?_smp_mflags} |
---|
| 37 | |
---|
| 38 | %install |
---|
| 39 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 40 | %find_lang %{name} --with-man --with-gnome |
---|
| 41 | |
---|
| 42 | %pre |
---|
| 43 | if [ "$1" -gt 1 ]; then |
---|
| 44 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 45 | if [ -f "%{_sysconfdir}/gconf/schemas/%{name}.schemas" ]; then |
---|
| 46 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null |
---|
| 47 | fi |
---|
| 48 | fi |
---|
| 49 | |
---|
| 50 | %post |
---|
| 51 | if [ "$1" -eq 0 ]; then |
---|
| 52 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 53 | if [ -f "%{_sysconfdir}/gconf/schemas/%{name}.schemas" ]; then |
---|
| 54 | gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null |
---|
| 55 | fi |
---|
| 56 | fi |
---|
| 57 | |
---|
| 58 | %preun |
---|
| 59 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 60 | if [ -f "%{_sysconfdir}/gconf/schemas/%{name}.schemas" ]; then |
---|
| 61 | gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null |
---|
| 62 | fi |
---|
| 63 | |
---|
| 64 | %files -f %{name}.lang |
---|
| 65 | %defattr(-,root,root,-) |
---|
| 66 | %doc AUTHORS README COPYING ChangeLog |
---|
| 67 | %{_mandir}/man1/simple-scan.1.gz |
---|
| 68 | %{_sysconfdir}/gconf/schemas/simple-scan.schemas |
---|
| 69 | %{_bindir}/simple-scan |
---|
| 70 | %{_datadir}/applications/simple-scan.desktop |
---|
| 71 | %{_datadir}/simple-scan/ |
---|
| 72 | |
---|
| 73 | %changelog |
---|
| 74 | * Fri Apr 08 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 2.32.0.1-1 |
---|
| 75 | - initial build for Vine Linux |
---|
| 76 | |
---|
| 77 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.32.0.1-2 |
---|
| 78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 79 | |
---|
| 80 | * Thu Nov 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0.1-1 |
---|
| 81 | - Update to 2.32.0.1 |
---|
| 82 | |
---|
| 83 | * Tue Aug 31 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.91-1 |
---|
| 84 | - Update to 2.31.91 |
---|
| 85 | |
---|
| 86 | * Tue Aug 17 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.90.2-1 |
---|
| 87 | - Update to 2.31.90.2 |
---|
| 88 | |
---|
| 89 | * Mon Aug 16 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.90.1-1 |
---|
| 90 | - Update to 2.31.90.1 |
---|
| 91 | - Use GConf macros |
---|
| 92 | |
---|
| 93 | * Tue Jul 13 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.5-1 |
---|
| 94 | - Update to 2.31.5 |
---|
| 95 | |
---|
| 96 | * Wed Jun 30 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.4-1 |
---|
| 97 | - Update to 2.31.4 |
---|
| 98 | |
---|
| 99 | * Mon Jun 7 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.3-1 |
---|
| 100 | - Update to 2.31.3 |
---|
| 101 | |
---|
| 102 | * Thu May 27 2010 Matthias Clasen <mclasen@redhat.com> - 2.31.1-1 |
---|
| 103 | - Update to 2.31.1 |
---|
| 104 | |
---|
| 105 | * Mon Mar 17 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.9-1 |
---|
| 106 | - https://launchpad.net/simple-scan/trunk/0.9.9 |
---|
| 107 | |
---|
| 108 | * Mon Mar 08 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.5-2 |
---|
| 109 | - Organize and comment patch dependencies and link to upstream bug report |
---|
| 110 | - add requires on yelp and add gconf schema scriptlets |
---|
| 111 | |
---|
| 112 | * Fri Mar 05 2010 Rahul Sundaram <sundaram@fedoraproject.org> - 0.9.5-1 |
---|
| 113 | - initial build |
---|