source: projects/specs/trunk/s/sane-clients/sane-clients-vl.spec @ 1443

Revision 1443, 6.8 KB checked in by Takemikaduchi, 14 years ago (diff)

pidgin: rebuild only, others: new upstream release

Line 
1%define sane_ver %(/usr/bin/sane-config --version 2> /dev/null)
2%define gimpdirs %(/bin/ls -d %{_libdir}/gimp/*/plug-ins 2> /dev/null)
3
4Summary:        SANE (Scanner Access Now Easy) clients
5Summary(ja):SANE (Scanner Access Now Easy) クライアント
6Group:          Applications/Multimedia
7Name:           sane-clients
8Version:        1.0.14
9Release:        2%{?_dist_release}
10URL:            http://www.mostang.com/sane/
11Source:         ftp://ftp.mostang.com/pub/sane/sane-frontends-%{version}.tar.gz
12Patch0:         sane-frontends-1.0.14-array-out-of-bounds.patch
13Patch1:         sane-frontends-1.0.14-sane-backends-1.0.20.patch
14%{?nosrc:NoSource: 0}
15License:        GPL (programs), relaxed LGPL (libraries), and public domain (docs)
16
17BuildRequires: sane-devel = %{sane_ver}
18BuildRequires: gtk2-devel
19BuildRequires: gimp-devel
20Requires: sane = %{sane_ver}
21Buildroot: %{_tmppath}/%{name}-%{version}-root
22
23Vendor: Project Vine
24Distribution: Vine Linux
25
26
27%description
28The clients,'xscanimage' and 'xcam', those use the SANE modules.
29
30%description -l ja
31SANE モジュールを使うGUIクライアントxscanimageとxcamを収録しています。
32
33%prep
34%setup -q -n sane-frontends-%{version}
35%patch0 -p1 -b .array
36%patch1 -p1 -b .sane_backends
37
38%build
39%configure --datadir=%{_datadir}/sane
40make %{?_smp_mflags}
41
42%install
43rm -rf $RPM_BUILD_ROOT
44%makeinstall datadir=$RPM_BUILD_ROOT%{_datadir}
45
46if (echo "%{gimpdirs}" | grep -q plug-ins) ;then
47        for D in %{gimpdirs} ; do
48                mkdir -p $RPM_BUILD_ROOT${D}
49                %__ln_s -f %{_bindir}/xscanimage $RPM_BUILD_ROOT${D}/xscanimage
50        done
51fi
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56
57%files
58%defattr(-,root,root)
59%{_bindir}/*
60%config %{_datadir}/sane/sane-style.rc
61%{_mandir}/man1/*
62%doc README* AUTHORS COPYING Changelog INSTALL NEWS PROBLEMS
63%{_libdir}/gimp/*/plug-ins/*
64
65
66%changelog
67* Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.14-2
68- rebuild with sane-1.0.21
69- change BuildRequires (from gtk+ to gtk2-devel)
70- change BuildRequires (from gimp to gimp-devel)
71- add Patch0(sane-frontends-1.0.14-array-out-of-bounds.patch)
72- add Patch1(sane-frontends-1.0.14-sane-backends-1.0.20.patch)
73
74* Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.14-1vl5
75- applied new versioning policy, spec in utf-8
76
77* Mon Dec 24 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.14-0vl1
78- updated sane-frontends to 1.0.14
79- defined macro 'sane_ver' by sane-config
80- s/Copyright/License/
81
82* Fri Oct 25 2002 Tomoya TAKA <taka@vinelinux.org> 1.0.8-0vl1
83- new upstream release
84
85* Wed Apr 4 2002 Masaki Shinomiya <shino@pos.to>
86- 1.0.7-0vl1 for Vine Linux-2.x
87- 1.0.7-0.1
88- symlink for gimp listed in %file section
89- set %_sysconfdir to /etc for RedHat6.x/Vine2.x
90
91* Wed Mar 6 2002 Masaki SHINOMIYA <shino@pos.to>
92- 1.0.7-0
93
94* Sun Dec 23 2001 Masaki SHINOMIYA <shino@pos.to>
95- 1.0.6-0.2: %config sane-style.rc
96
97* Fri Dec 21 2001 Masaki SHINOMIYA <shino@pos.to>
98- 1.0.6-0.1
99- use macros as possible
100- %{_datadir}/sane/sane-style.rc
101
102* Wed Jul 4 2001 Masaki SHINOMIYA <shino@pos.to>
103- 1.0.5
104
105* Wed May 17 2001 Masaki SHINOMIYA <shino@pos.to>
106- 1.0.4
107- sane-clients seperated from sane package
108
109* Wed May 17 2001 Masaki SHINOMIYA <shino@pos.to>
110- 1.0.4 + epson backend ver.20010331
111- 'scanimage' is included in the binary'sane-1.0.4-1.i386.rpm'package.
112- refined script for gimp plug-in setup
113- html documents shall be installed in the directory '/usr/share/sane'
114- automatically make device the file /dev/usb/scanner0
115
116* Wed Nov 15 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
117- 1.0.3-0vl8
118- included missing "sane-config" script for sane
119
120* Tue Oct 17 2000 Jun Nishii <jun@vinelinux.org>
121- 1.0.3-0vl7
122- merge xscanimage patch
123
124* Mon Oct 16 2000 Jun Nishii <jun@vinelinux.org>
125- 1.0.3-0vl6
126- build with gimp-1.1.27
127
128* Sun Oct  1 2000 Jun Nishii <jun@vinelinux.org>
129- 1.0.3-0vl5
130- fixed group
131
132* Sat Sep 30 2000 Jun Nishii <jun@vinelinux.org>
133- 1.0.3-0vl4
134- added %defattr in clients
135
136* Tue Sep 26 2000 Jun Nishii <jun@vinelinux.org>
137- 1.0.3-0vl3
138- build with gimp-1.1.26
139
140* Mon Sep 25 2000 Jun Nishii <jun@vinelinux.org>
141- 1.0.3-0vl2
142- build with gimp-1.1.25
143
144* Thu Sep 21 2000 Jun Nishii <jun@vinelinux.org>
145- 1.0.3-0vl1
146
147* Thu Jun  8 2000 Jun Nishii <jun@vinelinux.org>
148- 1.0.2-0vl1
149
150* Mon Jan 17 2000 Jun Nishii <jun@vinelinux.org>
151- build for Vine Linux 2.0
152- added find-scanner, xerox
153
154* Fri Apr 23 1999 Hugo van der Kooij <hvdkooij@caiw.nl>
155- Fixed packaging a bit.
156
157* Wed Apr 21 1999 Hugo van der Kooij <hvdkooij@caiw.nl>
158- Updated package to 1.01
159
160* Fri Apr 09 1999 Hugo van der Kooij <hvdkooij@caiw.nl>
161- Split off the clients
162- Fixed a Alpha system anomaly by removing the specific backend.
163
164* Mon Nov 23 1998 Jonathan Miller <jlm@mvhi.com>
165 [1.00-1]
166- upgraded to 1.00 (and made description less space-consuming)
167- included the post 1.00 fixed "configure" script available 22 Nov 1998.
168
169* Sat Aug 08 1998 Arne Coucheron <arneco@online.no>
170  [0.74-3]
171- added /etc/sane.d to %dir in file list
172
173* Sat Aug 01 1998 Arne Coucheron <arneco@online.no>
174  [0.74-2]
175- devel Group: reverted back to Development/Libraries
176- some changes to the %defattr and %attr usage in file list
177
178* Tue Jul 28 1998 Binaire <binaire@binaire.ml.org>
179  [0.74-1]
180
181* Fri May 22 1998 Arne Coucheron <arneco@online.no>
182  [0.73-3]
183- added use of %%{name} and %%{version} macros
184- added a %postun for running ldconfig after uninstall
185- using BuildRoot properly now
186- using %defattr and %attr macros in filelist, allows non-root build
187  this means that RPM 2.5 is required to build this spec file now!
188- devel Group: changed to X11/Libraries
189- added using RPM_OPT_FLAGS during make
190- added striping of programs and libraries
191- added Requires: gtk+ >= 0.99.13 to main package
192- added Requires: %%{name} = %%{version} to devel package
193- added a %clean section for removing the buildroot dir
194- simplified the filelist and added %config for sane-style.rc
195- moved lib*.so to %files devel and dropped the *.la files
196- added -q parameter to %setup
197- removed some older changelog entries
198- removed the "fix ldconfig brokenness..." stuff
199- removed the Packager: line; use /etc/rpmrc if you want your name in
200- if GIMP is installed, make symlink from xscanimage to plug-ins dir
201- install the find-scanner program from the tools dir
202
203* Mon May 18 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
204- Version 0.73 was created: May 13 1998
205- gimp (original was build against 0.99.29)
206- gtk+ (original was build against 1.0.1)
207- dlh (original was build against 0.7d)
208- X11 development tree including xpm libraries.
209
210* Wed Apr 22 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
211- Binaries are now BuildRoot proof.
212
213* Wed Apr 22 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
214- Binaries are not BuildRoot proof. release 3 is done without BuildRoot!
215
216* Tue Apr 21 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
217- Temp. fix for some documentations problems with BuildRoot.
218
219* Sat Apr 11 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
220- Formal 0.72 now made as RPM! (Build against GTK+ 0.99.10 and GIMP 0.99.24)
221- Original package was released: Tue Apr 7 1998
Note: See TracBrowser for help on using the repository browser.