[521] | 1 | Name: optipng |
---|
[828] | 2 | Version: 0.6.4 |
---|
[521] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: PNG optimizer and converter |
---|
| 5 | Summary(ja): PNG オプティマイザ と コンバータ |
---|
| 6 | |
---|
| 7 | Group: Applications/Graphics |
---|
| 8 | License: zlib |
---|
| 9 | URL: http://optipng.sourceforge.net/ |
---|
| 10 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz |
---|
| 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | |
---|
| 13 | BuildRequires: zlib-devel libpng-devel |
---|
| 14 | |
---|
| 15 | %description |
---|
| 16 | OptiPNG is a PNG optimizer that recompresses image files to a smaller size, |
---|
| 17 | without losing any information. This program also converts external formats |
---|
| 18 | (BMP, GIF, PNM and TIFF) to optimized PNG, and performs PNG integrity checks |
---|
| 19 | and corrections. |
---|
| 20 | |
---|
| 21 | %description -l ja |
---|
| 22 | OptiPNG は、PNG 形式の画像ファイルを何ら情報を失うことなく |
---|
| 23 | より小さなサイズへと再圧縮するオプティマイザです。 |
---|
| 24 | このプログラムは、外部フォーマット (BMP、GIF、PNM および TIFF)から |
---|
| 25 | 最適化された PNG 形式へと変換し、PNG 形式の整合性チェックと訂正を行います。 |
---|
| 26 | |
---|
| 27 | %prep |
---|
| 28 | %setup -q |
---|
| 29 | |
---|
| 30 | # Ensure system libs and headers are used; as of 0.6.1 pngxtern will use |
---|
| 31 | # the bundled headers if present even with -with-system-*, causing failures. |
---|
| 32 | rm -rf lib/libpng lib/zlib |
---|
| 33 | |
---|
| 34 | %define makefile gcc.mak |
---|
| 35 | |
---|
| 36 | %build |
---|
| 37 | ./configure -with-system-zlib -with-system-libpng |
---|
| 38 | cd src/ |
---|
| 39 | make -f scripts/%{makefile} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"\ |
---|
| 40 | LDFLAGS="$RPM_OPT_FLAGS" |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %install |
---|
| 44 | rm -rf $RPM_BUILD_ROOT |
---|
| 45 | cd src/ |
---|
| 46 | make -f scripts/%{makefile} install DESTDIR="$RPM_BUILD_ROOT"\ |
---|
| 47 | prefix="%{_prefix}" \ |
---|
| 48 | man1dir="%{_mandir}/man1" |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %files |
---|
| 55 | %defattr(-,root,root,-) |
---|
| 56 | %doc README.txt LICENSE.txt doc/* |
---|
| 57 | %{_bindir}/optipng |
---|
| 58 | %{_mandir}/man1/optipng.1* |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %changelog |
---|
[828] | 62 | * Thu Apr 15 2010 Shu KONNO <owa@bg.wakwak.com> - 0.6.4-1 |
---|
| 63 | - new upstream release |
---|
| 64 | |
---|
[521] | 65 | * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.6.3-1 |
---|
| 66 | - initial build for VineSeed |
---|
| 67 | |
---|
| 68 | * Wed Nov 12 2008 Till Maas <opensource@till.name> - 0.6.2-1 |
---|
| 69 | - Update to new release to fix buffer overflow |
---|
| 70 | - Red Hat Bugzilla #471206 |
---|
| 71 | |
---|
| 72 | * Thu Aug 28 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.6.1-1 |
---|
| 73 | - 0.6.1. |
---|
| 74 | |
---|
| 75 | * Thu Feb 14 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.5.5-4 |
---|
| 76 | - Apply sf.net patch #1790969 to fix crash with -log. |
---|
| 77 | - Cosmetic specfile changes. |
---|
| 78 | |
---|
| 79 | * Thu Aug 02 2007 Till Maas <opensource till name> - 0.5.5-3 |
---|
| 80 | - update License: Tag according to new Guidelines |
---|
| 81 | |
---|
| 82 | * Wed Feb 14 2007 Till Maas <opensource till name> - 0.5.5-2 |
---|
| 83 | - rebuild because of new libpng |
---|
| 84 | |
---|
| 85 | * Tue Feb 06 2007 Till Maas <opensource till name> - 0.5.5-1 |
---|
| 86 | - Version bump |
---|
| 87 | |
---|
| 88 | * Wed Nov 29 2006 Till Maas <opensource till name> - 0.5.4-4 |
---|
| 89 | - splitting makefile patches |
---|
| 90 | - make LDFLAGS=$RPM_OPT_FLAGS |
---|
| 91 | - Use own makefile define |
---|
| 92 | - Fixing 216784 with upstream patch |
---|
| 93 | |
---|
| 94 | * Wed Oct 11 2006 Till Maas <opensource till name> - 0.5.4-3 |
---|
| 95 | - bumping release because of errors while importing to extras |
---|
| 96 | |
---|
| 97 | * Tue Oct 10 2006 Till Maas <opensource till name> - 0.5.4-2 |
---|
| 98 | - shortening Summary |
---|
| 99 | |
---|
| 100 | * Thu Sep 14 2006 Till Maas <opensource till name> - 0.5.4-1 |
---|
| 101 | - version bump |
---|
| 102 | - use system zlib and libpng |
---|
| 103 | - link without "-s" flag for non-empty debuginfo |
---|
| 104 | - use DESTDIR |
---|
| 105 | |
---|
| 106 | * Fri Jul 28 2006 Till Maas <opensource till name> - 0.5.3-1 |
---|
| 107 | - version bump |
---|
| 108 | - Changed license tag back to zlib/libpng (#198616 rpmlint) |
---|
| 109 | - use $RPM_OPT_FLAGS instead of %%{optflags} |
---|
| 110 | |
---|
| 111 | * Thu Jul 06 2006 Till Maas <opensource till name> - 0.5.2-2 |
---|
| 112 | - Changed license tag from zlib/libpng to zlib |
---|
| 113 | |
---|
| 114 | * Tue Jul 04 2006 Till Maas <opensource till name> - 0.5.2-1 |
---|
| 115 | - Created from scratch for fedora extras |
---|