[1195] | 1 | Name: libAfterImage |
---|
[2624] | 2 | Version: 1.20 |
---|
[8841] | 3 | Release: 4%{?_dist_release} |
---|
[1195] | 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 |
---|
[8841] | 15 | Patch3: libafterimage-libpng15.patch |
---|
[1195] | 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 |
---|
[1953] | 23 | BuildRequires: libjpeg-turbo-devel |
---|
[1195] | 24 | BuildRequires: libX11-devel |
---|
| 25 | BuildRequires: libXext-devel |
---|
| 26 | BuildRequires: libICE-devel |
---|
| 27 | BuildRequires: libSM-devel |
---|
[3823] | 28 | BuildRequires: librsvg2-devel |
---|
[1195] | 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 |
---|
[1953] | 53 | Requires: libjpeg-turbo-devel |
---|
[1195] | 54 | Requires: libpng-devel |
---|
| 55 | Requires: libX11-devel |
---|
| 56 | Requires: libXext-devel |
---|
| 57 | Requires: libICE-devel |
---|
| 58 | Requires: libSM-devel |
---|
[3823] | 59 | Requires: librsvg2-devel |
---|
[1195] | 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 |
---|
[8841] | 70 | %patch3 |
---|
[1195] | 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 |
---|
[2624] | 110 | #%{_datadir}/libAfterImage/ |
---|
| 111 | #%{_mandir}/man?/* |
---|
[1195] | 112 | |
---|
| 113 | %changelog |
---|
[8841] | 114 | * Fri Jul 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.20-4 |
---|
| 115 | - rebuilt with libpng-1.6.12 |
---|
| 116 | - added Patch3 to fix build error from fedora rawhide |
---|
| 117 | |
---|
[8294] | 118 | * Sat Mar 08 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.20-3 |
---|
| 119 | - rebuilt with new toolchain |
---|
| 120 | |
---|
[3823] | 121 | * Mon May 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.20-2 |
---|
| 122 | - add BuildRequires: librsvg2-devel |
---|
| 123 | - add Requires: librsvg2-devel (-devel package) |
---|
| 124 | |
---|
[2624] | 125 | * Wed Feb 2 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.20-1 |
---|
| 126 | - new upstream release |
---|
| 127 | - dropt Patch3 |
---|
| 128 | - fixed %%files in -devel package |
---|
| 129 | |
---|
[1953] | 130 | * Wed Sep 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-3 |
---|
| 131 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 132 | - changed BuildRequires: libjpeg-devel to libjpeg-turbo-devel |
---|
| 133 | |
---|
[1199] | 134 | * Sun Jun 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-2 |
---|
| 135 | - fixed release number |
---|
| 136 | |
---|
[1195] | 137 | * Sat Jun 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.18-1 |
---|
| 138 | - initial build for VineLinux |
---|
| 139 | |
---|
| 140 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-4 |
---|
| 141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 142 | |
---|
| 143 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.18-3 |
---|
| 144 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 145 | |
---|
| 146 | * Thu Nov 27 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 147 | - 1.18-2 |
---|
| 148 | - add glx context patch (suggested by Frank Schmitt) |
---|
| 149 | |
---|
| 150 | * Sat Oct 04 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 151 | - 1.18-1 |
---|
| 152 | - version upgrade |
---|
| 153 | |
---|
| 154 | * Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 1.15-4 |
---|
| 155 | - Rebuilt for gcc43 |
---|
| 156 | |
---|
| 157 | * Sat Jan 05 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 158 | - 1.15-3 |
---|
| 159 | - fix #341871 multiarch |
---|
| 160 | |
---|
| 161 | * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 162 | - 1.15-2 |
---|
| 163 | - upgrade BR |
---|
| 164 | |
---|
| 165 | * Wed Aug 22 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 166 | - 1.15-1 |
---|
| 167 | - version upgrade |
---|
| 168 | - new license tag |
---|
| 169 | |
---|
| 170 | * Mon Sep 11 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 171 | 1.07-8 |
---|
| 172 | - FE6 rebuild |
---|
| 173 | |
---|
| 174 | * Wed Feb 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 175 | 1.07-7 |
---|
| 176 | - Rebuild for Fedora Extras 5 |
---|
| 177 | |
---|
| 178 | * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 179 | 1.07-6 |
---|
| 180 | - fix typo |
---|
| 181 | |
---|
| 182 | * Thu Dec 15 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 183 | 1.07-5 |
---|
| 184 | - modular X |
---|
| 185 | |
---|
| 186 | * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 187 | 1.07-4 |
---|
| 188 | - add -fPIC |
---|
| 189 | |
---|
| 190 | * Sat Aug 20 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 191 | 1.07-3 |
---|
| 192 | - build with debug information |
---|
| 193 | - add dist tag |
---|
| 194 | |
---|
| 195 | * Thu Aug 18 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 196 | 1.07-2 |
---|
| 197 | - fix issues mentioned in #166046 #1 |
---|
| 198 | |
---|
| 199 | * Tue Aug 16 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
---|
| 200 | 1.07-1 |
---|
| 201 | - Initial Release |
---|
| 202 | - |
---|