[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: A library for manipulating GIF format image files. |
---|
| 4 | Summary(ja): GIF 形式の画像ファイルを扱うライブラリ |
---|
| 5 | Name: giflib |
---|
| 6 | Version: 4.1.6 |
---|
| 7 | Release: 3%{_dist_release} |
---|
| 8 | License: MIT |
---|
| 9 | URL: http://sourceforge.net/projects/giflib/ |
---|
| 10 | Source: http://jaist.dl.sourceforge.net/sourceforge/giflib/%{name}-%{version}.tar.bz2 |
---|
| 11 | Group: System Environment/Libraries |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | Obsoletes: libungif < 4.1.6-1 |
---|
| 15 | Provides: libungif = %{version}-%{release} |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | The giflib package contains a shared library of functions for |
---|
| 20 | loading and saving GIF format image files. It is API and ABI compatible |
---|
| 21 | with libungif, the library which supported uncompressed GIFs while the |
---|
| 22 | Unisys LZW patent was in effect. |
---|
| 23 | |
---|
| 24 | Install the giflib package if you need to write programs that use GIF files. |
---|
| 25 | You should also install the giflib-utils package if you need some simple |
---|
| 26 | utilities to manipulate GIFs. |
---|
| 27 | |
---|
| 28 | %description -l ja |
---|
| 29 | giflib パッケージには GIF 形式の画像ファイルを読み書きするために必要な |
---|
| 30 | 共有ライブラリが収録されています。この giflib は、Unisys LZW 特許が有効で |
---|
| 31 | あった時期に、非圧縮形式の GIF ファイルを扱うために使われていたライブラリで |
---|
| 32 | ある libungif と API / ABI 互換性があります。 |
---|
| 33 | |
---|
| 34 | GIF ファイルを扱うプログラムを作成される場合は giflib パッケージを |
---|
| 35 | インストールして下さい。また、GIF ファイルを操作する簡単なユーティリティが |
---|
| 36 | 必要な場合には giflib-utils パッケージも一緒にインストールする必要があります。 |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %package devel |
---|
| 40 | Summary: Development tools for programs which will use the giflib library. |
---|
| 41 | Summary(ja): giflib ライブラリを使うプログラム用開発ツール |
---|
| 42 | Group: Development/Libraries |
---|
| 43 | Requires: %{name} = %{version}-%{release} |
---|
| 44 | Obsoletes: libungif-devel < 4.1.6-1 |
---|
| 45 | Provides: libungif-devel = %{version}-%{release} |
---|
| 46 | |
---|
| 47 | %description devel |
---|
| 48 | This package contains the static libraries, header files and |
---|
| 49 | documentation necessary for development of programs that will use the |
---|
| 50 | giflib library to load and save GIF format image files. |
---|
| 51 | |
---|
| 52 | You should install this package if you need to develop programs which |
---|
| 53 | will use libungif library functions. You'll also need to install the |
---|
| 54 | giflib package. |
---|
| 55 | |
---|
| 56 | %description devel -l ja |
---|
| 57 | このパッケージには giflib ライブラリを使って GIF 形式の画像ファイルを |
---|
| 58 | 読み書きするプログラムの開発に必要なスタティックライブラリ、ヘッダファイル |
---|
| 59 | そしてドキュメントが収められています。 |
---|
| 60 | |
---|
| 61 | giflib ライブラリ関数を使うプログラム開発を行う場合は |
---|
| 62 | このパッケージをインストールする必要があります。 |
---|
| 63 | giflib パッケージも同時にインストールして下さい。 |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %package utils |
---|
| 67 | Summary: Programs for manipulating GIF format image files. |
---|
| 68 | Summary(ja): GIF 形式の画像ファイルを扱うプログラム |
---|
| 69 | Group: Applications/Graphics |
---|
| 70 | Requires: %{name} = %{version}-%{release} |
---|
| 71 | Obsoletes: libungif-progs < 4.1.6-1 |
---|
| 72 | |
---|
| 73 | %description utils |
---|
| 74 | The giflib-utils package contains various programs for manipulating |
---|
| 75 | GIF format image files. |
---|
| 76 | |
---|
| 77 | Install this package if you need to manipulate GIF format image files. |
---|
| 78 | You'll also need to install the giflib package. |
---|
| 79 | |
---|
| 80 | %description utils -l ja |
---|
| 81 | giflib-utils パッケージには GIF 形式の画像ファイルを扱う |
---|
| 82 | 様々なプログラムが収められています。 |
---|
| 83 | |
---|
| 84 | GIF 形式の画像ファイルを扱う必要があるならこのパッケージを |
---|
| 85 | インストールして下さい。giflib パッケージも同時にインストールする |
---|
| 86 | 必要があります。 |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | ## to build compat32 for x86_64 architecture support |
---|
| 90 | %package -n compat32-%{name} |
---|
| 91 | Summary: A library for manipulating GIF format image files. |
---|
| 92 | Summary(ja): GIF 形式の画像ファイルを扱うライブラリ |
---|
| 93 | Group: System Environment/Libraries |
---|
| 94 | Obsoletes: compat32-libungif <= %{version}-%{release} |
---|
| 95 | Provides: compat32-libungif = %{version}-%{release} |
---|
| 96 | |
---|
| 97 | %description -n compat32-%{name} |
---|
| 98 | The giflib package contains a shared library of functions for |
---|
| 99 | loading and saving GIF format image files. It is API and ABI compatible |
---|
| 100 | with libungif, the library which supported uncompressed GIFs while the |
---|
| 101 | Unisys LZW patent was in effect. |
---|
| 102 | |
---|
| 103 | Install the giflib package if you need to write programs that use GIF files. |
---|
| 104 | You should also install the giflib-utils package if you need some simple |
---|
| 105 | utilities to manipulate GIFs. |
---|
| 106 | |
---|
| 107 | |
---|
| 108 | %package -n compat32-%{name}-devel |
---|
| 109 | Summary: Development tools for programs which will use the giflib library. |
---|
| 110 | Summary(ja): giflib ライブラリを使うプログラム用開発ツール |
---|
| 111 | Group: Development/Libraries |
---|
| 112 | Obsoletes: compat32-libungif-devel < 4.1.6-1 |
---|
| 113 | Provides: compat32-libungif-devel = %{version}-%{release} |
---|
| 114 | |
---|
| 115 | %description -n compat32-%{name}-devel |
---|
| 116 | This package contains the static libraries, header files and |
---|
| 117 | documentation necessary for development of programs that will use the |
---|
| 118 | giflib library to load and save GIF format image files. |
---|
| 119 | |
---|
| 120 | You should install this package if you need to develop programs which |
---|
| 121 | will use giflib library functions. You'll also need to install the |
---|
| 122 | giflib package. |
---|
| 123 | |
---|
| 124 | |
---|
| 125 | %prep |
---|
| 126 | %setup -q -n %{name}-%{version} |
---|
| 127 | |
---|
| 128 | |
---|
| 129 | %build |
---|
| 130 | %configure |
---|
| 131 | make all |
---|
| 132 | |
---|
| 133 | MAJOR=`echo '%{version}' | sed 's/\([0-9]\+\)\..*/\1/'` |
---|
| 134 | %{__cc} $RPM_OPT_FLAGS -shared -Wl,-soname,libungif.so.$MAJOR -Llib/.libs -lgif -o libungif.so.%{version} |
---|
| 135 | |
---|
| 136 | |
---|
| 137 | %install |
---|
| 138 | rm -rf $RPM_BUILD_ROOT |
---|
| 139 | |
---|
| 140 | %makeinstall |
---|
| 141 | install -m 0755 -p libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir} |
---|
| 142 | ln -sf libungif.so.%{version} ${RPM_BUILD_ROOT}%{_libdir}/libungif.so.4 |
---|
| 143 | ln -sf libungif.so.4 ${RPM_BUILD_ROOT}%{_libdir}/libungif.so |
---|
| 144 | |
---|
| 145 | chmod 755 $RPM_BUILD_ROOT%{_libdir}/*.so* |
---|
| 146 | chmod 644 $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
| 147 | chmod 644 COPYING README NEWS ONEWS |
---|
| 148 | chmod 644 ChangeLog TODO BUGS AUTHORS |
---|
| 149 | chmod 644 doc/* util/giffiltr.c util/gifspnge.c |
---|
| 150 | |
---|
| 151 | ## remove unuse files |
---|
| 152 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | %post -p /sbin/ldconfig |
---|
| 156 | |
---|
| 157 | |
---|
| 158 | %postun -p /sbin/ldconfig |
---|
| 159 | |
---|
| 160 | |
---|
| 161 | %if %{build_compat32} |
---|
| 162 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 163 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 164 | %endif |
---|
| 165 | |
---|
| 166 | |
---|
| 167 | %clean |
---|
| 168 | rm -rf $RPM_BUILD_ROOT |
---|
| 169 | |
---|
| 170 | |
---|
| 171 | %files |
---|
| 172 | %defattr(-,root,root) |
---|
| 173 | %doc COPYING README NEWS ONEWS |
---|
| 174 | %doc ChangeLog TODO BUGS AUTHORS |
---|
| 175 | %{_libdir}/lib*.so.* |
---|
| 176 | |
---|
| 177 | %files devel |
---|
| 178 | %defattr(-,root,root) |
---|
| 179 | %doc doc/* util/giffiltr.c util/gifspnge.c |
---|
| 180 | %{_libdir}/lib*.so |
---|
| 181 | %{_includedir}/*.h |
---|
| 182 | |
---|
| 183 | %files utils |
---|
| 184 | %defattr(-,root,root) |
---|
| 185 | %{_bindir}/* |
---|
| 186 | |
---|
| 187 | ## to build compat32 for x86_64 architecture support |
---|
| 188 | %if %{build_compat32} |
---|
| 189 | %files -n compat32-%{name} |
---|
| 190 | %defattr(-,root,root) |
---|
| 191 | %{_libdir}/lib*.so.* |
---|
| 192 | |
---|
| 193 | %files -n compat32-%{name}-devel |
---|
| 194 | %defattr(-,root,root) |
---|
| 195 | %{_libdir}/lib*.so |
---|
| 196 | %endif |
---|
| 197 | |
---|
| 198 | |
---|
| 199 | %changelog |
---|
| 200 | * Sat Feb 13 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.6-3 |
---|
| 201 | - rebuild with new environment |
---|
| 202 | - remove static lib |
---|
| 203 | |
---|
| 204 | * Thu Aug 20 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.6-2 |
---|
| 205 | - Obsolete specific version of libungif |
---|
| 206 | |
---|
| 207 | * Sun Jan 11 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.6-1 |
---|
| 208 | - switch from the obsoleted libungif to the ongoing giflib |
---|
| 209 | due to LZW's patent expiration which happend a few years ago |
---|
| 210 | |
---|
| 211 | * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 4.1.4-2vl5 |
---|
| 212 | - removed *.la |
---|
| 213 | - spec in utf-8 |
---|
| 214 | |
---|
| 215 | * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.4-1vl5 |
---|
| 216 | - applied new versioning policy |
---|
| 217 | - updated URL |
---|
| 218 | |
---|
| 219 | * Sun Feb 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.4-0vl1 |
---|
| 220 | - new upstream release |
---|
| 221 | |
---|
| 222 | * Sat Sep 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.3-3vl3 |
---|
| 223 | - changed libungif-progs Group to Applications/Graphics |
---|
| 224 | |
---|
| 225 | * Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 4.1.3-3vl2 |
---|
| 226 | - added compat32-* packages for x86_64 architecture support |
---|
| 227 | |
---|
| 228 | * Tue May 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.3-3vl1 |
---|
| 229 | - new upstream release |
---|
| 230 | - not generate libungif.so.3* any more |
---|
| 231 | - fixed spec file based on 4.1.3-3 from Fedora development |
---|
| 232 | - s/Copyright/License/ |
---|
| 233 | - updated URL |
---|
| 234 | |
---|
| 235 | * Fri Dec 13 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.0-13vl1 |
---|
| 236 | - based on 4.1.0-13 from Rawhide |
---|
| 237 | - Clean up spec file |
---|
| 238 | - Fix build with current auto* tools |
---|
| 239 | |
---|
| 240 | * Sat Jul 14 2001 <sagami@vinelinux.org> |
---|
| 241 | - 4.1.0-9vl1 |
---|
| 242 | - follow up with 4.1.0-9 which has a fix to build against new libtool |
---|
| 243 | |
---|
| 244 | * Mon Feb 19 2001 Jun Nishii <jun@vinelinux.org> |
---|
| 245 | - 4.1.0-7vl2 |
---|
| 246 | - build with netpbm |
---|
| 247 | |
---|
| 248 | * Fri Jan 12 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 249 | - 4.1.0-7vl1 |
---|
| 250 | - based on 4.1.0-7 from Rawhide |
---|
| 251 | - added Japanese summary and description |
---|
| 252 | |
---|
| 253 | * Thu Jul 27 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 254 | - Make the subpackages require the base package (Bug #14697) |
---|
| 255 | - update URL |
---|
| 256 | - add fixes from the homepage |
---|
| 257 | |
---|
| 258 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
---|
| 259 | - automatic rebuild |
---|
| 260 | |
---|
| 261 | * Sat Jun 3 2000 Nalin Dahyabhai <nalin@redhat.com> |
---|
| 262 | - FHS adjustments (release 5) |
---|
| 263 | |
---|
| 264 | * Mon Feb 14 2000 Elliot Lee <sopwith@redhat.com> 4.1.0-4 |
---|
| 265 | - Add giflibcvs-small2crash.patch, which changes lib/dgif_lib.c to be |
---|
| 266 | whatever is currently in the libungif CVS, thus fixing bug number 9315. |
---|
| 267 | |
---|
| 268 | * Sat Feb 5 2000 Bernhard Rosenkraenzer <bero@redhat.com> |
---|
| 269 | - strip libraries |
---|
| 270 | - update URL |
---|
| 271 | - some specfile tweaks |
---|
| 272 | |
---|
| 273 | * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 274 | - auto rebuild in the new build environment (release 2) |
---|
| 275 | |
---|
| 276 | * Sun Mar 14 1999 Preston Brown <pbrown@redhat.com> |
---|
| 277 | - include libungif 4.1.0 as standard library, with 3.1.0 backwards compat. |
---|
| 278 | |
---|
| 279 | * Mon Jan 11 1999 Cristian Gafton <gafton@redhat.com> |
---|
| 280 | - build for 6.0 |
---|
| 281 | - call libtoolize to make sure it will build on the arm |
---|
| 282 | |
---|
| 283 | * Sat Oct 31 1998 Jeff Johnson <jbj@redhat.com> |
---|
| 284 | - package for RH 5.2. |
---|
| 285 | |
---|
| 286 | * Mon Sep 14 1998 Arne Coucheron <arneco@online.no> |
---|
| 287 | [3.1.0-3] |
---|
| 288 | - major cleanups and changes to the spec file |
---|
| 289 | |
---|
| 290 | * Mon Sep 7 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu> |
---|
| 291 | - Upgrade to version 3.1.0 (which incorporates the patches in 3.0-4) |
---|
| 292 | - Updated Source: and URL: to reflect change in directories/pages. |
---|
| 293 | |
---|
| 294 | * Tue May 26 1998 Dick Porter <dick@cymru.net> |
---|
| 295 | - Fixed some "warning: cast to pointer from integer of different size" on Alpha |
---|
| 296 | |
---|
| 297 | * Tue May 5 1998 Marc Ewing <marc@redhat.com> |
---|
| 298 | - Made it obsolete giflib and provide libgif.so and giflib (previous |
---|
| 299 | giflib packages were built incorrectly and packages built against |
---|
| 300 | it require libgif.so but work fine with this package) |
---|
| 301 | - cleaned buildroot |
---|
| 302 | - Removed Toshio as packager so he doesn't get yelled at when Red Hat |
---|
| 303 | breaks it :-) |
---|
| 304 | |
---|
| 305 | * Fri Apr 24 1998 Toshio Kuratomi <badger@prtr-13.ucsc.edu> |
---|
| 306 | - Initial revision of libungif, a giflib derivative modified to not use LZW |
---|
| 307 | compression. |
---|