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