simple-scan-vl.spec 3.6 KB

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