source: projects/specs/trunk/i/imlib/imlib-vl.spec @ 8846

Revision 8846, 7.0 KB checked in by Takemikaduchi, 10 years ago (diff)

jack-audio-connection-kit, libfontenv, m17n-{db,lib}: new upstream release
others: rebuild

Line 
1# Note that this is NOT a relocatable package
2%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
3
4Summary: Image loading and rendering library for X11R6
5Summary(ja): 画像の読み込み/レンダリング用のライブラリ
6Name: imlib
7Version: 1.9.15
8Release: 3%{?_dist_release}
9License: LGPL
10Group: System Environment/Libraries
11Source0: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{version}.tar.bz2
12Patch0: imlib-1.9.14-suse-alt-bound.patch
13Patch1: imlib-1.9.13-sec2.patch
14Patch2: imlib-1.9.14-configure-x86_64.patch
15Patch3: imlib-1.9.15-libpng15.patch
16Obsoletes: Imlib
17
18BuildRoot: %{_tmppath}/%{name}-%{version}-root
19BuildRequires: libpng-devel >= 2:1.2.5
20BuildRequires: gtk+-devel >= 1.2.1
21BuildRequires: libtiff-devel
22BuildRequires: libjpeg-devel
23BuildRequires: libungif-devel
24BuildRequires: libSM-devel
25BuildRequires: libXt-devel
26Requires: libpng
27Requires: libtiff
28Requires: libjpeg
29Requires: zlib
30Requires: netpbm-progs
31Requires: libungif
32
33%description
34Imlib is an advanced replacement library for libraries like libXpm that
35provides many more features with much greater flexability and
36speed.
37
38%package -n compat32-%{name}
39Summary: Image loading and rendering library for X11R6
40Summary(ja): 画像の読み込み/レンダリング用のライブラリ
41Group: System Environment/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description -n compat32-%{name}
45Imlib is an advanced replacement library for libraries like libXpm that
46provides many more features with much greater flexability and
47speed.
48
49%package devel
50Summary: Imlib headers, static libraries and documentation
51Summary(ja): Imlib のヘッダファイルおよび静的ライブラリ、ドキュメント
52Group: Development/Libraries
53Requires: %{name} = %{version}-%{release}
54Requires: libungif-devel libjpeg-devel
55Requires: libtiff-devel libpng-devel zlib-devel
56Obsoletes: Imlib
57
58%description devel
59Headers, static libraries and documentation for Imlib.
60
61%package cfgeditor
62Summary: Imlib configuration editor
63Summary(ja): Imlib 設定エディタ
64Group: User Interface/Desktops
65Requires: %{name} = %{version}
66#Requires: gtk+ >= 1.2.1
67
68%description cfgeditor
69The imlib_config program allows you to control the way imlib uses
70color and handles gamma correction/etc.
71
72%prep
73%setup -q
74#patch0 -p1 -b .bmp-buffer-overflow
75%patch1 -p1 -b .can-2004-1025_1026
76%patch2 -p1 -b .x86_64
77%patch3 -p0 -b .libpng
78
79%build
80%define __libtoolize /bin/true
81%configure --disable-static
82if [ "$SMP" != "" ]; then
83  (make "MAKE=make -k -j $SMP"; exit 0)
84  make
85else
86  make
87fi
88
89%install
90[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
91
92make install DESTDIR=$RPM_BUILD_ROOT
93
94rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
95
96##%find_lang %{name}
97
98%post -p /sbin/ldconfig
99
100%postun -p /sbin/ldconfig
101
102%post -n compat32-%{name} -p /sbin/ldconfig
103
104%postun -n compat32-%{name} -p /sbin/ldconfig
105
106%clean
107[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
108
109##%files -f %{name}.lang
110%files
111%defattr(-,root,root)
112%doc README AUTHORS ChangeLog NEWS
113%config %{_sysconfdir}/*
114%{_libdir}/lib*.so.*
115%{_libdir}/libimlib-*.so
116
117%files cfgeditor
118%defattr(-,root,root)
119%{_bindir}/imlib_config
120%{_mandir}/man1/imlib_config*
121
122%files devel
123%defattr(-,root,root)
124%doc doc/*.gif doc/*.html
125%{_bindir}/imlib-config
126%{_libdir}/libImlib.so
127%{_libdir}/libgdk_imlib.so
128%{_libdir}/pkgconfig/*
129%{_includedir}/*
130%{_datadir}/aclocal/*
131%{_mandir}/man1/imlib-config*
132
133%if %{build_compat32}
134%files -n compat32-%{name}
135%defattr(-,root,root)
136%{_libdir}/lib*.so.*
137%{_libdir}/libimlib-*.so
138%endif
139
140%changelog
141* Fri Jul 18 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.15-4
142- add BuildRequires: libSM-devel, libXt-devel
143- add Patch3 (imlib-1.9.15-libpng15.patch) from fedora
144
145* Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.9.15-3
146- rebuilt with rpm-4.8.1 for pkg-config
147
148* Mon Sep 29 2008 Shu KONNO <owa@bg.wakwak.com> 1.9.15-2
149- spec in utf-8
150
151* Tue Jul 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.15-1
152- updated to 1.9.15 (dropped Patch0)
153- applied to new versioning policy
154
155* Wed May 24 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.9.14-0vl10
156- added compat32-imlib package for x86_64 architecture support
157
158* Fri Feb 17 2006 Shu KONNO <owa@bg.wakwak.com> 1.9.14-0vl9
159- added imlib-1.9.14-configure-x86_64.patch
160- disable %%find_lang macro
161- rebuilt for x86_64 architecture
162
163* Sat May 21 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.14-0vl8
164- added Requires: lib*-devel to devel package
165- added %{_libdir}/pkgconfig/*.pc files to devel package
166- removed gtk+ dependancy on main package
167
168* Wed Feb 09 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.9.14-0vl7
169- rebuild for VineSeed
170
171* Mon Jan 31 2005 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.9.14-0vl6.1
172- Added a security patch for CAN-2004-1025 and CAN-2004-1026.
173- Patch1: imlib-1.9.13-sec2.patch
174  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=138516
175
176* Fri Sep 17 2004 NISHIMURA Daisuke <nishi@graco.c.u-tokyo.ac.jp> 1.9.14-0vl6
177- Updated Patch0: http://bugzilla.gnome.org/show_bug.cgi?id=151034#c8
178
179* Wed Sep  1 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp>  1.9.14-0vl5
180- Added a security patch for buffer overflow in bmp handling (Patch0).
181
182* Wed Jul 07 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.9.14-0vl4
183- rebuild
184
185* Sat Apr 12 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.9.14-0vl2
186- rebuild with libpng12-devel
187- add BuildPrereq
188
189* Sat Mar 30 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.9.14-0vl1
190- updated to new upstream release
191- Patch0 removed (merged into upstream source)
192
193* Sat Jul 14 2001 <sagami@vinelinux.org>
194- 1.9.10-0vl2: fix to build against new libtool
195
196* Tue May  8 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.9.10-0vl1
197- New upstream release.
198
199* Wed Mar  7 2001 Akira TAGOH <tagoh@gnome.gr.jp> 1.9.9-0vl1
200- New upstream release.
201- use rpmmacros.
202
203* Mon Feb 19 2001 Jun Nishii <jun@vinelinux.org>
204- 1.9.8.1-2vl2
205- requires netpbm-progs instead of libgr-progs
206
207* Sun Jul 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
208- change to use libtoolize
209
210* Fri Jan  7 2000 Jun Nishii <jun@vinelinux.org>
211- change group
212- added Japanese summary
213
214* Wed Jan 5 2000 Yasuyuki Furukawa <yasu@on.cs.keio.ac.jp>
215- added setlocale patch
216
217* Mon Jan 11 1999 Carsten Haitzler <raster@redhat.com>
218- up to 1.9.0
219
220* Wed Sep 23 1998 Carsten Haitzler <raster@redhat.com>
221- up to 1.8.1
222
223* Tue Sep 22 1998 Cristian Gafton <gafton@redhat.com>
224- yet another build for today (%defattr and %attr in the files lists)
225- devel docs are back on the spec file
226
227* Tue Sep 22 1998 Carsten Haitzler <raster@redhat.com>
228- Added minor patch for ps saving code.
229
230* Mon Sep 21 1998 Cristian Gafton <gafton@redhat.com>
231- updated to version 1.8
232
233* Fri Sep 11 1998 Cristian Gafton <gafton@redhat.com>
234- take out imlib_config from devel package
235
236* Wed Sep 9 1998 Michael Fulbright <msf@redhat.com>
237- upgraded to 1.7
238- changed name so it will persist if user later install devel imlib
239- added subpackage for imlib_config
240
241* Fri Apr 3 1998 Michael K. Johnson <johnsonm@redhat.com>
242- fixed typo
243
244* Fri Mar 13 1998 Marc Ewing <marc@redhat.com>
245- Added -k, Obsoletes
246- Integrate into CVS source tree
247
Note: See TracBrowser for help on using the repository browser.