Browse Source

babl: update to 0.1.56

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11800 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 5 years ago
parent
commit
2bcb186b8b
1 changed files with 34 additions and 26 deletions
  1. 34 26
      b/babl/babl-vl.spec

+ 34 - 26
b/babl/babl-vl.spec

@@ -1,26 +1,29 @@
-Summary:	A dynamic, any to any, pixel format conversion library
-Name:		babl
-Version:	0.1.18
-Release:	1%{?_dist_release}
+Summary:  A dynamic, any to any, pixel format conversion library
+Name:     babl
+Version:  0.1.56
+Release:  1%{?_dist_release}
 # The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
 # The gggl codes contained in this package are under the GPL, with exceptions allowing their use under libraries covered under the LGPL
-License:	LGPLv3+ and GPLv3+
-Group:		System Environment/Libraries
-URL:		http://www.gegl.org/babl/
-Source0:	https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
+License:  LGPLv3+ and GPLv3+
+Group:    System Environment/Libraries
+URL:      http://www.gegl.org/babl/
+Source0:  https://download.gimp.org/pub/babl/0.1/%{name}-%{version}.tar.bz2
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires:	w3m
+BuildRequires:  w3m
+
 
 
 %description
 %description
 Babl is a dynamic, any to any, pixel format conversion library. It
 Babl is a dynamic, any to any, pixel format conversion library. It
 provides conversions between the myriad of buffer types images can be
 provides conversions between the myriad of buffer types images can be
 stored in. Babl doesn't only help with existing pixel formats, but also
 stored in. Babl doesn't only help with existing pixel formats, but also
 facilitates creation of new and uncommon ones.
 facilitates creation of new and uncommon ones.
+#'
 
 
 %package devel
 %package devel
-Summary:	Headers for developing programs that will use %{name}
-Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
-Requires:	pkgconfig
+Summary:  Headers for developing programs that will use %{name}
+Group:    Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: pkgconfig
 
 
 %description devel
 %description devel
 This package contains the libraries and header files needed for
 This package contains the libraries and header files needed for
@@ -31,22 +34,22 @@ developing with %{name}.
 
 
 %build
 %build
 %configure --disable-static
 %configure --disable-static
-make %{?_smp_mflags}
-										
+%{__make} %{?_smp_mflags}
+
 %install
 %install
-rm -rf %{buildroot}
-make DESTDIR=%{buildroot} install INSTALL='install -p'
+%{__rm} -rf %{buildroot}
+%{__make} DESTDIR=%{buildroot} install INSTALL='install -p'
 
 
-mkdir -p babl_docs babl_docs/html
-cp -pr docs/graphics docs/*.html docs/babl.css babl_docs/html
-rm -rf babl_docs/html/graphics/Makefile*
+%{__mkdir_p} babl_docs babl_docs/html
+%{__cp} -pr docs/graphics docs/*.html docs/babl.css babl_docs/html
+%{__rm} -rf babl_docs/html/graphics/Makefile*
 
 
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
 
 
 
 
 %check
 %check
 pushd tests
 pushd tests
-rm -f concurrency-stress-test
+%{__rm} -f concurrency-stress-test
 cat << EOF > concurrency-stress-test
 cat << EOF > concurrency-stress-test
 #!/bin/sh
 #!/bin/sh
 echo Skipping test concurrency-stress-test
 echo Skipping test concurrency-stress-test
@@ -57,15 +60,16 @@ make check
 
 
 
 
 %clean
 %clean
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
+
+%post -p %{_syssbindir}/ldconfig
 
 
-%post -p /sbin/ldconfig
+%postun -p %{_syssbindir}/ldconfig
 
 
-%postun -p /sbin/ldconfig
 
 
 %files
 %files
 %defattr(-, root, root, -)
 %defattr(-, root, root, -)
-%doc AUTHORS ChangeLog COPYING README NEWS
+%doc AUTHORS COPYING README NEWS
 %{_libdir}/*.so.*
 %{_libdir}/*.so.*
 %{_libdir}/babl-0.1/
 %{_libdir}/babl-0.1/
 
 
@@ -76,7 +80,11 @@ rm -rf %{buildroot}
 %{_libdir}/*.so
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/%{name}.pc
 %{_libdir}/pkgconfig/%{name}.pc
 
 
+
 %changelog
 %changelog
+* Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.1.56-1
+- new upstream release
+
 * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1
 * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.18-1
 - new upstream release
 - new upstream release
 
 
@@ -100,7 +108,7 @@ rm -rf %{buildroot}
 * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
 * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.2-1
 - new upstream release
 - new upstream release
 
 
-* Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 	0.0.22-1
+* Mon Oct 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp>  0.0.22-1
 - initial build for Vine Linux
 - initial build for Vine Linux
 
 
 * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1
 * Thu Jul 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.0.22-1