source: projects/specs/trunk/o/optipng/optipng-vl.spec @ 10194

Revision 10194, 4.2 KB checked in by kudoh, 8 years ago (diff)

new upstream release

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