1 | Name: libAfterImage |
---|
2 | Version: 1.20 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: A generic image manipulation library |
---|
5 | Summary(ja): 一般的な画像操作ライブラリ |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: LGPLv2+ |
---|
9 | URL: http://www.afterstep.org/afterimage/index.php |
---|
10 | Source0: ftp://ftp.afterstep.org/stable/%{name}/%{name}-%{version}.tar.bz2 |
---|
11 | Source1: libAfterImage-COPYING |
---|
12 | Patch0: libAfterImage-Makefile-ldconfig.patch |
---|
13 | Patch1: libAfterImage-afterimage-config.patch |
---|
14 | Patch2: libAfterImage-multiarch.patch |
---|
15 | #Patch3: libAfterImage-glx.patch |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | |
---|
18 | BuildRequires: freetype2-devel |
---|
19 | BuildRequires: zlib-devel |
---|
20 | BuildRequires: libtiff-devel |
---|
21 | BuildRequires: libpng-devel |
---|
22 | BuildRequires: giflib-devel |
---|
23 | BuildRequires: libjpeg-turbo-devel |
---|
24 | BuildRequires: libX11-devel |
---|
25 | BuildRequires: libXext-devel |
---|
26 | BuildRequires: libICE-devel |
---|
27 | BuildRequires: libSM-devel |
---|
28 | BuildRequires: librsvg2-devel |
---|
29 | BuildRequires: gawk |
---|
30 | |
---|
31 | %description |
---|
32 | libAfterImage is a generic image manipulation library. It was initially |
---|
33 | implemented to address AfterStep Window Manager's needs for image handling, |
---|
34 | but it evolved into extremely powerful and flexible software, suitable for |
---|
35 | virtually any project that has needs for loading, manipulating, displaying |
---|
36 | images, as well as writing images in files. Most of the popular image formats |
---|
37 | are supported using standard libraries, with XCF, XPM, PPM/PNM, BMP, ICO, |
---|
38 | TGA and GIF being supported internally. |
---|
39 | |
---|
40 | PNG, JPEG and TIFF formats are supported via standard libraries. |
---|
41 | |
---|
42 | Powerful text rendering capabilities included, providing support for |
---|
43 | TrueType fonts using FreeType library, and antialiasing of standard fonts |
---|
44 | from X window system. |
---|
45 | |
---|
46 | %package devel |
---|
47 | Summary: Files needed for software development with %{name} |
---|
48 | Group: Development/Libraries |
---|
49 | Requires: %{name} = %{version}-%{release} |
---|
50 | Requires: freetype2-devel |
---|
51 | Requires: zlib-devel |
---|
52 | Requires: libtiff-devel |
---|
53 | Requires: libjpeg-turbo-devel |
---|
54 | Requires: libpng-devel |
---|
55 | Requires: libX11-devel |
---|
56 | Requires: libXext-devel |
---|
57 | Requires: libICE-devel |
---|
58 | Requires: libSM-devel |
---|
59 | Requires: librsvg2-devel |
---|
60 | |
---|
61 | %description devel |
---|
62 | The %{name}-devel package contains the files needed for development with |
---|
63 | %{name} |
---|
64 | |
---|
65 | %prep |
---|
66 | %setup -q |
---|
67 | %patch0 |
---|
68 | %patch1 |
---|
69 | %patch2 -b multiarch |
---|
70 | #%patch3 |
---|
71 | |
---|
72 | %build |
---|
73 | %configure --enable-i18n --enable-sharedlibs \ |
---|
74 | --with-xpm --without-builtin-ungif --disable-staticlibs --enable-glx \ |
---|
75 | --without-afterbase --disable-mmx-optimization \ |
---|
76 | --x-includes=%{_includedir} --x-libraries=%{_libdir} |
---|
77 | |
---|
78 | make CCFLAGS="-DNO_DEBUG_OUTPUT -fPIC $RPM_OPT_FLAGS" %{?_smp_mflags} \ |
---|
79 | LIBAFTERIMAGE_PATH=../ |
---|
80 | |
---|
81 | |
---|
82 | %install |
---|
83 | rm -rf $RPM_BUILD_ROOT |
---|
84 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
85 | mkdir -p $RPM_BUILD_ROOT%{_libdir} |
---|
86 | mkdir -p $RPM_BUILD_ROOT%{_includedir} |
---|
87 | make install DESTDIR=$RPM_BUILD_ROOT LIBAFTERIMAGE_PATH=../ |
---|
88 | |
---|
89 | cp %{SOURCE1} %{_builddir}/%{name}-%{version}/COPYING |
---|
90 | |
---|
91 | touch -r ChangeLog $RPM_BUILD_ROOT%{_bindir}/afterimage-{config,libs} |
---|
92 | |
---|
93 | %clean |
---|
94 | rm -rf $RPM_BUILD_ROOT |
---|
95 | |
---|
96 | %post -p /sbin/ldconfig |
---|
97 | |
---|
98 | %postun -p /sbin/ldconfig |
---|
99 | |
---|
100 | %files |
---|
101 | %defattr(-,root,root,-) |
---|
102 | %doc README ChangeLog COPYING |
---|
103 | %{_libdir}/*.so.* |
---|
104 | |
---|
105 | %files devel |
---|
106 | %defattr(-,root,root,-) |
---|
107 | %{_bindir}/* |
---|
108 | %{_includedir}/libAfterImage/ |
---|
109 | %{_libdir}/*.so |
---|
110 | #%{_datadir}/libAfterImage/ |
---|
111 | #%{_mandir}/man?/* |
---|
112 | |
---|
113 | %changelog |
---|
114 | * Mon May 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20-2 |
---|
115 | - add BuildRequires: librsvg2-devel |
---|
116 | - add Requires: librsvg2-devel (-devel package) |
---|
117 | |
---|
118 | * Wed Feb 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.20-1 |
---|
119 | - new upstream release |
---|
120 | - dropt Patch3 |
---|
121 | - fixed %%files in -devel package |
---|
122 | |
---|
123 | * Wed Sep 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-3 |
---|
124 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
125 | - changed BuildRequires: libjpeg-devel to libjpeg-turbo-devel |
---|
126 | |
---|
127 | * Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-2 |
---|
128 | - fixed release number |
---|
129 | |
---|
130 | * Sat Jun 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-1 |
---|
131 | - initial build for VineLinux |
---|
132 | |
---|
133 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4 |
---|
134 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
135 | |
---|
136 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3 |
---|
137 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
138 | |
---|
139 | * Thu Nov 27 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
140 | - 1.18-2 |
---|
141 | - add glx context patch (suggested by Frank Schmitt) |
---|
142 | |
---|
143 | * Sat Oct 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
144 | - 1.18-1 |
---|
145 | - version upgrade |
---|
146 | |
---|
147 | * Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.15-4 |
---|
148 | - Rebuilt for gcc43 |
---|
149 | |
---|
150 | * Sat Jan 05 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
151 | - 1.15-3 |
---|
152 | - fix #341871 multiarch |
---|
153 | |
---|
154 | * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
155 | - 1.15-2 |
---|
156 | - upgrade BR |
---|
157 | |
---|
158 | * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
159 | - 1.15-1 |
---|
160 | - version upgrade |
---|
161 | - new license tag |
---|
162 | |
---|
163 | * Mon Sep 11 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
164 | 1.07-8 |
---|
165 | - FE6 rebuild |
---|
166 | |
---|
167 | * Wed Feb 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
168 | 1.07-7 |
---|
169 | - Rebuild for Fedora Extras 5 |
---|
170 | |
---|
171 | * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
172 | 1.07-6 |
---|
173 | - fix typo |
---|
174 | |
---|
175 | * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
176 | 1.07-5 |
---|
177 | - modular X |
---|
178 | |
---|
179 | * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
180 | 1.07-4 |
---|
181 | - add -fPIC |
---|
182 | |
---|
183 | * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
184 | 1.07-3 |
---|
185 | - build with debug information |
---|
186 | - add dist tag |
---|
187 | |
---|
188 | * Thu Aug 18 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
189 | 1.07-2 |
---|
190 | - fix issues mentioned in #166046 #1 |
---|
191 | |
---|
192 | * Tue Aug 16 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
193 | 1.07-1 |
---|
194 | - Initial Release |
---|
195 | - |
---|