source: projects/specs/trunk/s/simple-scan/simple-scan-vl.spec @ 3350

Revision 3350, 3.6 KB checked in by daisuke, 13 years ago (diff)

simple-scan: new package

Line 
1Summary:        Simple scanning utility
2Summary(ja):    シンプルなスキャナユーティリティ
3
4Name:           simple-scan
5Version:        2.32.0.1
6Release:        1%{?_dist_release}
7
8Group:          Applications/Multimedia
9License:        GPLv3+
10URL:            https://launchpad.net/simple-scan
11Source0:        http://launchpad.net/simple-scan/trunk/%{version}/+download/simple-scan-%{version}.tar.gz
12
13BuildRequires: intltool GConf2-devel gtk2-devel autoconf automake
14BuildRequires: libgudev-devel sane-devel gnome-doc-utils
15BuildRequires: dbus-glib-devel
16
17Requires: gnome-icon-theme xdg-utils yelp
18Requires(pre): GConf2
19Requires(post): GConf2
20Requires(preun): GConf2
21
22%description
23Simple Scan is an easy-to-use application, designed to let users connect their
24scanner and quickly have the image/document in an appropriate format.
25
26%description -l ja
27Simple Scan は、手持ちのスキャナを接続して、すぐに画像や文書をスキャンできるように
28するためのとても簡単なアプリケーションです。
29
30%prep
31%setup -q
32
33%build
34
35%configure --disable-schemas-install
36make %{?_smp_mflags}
37
38%install
39make install DESTDIR=$RPM_BUILD_ROOT
40%find_lang %{name} --with-man --with-gnome
41
42%pre
43if [ "$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
48fi
49
50%post
51if [ "$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
56fi
57
58%preun
59export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
60if [ -f "%{_sysconfdir}/gconf/schemas/%{name}.schemas" ]; then
61  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas >/dev/null
62fi
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
Note: See TracBrowser for help on using the repository browser.