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

Revision 9345, 6.9 KB checked in by Takemikaduchi, 9 years ago (diff)

rebuild with ligphoto2-2.5.7

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:        4%{?_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
18BuildRequires: gtk2-devel
19BuildRequires: gimp-devel
20Requires: sane
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* Mon Feb 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.14-4
68- rebuild with libgphoto2-2.5.7
69
70* Fri Jan 11 2013 IWAI, Masaharu <iwai@alib.jp> 1.0.14-3
71- build with libgphoto2 2.5.0-1
72
73* Sun Jul 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.14-2
74- rebuild with sane-1.0.21
75- change BuildRequires (from gtk+ to gtk2-devel)
76- change BuildRequires (from gimp to gimp-devel)
77- add Patch0(sane-frontends-1.0.14-array-out-of-bounds.patch)
78- add Patch1(sane-frontends-1.0.14-sane-backends-1.0.20.patch)
79
80* Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.14-1vl5
81- applied new versioning policy, spec in utf-8
82
83* Mon Dec 24 2007 Shu KONNO <owa@bg.wakwak.com> 1.0.14-0vl1
84- updated sane-frontends to 1.0.14
85- defined macro 'sane_ver' by sane-config
86- s/Copyright/License/
87
88* Fri Oct 25 2002 Tomoya TAKA <taka@vinelinux.org> 1.0.8-0vl1
89- new upstream release
90
91* Thu Apr 4 2002 Masaki Shinomiya <shino@pos.to>
92- 1.0.7-0vl1 for Vine Linux-2.x
93- 1.0.7-0.1
94- symlink for gimp listed in %file section
95- set %_sysconfdir to /etc for RedHat6.x/Vine2.x
96
97* Wed Mar 6 2002 Masaki SHINOMIYA <shino@pos.to>
98- 1.0.7-0
99
100* Sun Dec 23 2001 Masaki SHINOMIYA <shino@pos.to>
101- 1.0.6-0.2: %config sane-style.rc
102
103* Fri Dec 21 2001 Masaki SHINOMIYA <shino@pos.to>
104- 1.0.6-0.1
105- use macros as possible
106- %{_datadir}/sane/sane-style.rc
107
108* Wed Jul 4 2001 Masaki SHINOMIYA <shino@pos.to>
109- 1.0.5
110
111* Thu May 17 2001 Masaki SHINOMIYA <shino@pos.to>
112- 1.0.4
113- sane-clients seperated from sane package
114
115* Thu May 17 2001 Masaki SHINOMIYA <shino@pos.to>
116- 1.0.4 + epson backend ver.20010331
117- 'scanimage' is included in the binary'sane-1.0.4-1.i386.rpm'package.
118- refined script for gimp plug-in setup
119- html documents shall be installed in the directory '/usr/share/sane'
120- automatically make device the file /dev/usb/scanner0
121
122* Wed Nov 15 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
123- 1.0.3-0vl8
124- included missing "sane-config" script for sane
125
126* Tue Oct 17 2000 Jun Nishii <jun@vinelinux.org>
127- 1.0.3-0vl7
128- merge xscanimage patch
129
130* Mon Oct 16 2000 Jun Nishii <jun@vinelinux.org>
131- 1.0.3-0vl6
132- build with gimp-1.1.27
133
134* Sun Oct  1 2000 Jun Nishii <jun@vinelinux.org>
135- 1.0.3-0vl5
136- fixed group
137
138* Sat Sep 30 2000 Jun Nishii <jun@vinelinux.org>
139- 1.0.3-0vl4
140- added %defattr in clients
141
142* Tue Sep 26 2000 Jun Nishii <jun@vinelinux.org>
143- 1.0.3-0vl3
144- build with gimp-1.1.26
145
146* Mon Sep 25 2000 Jun Nishii <jun@vinelinux.org>
147- 1.0.3-0vl2
148- build with gimp-1.1.25
149
150* Thu Sep 21 2000 Jun Nishii <jun@vinelinux.org>
151- 1.0.3-0vl1
152
153* Thu Jun  8 2000 Jun Nishii <jun@vinelinux.org>
154- 1.0.2-0vl1
155
156* Mon Jan 17 2000 Jun Nishii <jun@vinelinux.org>
157- build for Vine Linux 2.0
158- added find-scanner, xerox
159
160* Fri Apr 23 1999 Hugo van der Kooij <hvdkooij@caiw.nl>
161- Fixed packaging a bit.
162
163* Wed Apr 21 1999 Hugo van der Kooij <hvdkooij@caiw.nl>
164- Updated package to 1.01
165
166* Fri Apr 09 1999 Hugo van der Kooij <hvdkooij@caiw.nl>
167- Split off the clients
168- Fixed a Alpha system anomaly by removing the specific backend.
169
170* Mon Nov 23 1998 Jonathan Miller <jlm@mvhi.com>
171 [1.00-1]
172- upgraded to 1.00 (and made description less space-consuming)
173- included the post 1.00 fixed "configure" script available 22 Nov 1998.
174
175* Sat Aug 08 1998 Arne Coucheron <arneco@online.no>
176  [0.74-3]
177- added /etc/sane.d to %dir in file list
178
179* Sat Aug 01 1998 Arne Coucheron <arneco@online.no>
180  [0.74-2]
181- devel Group: reverted back to Development/Libraries
182- some changes to the %defattr and %attr usage in file list
183
184* Tue Jul 28 1998 Binaire <binaire@binaire.ml.org>
185  [0.74-1]
186
187* Fri May 22 1998 Arne Coucheron <arneco@online.no>
188  [0.73-3]
189- added use of %%{name} and %%{version} macros
190- added a %postun for running ldconfig after uninstall
191- using BuildRoot properly now
192- using %defattr and %attr macros in filelist, allows non-root build
193  this means that RPM 2.5 is required to build this spec file now!
194- devel Group: changed to X11/Libraries
195- added using RPM_OPT_FLAGS during make
196- added striping of programs and libraries
197- added Requires: gtk+ >= 0.99.13 to main package
198- added Requires: %%{name} = %%{version} to devel package
199- added a %clean section for removing the buildroot dir
200- simplified the filelist and added %config for sane-style.rc
201- moved lib*.so to %files devel and dropped the *.la files
202- added -q parameter to %setup
203- removed some older changelog entries
204- removed the "fix ldconfig brokenness..." stuff
205- removed the Packager: line; use /etc/rpmrc if you want your name in
206- if GIMP is installed, make symlink from xscanimage to plug-ins dir
207- install the find-scanner program from the tools dir
208
209* Mon May 18 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
210- Version 0.73 was created: May 13 1998
211- gimp (original was build against 0.99.29)
212- gtk+ (original was build against 1.0.1)
213- dlh (original was build against 0.7d)
214- X11 development tree including xpm libraries.
215
216* Wed Apr 22 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
217- Binaries are now BuildRoot proof.
218
219* Wed Apr 22 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
220- Binaries are not BuildRoot proof. release 3 is done without BuildRoot!
221
222* Tue Apr 21 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
223- Temp. fix for some documentations problems with BuildRoot.
224
225* Sat Apr 11 1998 Hugo van der Kooij <hvdkooij@caiw.nl>
226- Formal 0.72 now made as RPM! (Build against GTK+ 0.99.10 and GIMP 0.99.24)
227- Original package was released: Tue Apr 7 1998
Note: See TracBrowser for help on using the repository browser.