Browse Source

libpng:
- update to 1.6.12
- add tools subpackage
- remove unneeded Obsoletes

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8586 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 10 years ago
parent
commit
c1090e6f0f
1 changed files with 23 additions and 7 deletions
  1. 23 7
      lib/libp/libpng/libpng-vl.spec

+ 23 - 7
lib/libp/libpng/libpng-vl.spec

@@ -3,7 +3,7 @@
 Summary: A library of functions for manipulating PNG image format files.
 Summary(ja): PNG画像形式ファイル操作用の関数ライブラリ
 Name: libpng
-Version: 1.2.50
+Version: 1.6.12
 Release: 1%{_dist_release}
 License: distributable
 Group: System Environment/Libraries
@@ -15,7 +15,6 @@ Requires: zlib
 URL: http://www.libpng.org/pub/png/
 %define LIBVER 3.%{version}
 Epoch: 2
-Obsoletes: libpng12
 
 Vendor: Project Vine
 Distribution: Vine Linux
@@ -45,7 +44,6 @@ Summary(ja): PNG 形式画像ファイルを扱うプログラム向け開発ツ
 Group: Development/Libraries
 Requires: libpng = %{epoch}:%{version}-%{release}
 Requires: zlib-devel
-Obsoletes: libpng12-devel
 
 %description devel
 The libpng-devel package contains the header files necessary for 
@@ -64,6 +62,14 @@ Requires: libpng-devel = %{epoch}:%{version}-%{release}
 %description static
 The libpng-static package contains the static library for libpng.
 
+%package tools
+Summary: Tools for PNG image format file library
+Summary(ja): %{name} 用のツール
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
+
+%description tools
+The libpng-tools package contains tools used by the authors of libpng.
 
 ## to build compat32 for x86_64 architecture support
 %package -n compat32-%{name}
@@ -133,7 +139,7 @@ the libpng package.
 %files devel
 %defattr(-,root,root)
 %{_bindir}/libpng-config
-%{_bindir}/libpng12-config
+%{_bindir}/libpng16-config
 %{_includedir}/*
 %{_libdir}/libpng*.so
 %{_libdir}/pkgconfig/*
@@ -143,6 +149,12 @@ the libpng package.
 %defattr(-,root,root)
 %{_libdir}/libpng*.a
 
+%files tools
+%defattr(-,root,root)
+%{_bindir}/pngfix
+%{_bindir}/png-fix-itxt
+
+
 ## to build compat32 for x86_64 architecture support
 %if %{build_compat32}
 %files -n compat32-%{name}
@@ -157,6 +169,10 @@ the libpng package.
 %endif
 
 %changelog
+* Sat Jun 21 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 2:1.6.12-1
+- update to 1.6.12
+- add tools subpackage
+
 * Fri Oct 19 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.50-1
 - new upstream release
 - drop old patches (are included in new release)
@@ -201,10 +217,10 @@ the libpng package.
 * Mon Nov 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.33-1
 - new upstream release
 
-* Thu Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.32-2
+* Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.32-2
 - spec file in UTF-8
 
-* Thu Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.32-1
+* Fri Oct 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.32-1
 - new upstream release with security fix (CVE-2008-3964)
 
 * Sat May 03 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2:1.2.28-1
@@ -311,7 +327,7 @@ the libpng package.
 * Sat Dec 14 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.0.15-0vl2
 - added missing libraries in the file list
 
-* Thu Nov 12 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
+* Tue Nov 12 2002 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.15-0vl1
 - update to 1.0.15
 - now, security patch were merged source.