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

Revision 9812, 5.7 KB checked in by kudoh, 8 years ago (diff)

new upstream and rebuilt

Line 
1Summary: Powerful image loading and rendering library
2Summary(ja): 強力な画像ロード & レンダリングライブラリ
3Name: imlib2
4Version: 1.4.7
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
20BuildRequires: libX11-devel
21BuildRequires: libXext-devel
22
23Requires: %{name}-loaders = %{version}
24
25%description
26Imlib2 is an advanced replacement library for libraries like libXpm that
27provides many more features with much greater flexibility and speed than
28standard libraries, including font rasterization, rotation, RGBA space
29rendering and blending, dynamic binary filters, scripting, and more.
30
31%package devel
32Summary: Imlib2 headers, static libraries and documentation
33Summary(ja): Imlib2 のヘッダーファイル,静的ライブラリ,ドキュメント
34Group: Development/Libraries
35Requires: %{name} = %{version}
36
37%description devel
38Headers, static libraries and documentation for Imlib2.
39
40%package filters
41Summary: Imlib2 basic plugin filters set
42Group: System Environment/Libraries
43Requires: %{name} = %{version}
44
45%description filters
46Basic set of plugin filters that come with Imlib2
47
48%package loaders
49Summary: Imlib2 loader set
50Group: System Environment/Libraries
51#Requires: libjpeg libpng zlib libtiff
52Provides: %{name}-loader_jpeg %{name}-loader_png %{name}-loader_argb
53Provides: %{name}-loader_bmp %{name}-loader_gif %{name}-loader_pnm
54Provides: %{name}-loader_tga %{name}-loader_tiff %{name}-loader_xpm
55Provides: %{name}-loader_gz %{name}-loader_bz2
56Provides: %{name}-loader_lbm %{name}-loader_id3
57Provides: %{name}-loader = %{version}-%{release}
58Obsoletes: %{name}-loader < %{version}-%{release}
59
60%description loaders
61Set of image loader/saver of Imlib2. This package contains
62the following loader.
63
64loader_lbm - LBM image loader/saver
65loader_jpeg - JPEG image loader/saver
66loader_png - PNG image loader/saver
67loader_argb - ARGB image loader/saver
68loader_bmp - BMP image loader/saver
69loader_gif - GIF image loader
70loader_pnm - PNM image loader/saver
71loader_tga - TGA image loader/saver
72loader_tiff - TIFF image loader/saver
73loader_xpm - XPM image loader/saver
74loader_bz2 - Bzip2 compressed image loader/saver
75loader_gz  - gz compressed image loader/saver
76loader_id3 - id3 tag image loader/saver
77
78%prep
79%setup -q
80#%patch1 -p1
81
82%build
83%configure --disable-static
84make %{?_smp_mflags}
85
86%install
87rm -rf $RPM_BUILD_ROOT
88make DESTDIR=$RPM_BUILD_ROOT install
89
90# remove unpackage files
91rm -f $RPM_BUILD_ROOT%{_libdir}/imlib2/*/*.la
92rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98
99%postun -p /sbin/ldconfig
100
101%files
102%defattr(-,root,root,0755)
103%doc AUTHORS README COPYING doc/index.html doc/imlib2.gif doc/blank.gif
104%{_libdir}/lib*.so.*
105%{_bindir}/imlib2_*
106%{_datadir}/imlib2
107
108%files devel
109%defattr(-,root,root,0755)
110%{_bindir}/imlib2-config
111%{_libdir}/libImlib2.so
112#{_libdir}/*.a
113%{_libdir}/pkgconfig/imlib2.pc
114%{_includedir}/*
115
116%files filters
117%defattr(-,root,root,0755)
118%dir %{_libdir}/imlib2/filters
119%{_libdir}/imlib2/filters/*.so
120
121%files loaders
122%defattr(-,root,root,0755)
123%dir %{_libdir}/imlib2/loaders
124%{_libdir}/imlib2/loaders/*.so
125
126%changelog
127* Sun Nov 15 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.7-1
128- new upstream release
129- deleted vl4 conditional branch
130
131* Fri Jul 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.6-2
132- rebuilt with libpng-1.6.12
133
134* Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.4.6-1
135- new upstream release
136
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.