source: projects/specs/branches/6/i/imlib2/imlib2-vl.spec @ 6529

Revision 6529, 5.5 KB checked in by kudoh, 12 years ago (diff)
Line 
1Summary: Powerful image loading and rendering library
2Summary(ja): 強力な画像ロード & レンダリングライブラリ
3Name: imlib2
4Version: 1.4.5
5Release: 1%{?_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* Wed Jun 20 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.5-1
138- new upstream release
139- deleted Patch1
140
141* Sun Sep 26 2010 Shu KONNO <owa@bg.wakwak.com> 1.4.3-2
142- rebuilt with rpm-4.8.1 for pkg-config
143
144* Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-1
145- new upstream release (includeing security fix CVE-2008-6079)
146- added Patch1 for CVE-2010-0991
147- added --disable-static to %%configure
148- renamed "loader" subpackage to "loaders"
149
150* Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-1
151- new upstream release (including security fix CVE-2008-2426)
152
153* Sun Sep 28 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.2-1vl5
154- applied new versioning policy, spec in utf-8
155
156* Wed May 17 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-0vl1
157- updated to 1.2.2
158
159* Sat Feb  5 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
160- updated to 1.2.0
161- fix typo
162
163* Wed Oct  6 2004 IKEDA Katsumi <ikeda@webmasters.gr.jp> 1.1.0-1vl2
164- added patch imlib2-1.1.0-bmpfix.patch for CAN-2004-0817
165
166* Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.0-1vl1
167- rebuild with Vine Linux
168- s/Copyright/License/
169- collect imlib2-loader-* packages and make imlib2-loader package
170
171* Mon Jan 8 2001 The Rasterman <raster@rasterman.com>
172- Fix Requires & BuildRequires for freetype.
173
174* Sat Sep 30 2000 Lyle Kempler <term@kempler.net>
175- Bring back building imlib2 as root via autogen.sh for the lazy (me)
176- Some minor changes
177
178* Sat Sep 30 2000 Joakim Bodin <bodin@dreamhosted.com>
179- Linux-Mandrake:ise the spec file
180
181* Tue Sep 12 2000 The Rasterman <raster@rasterman.com>
182- Redo spec file
183
184* Wed Aug 30 2000 Lyle Kempler <kempler@utdallas.edu>
185- Include imlib2-config
186
187* Sat May 20 2000 Lyle Kempler <kempler@utdallas.edu>
188- Fixed problems with requiring imlib2_view
189- Went back to imlib2_view (not imlib2-view)
190
191* Tue Nov 2 1999 Lyle Kempler <kempler@utdallas.edu>
192- Mangled imlib 1.9.8 imlib spec file into imlib2 spec file
Note: See TracBrowser for help on using the repository browser.