source: projects/specs/trunk/i/imlib2/imlib2-vl.spec @ 8841

Revision 8841, 5.7 KB checked in by kudoh, 10 years ago (diff)

rebuilt with libpng-1.6.12

Line 
1Summary: Powerful image loading and rendering library
2Summary(ja): 強力な画像ロード & レンダリングライブラリ
3Name: imlib2
4Version: 1.4.6
5Release: 2%{?_dist_release}
6License: BSD
7Group: System Environment/Libraries
8URL: http://www.enlightenment.org/Libraries/Imlib2
9Source: http://downloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.bz2
10#Patch1:         imlib2-1.4.3-cve-2010-0991.patch
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: libjpeg-devel
14BuildRequires: libpng-devel
15BuildRequires: libtiff-devel
16BuildRequires: zlib-devel
17BuildRequires: bzip2-devel
18BuildRequires: freetype2-devel
19BuildRequires: libid3tag-devel
20%if %{?_dist_release} == "vl4"
21BuildRequires: XOrg-devel
22BuildRequires: autoconf libtool
23%else
24BuildRequires: libX11-devel
25BuildRequires: libXext-devel
26%endif
27Requires: %{name}-loaders = %{version}
28
29%description
30Imlib2 is an advanced replacement library for libraries like libXpm that
31provides many more features with much greater flexibility and speed than
32standard libraries, including font rasterization, rotation, RGBA space
33rendering and blending, dynamic binary filters, scripting, and more.
34
35%package devel
36Summary: Imlib2 headers, static libraries and documentation
37Summary(ja): Imlib2 のヘッダーファイル,静的ライブラリ,ドキュメント
38Group: Development/Libraries
39Requires: %{name} = %{version}
40
41%description devel
42Headers, static libraries and documentation for Imlib2.
43
44%package filters
45Summary: Imlib2 basic plugin filters set
46Group: System Environment/Libraries
47Requires: %{name} = %{version}
48
49%description filters
50Basic set of plugin filters that come with Imlib2
51
52%package loaders
53Summary: Imlib2 loader set
54Group: System Environment/Libraries
55#Requires: libjpeg libpng zlib libtiff
56Provides: %{name}-loader_jpeg %{name}-loader_png %{name}-loader_argb
57Provides: %{name}-loader_bmp %{name}-loader_gif %{name}-loader_pnm
58Provides: %{name}-loader_tga %{name}-loader_tiff %{name}-loader_xpm
59Provides: %{name}-loader_gz %{name}-loader_bz2
60Provides: %{name}-loader_lbm %{name}-loader_id3
61Provides: %{name}-loader = %{version}-%{release}
62Obsoletes: %{name}-loader < %{version}-%{release}
63
64%description loaders
65Set of image loader/saver of Imlib2. This package contains
66the following loader.
67
68loader_lbm - LBM image loader/saver
69loader_jpeg - JPEG image loader/saver
70loader_png - PNG image loader/saver
71loader_argb - ARGB image loader/saver
72loader_bmp - BMP image loader/saver
73loader_gif - GIF image loader
74loader_pnm - PNM image loader/saver
75loader_tga - TGA image loader/saver
76loader_tiff - TIFF image loader/saver
77loader_xpm - XPM image loader/saver
78loader_bz2 - Bzip2 compressed image loader/saver
79loader_gz  - gz compressed image loader/saver
80loader_id3 - id3 tag image loader/saver
81
82%prep
83%setup -q
84
85#%patch1 -p1
86
87%if %{?_dist_release} == "vl4"
88libtoolize --force --copy
89autoreconf -f
90%endif
91
92%build
93%configure --disable-static
94make %{?_smp_mflags}
95
96%install
97rm -rf $RPM_BUILD_ROOT
98make DESTDIR=$RPM_BUILD_ROOT install
99
100# remove unpackage files
101rm -f $RPM_BUILD_ROOT%{_libdir}/imlib2/*/*.la
102rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
103
104%clean
105rm -rf $RPM_BUILD_ROOT
106
107%post -p /sbin/ldconfig
108
109%postun -p /sbin/ldconfig
110
111%files
112%defattr(-,root,root,0755)
113%doc AUTHORS README COPYING doc/index.html doc/imlib2.gif doc/blank.gif
114%{_libdir}/lib*.so.*
115%{_bindir}/imlib2_*
116%{_datadir}/imlib2
117
118%files devel
119%defattr(-,root,root,0755)
120%{_bindir}/imlib2-config
121%{_libdir}/libImlib2.so
122#{_libdir}/*.a
123%{_libdir}/pkgconfig/imlib2.pc
124%{_includedir}/*
125
126%files filters
127%defattr(-,root,root,0755)
128%dir %{_libdir}/imlib2/filters
129%{_libdir}/imlib2/filters/*.so
130
131%files loaders
132%defattr(-,root,root,0755)
133%dir %{_libdir}/imlib2/loaders
134%{_libdir}/imlib2/loaders/*.so
135
136%changelog
137* Fri Jul 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.6-2
138- rebuilt with libpng-1.6.12
139
140* Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.6-1
141- new upstream release
142
143* Wed Jun 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.5-1
144- new upstream release
145- deleted Patch1
146
147* Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2
148- rebuilt with rpm-4.8.1 for pkg-config
149
150* Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1
151- new upstream release (includeing security fix CVE-2008-6079)
152- added Patch1 for CVE-2010-0991
153- added --disable-static to %%configure
154- renamed "loader" subpackage to "loaders"
155
156* Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-1
157- new upstream release (including security fix CVE-2008-2426)
158
159* Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5
160- applied new versioning policy, spec in utf-8
161
162* Wed May 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-0vl1
163- updated to 1.2.2
164
165* Sat Feb  5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
166- updated to 1.2.0
167- fix typo
168
169* Wed Oct  6 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.1.0-1vl2
170- added patch imlib2-1.1.0-bmpfix.patch for CAN-2004-0817
171
172* Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-1vl1
173- rebuild with Vine Linux
174- s/Copyright/License/
175- collect imlib2-loader-* packages and make imlib2-loader package
176
177* Mon Jan 8 2001 The Rasterman <raster@rasterman.com>
178- Fix Requires & BuildRequires for freetype.
179
180* Sat Sep 30 2000 Lyle Kempler <term@kempler.net>
181- Bring back building imlib2 as root via autogen.sh for the lazy (me)
182- Some minor changes
183
184* Sat Sep 30 2000 Joakim Bodin <bodin@dreamhosted.com>
185- Linux-Mandrake:ise the spec file
186
187* Tue Sep 12 2000 The Rasterman <raster@rasterman.com>
188- Redo spec file
189
190* Wed Aug 30 2000 Lyle Kempler <kempler@utdallas.edu>
191- Include imlib2-config
192
193* Sat May 20 2000 Lyle Kempler <kempler@utdallas.edu>
194- Fixed problems with requiring imlib2_view
195- Went back to imlib2_view (not imlib2-view)
196
197* Tue Nov 2 1999 Lyle Kempler <kempler@utdallas.edu>
198- Mangled imlib 1.9.8 imlib spec file into imlib2 spec file
Note: See TracBrowser for help on using the repository browser.