commit libmng for openSUSE:Factory

2015-04-30 Thread h_root
Hello community,

here is the log from the commit of package libmng for openSUSE:Factory checked 
in at 2015-04-30 11:50:04

Comparing /work/SRC/openSUSE:Factory/libmng (Old)
 and  /work/SRC/openSUSE:Factory/.libmng.new (New)


Package is libmng

Changes:

--- /work/SRC/openSUSE:Factory/libmng/libmng.changes2014-06-19 
13:08:44.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmng.new/libmng.changes   2015-04-30 
11:50:05.0 +0200
@@ -1,0 +2,10 @@
+Mon Apr 27 13:52:20 UTC 2015 - mplus...@suse.com
+
+- Update to 2.0.3
+  * More changes to libmng_types.h.
+- Cleanup spec file with spec-cleaner
+- Remove old obsolete/provide
+- Use %cmake macro when building
+- Remove no longer needed fix-header-include.patch
+
+---

Old:

  fix-header-include.patch
  libmng-2.0.2.tar.xz

New:

  libmng-2.0.3.tar.xz



Other differences:
--
++ libmng.spec ++
--- /var/tmp/diff_new_pack.fKBBHn/_old  2015-04-30 11:50:06.0 +0200
+++ /var/tmp/diff_new_pack.fKBBHn/_new  2015-04-30 11:50:06.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libmng
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,59 +16,44 @@
 #
 
 
+%define lname  libmng2
 Name:   libmng
-Version:2.0.2
+Version:2.0.3
 Release:0
 Summary:Library for Support of MNG and JNG Formats
 License:Zlib
 Group:  Development/Libraries/C and C++
-%define lname  libmng2
+Url:http://www.libmng.com/
+Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}-devel/%{version}/%{name}-%{version}.tar.xz
+Source1:baselibs.conf
+Patch0: libmng-1.0.9-dont-leak-zlib-streams.diff
 BuildRequires:  cmake
 BuildRequires:  libjpeg-devel
 BuildRequires:  liblcms2-devel
 BuildRequires:  man
 BuildRequires:  pkg-config
 BuildRequires:  zlib-devel
-# bug437293
-%ifarch ppc64
-Obsoletes:  libmng-64bit
-%endif
-#
-Url:http://www.libmng.com/
-Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}-devel/%{version}/%{name}-%{version}.tar.xz
-Source1:baselibs.conf
-Patch0: libmng-1.0.9-dont-leak-zlib-streams.diff
-# PATCH-FIX-UPSTREAM fix-header-include.patch -- make libmng_types header 
usable to outside packages/libraries
-Patch1: fix-header-include.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
 This library can handle MNG and JNG formats that contain animated
 pictures. These formats should replace the GIF format.
 
-%package -n %lname
+%package -n %{lname}
 Summary:Library for Support of MNG and JNG Formats
 Group:  System/Libraries
-# O/P added 2011-11-29
-Obsoletes:  libmng  %{version}-%{release}
-Provides:   libmng = %{version}-%{release}
 
-%description -n %lname
+%description -n %{lname}
 This library can handle MNG and JNG formats that contain animated
 pictures. These formats should replace the GIF format.
 
 %package devel
 Summary:Include Files and Libraries mandatory for Development
 Group:  Development/Libraries/C and C++
-Requires:   %lname = %{version}
+Requires:   %{lname} = %{version}
 Requires:   libjpeg-devel
 Requires:   liblcms2-devel
 Requires:   zlib-devel
-# bug437293
-%ifarch ppc64
-Obsoletes:  libmng-devel-64bit
-%endif
-#
 
 %description devel
 This library can handle MNG and JNG formats which contain animated
@@ -79,33 +64,27 @@
 %prep
 %setup -q
 %patch0
-%patch1 -p1
 
 %build
 # This is not zlib licensed and unused, just as a caution, bnc#744320
 rm -rf contrib
 
-export CXXFLAGS=%{optflags}
-export CFLAGS=$CXXFLAGS
-mkdir build  cd build  \
-cmake -DCMAKE_VERBOSE_MAKEFILE=ON \
-  -DCMAKE_BUILD_TYPE:STRING=Release \
-  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+%cmake \
   -DCMAKE_SKIP_RPATH=ON \
-  -DMNG_INSTALL_DOC_DIR=%{_datadir}/doc/packages/%{name} \
+  -DMNG_INSTALL_DOC_DIR=%{_docdir}/%{name} \
   -DBUILD_MAN=ON \
   -DBUILD_STATIC_LIBS=OFF ..
 
 make %{?_smp_mflags}
 
 %install
-%make_install -C build
+%cmake_install
 
-%post -n %lname -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
 
-%postun -n %lname -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
-%files -n %lname
+%files -n %{lname}
 %defattr(-,root,root)
 %doc LICENSE README doc/doc.readme doc/libmng.txt
 %{_libdir}/libmng.so.*
@@ -113,7 +92,7 @@
 %files devel
 %defattr(-,root,root)
 %{_includedir}/*.h
-%doc %{_mandir}/*/*

commit libmng for openSUSE:Factory

2014-06-19 Thread h_root
Hello community,

here is the log from the commit of package libmng for openSUSE:Factory checked 
in at 2014-06-19 13:08:37

Comparing /work/SRC/openSUSE:Factory/libmng (Old)
 and  /work/SRC/openSUSE:Factory/.libmng.new (New)


Package is libmng

Changes:

--- /work/SRC/openSUSE:Factory/libmng/libmng.changes2014-06-02 
07:04:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmng.new/libmng.changes   2014-06-19 
13:08:44.0 +0200
@@ -1,0 +2,6 @@
+Tue Jun 17 01:45:04 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Fix requires of devel subpackage: with switch to lcms2, the devel
+  package wasn't adjusted
+
+---



Other differences:
--
++ libmng.spec ++
--- /var/tmp/diff_new_pack.nBwnH4/_old  2014-06-19 13:08:44.0 +0200
+++ /var/tmp/diff_new_pack.nBwnH4/_new  2014-06-19 13:08:44.0 +0200
@@ -62,7 +62,7 @@
 Group:  Development/Libraries/C and C++
 Requires:   %lname = %{version}
 Requires:   libjpeg-devel
-Requires:   liblcms-devel
+Requires:   liblcms2-devel
 Requires:   zlib-devel
 # bug437293
 %ifarch ppc64

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libmng for openSUSE:Factory

2014-06-01 Thread h_root
Hello community,

here is the log from the commit of package libmng for openSUSE:Factory checked 
in at 2014-06-02 07:04:14

Comparing /work/SRC/openSUSE:Factory/libmng (Old)
 and  /work/SRC/openSUSE:Factory/.libmng.new (New)


Package is libmng

Changes:

--- /work/SRC/openSUSE:Factory/libmng/libmng.changes2013-04-17 
07:16:11.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmng.new/libmng.changes   2014-06-02 
07:04:16.0 +0200
@@ -1,0 +2,19 @@
+Tue May 20 17:12:33 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Added fix-header-include.patch; make libmng_types header usable
+  to outside packages/libraries
+
+---
+Sat May 17 21:56:29 UTC 2014 - hrvoje.sen...@gmail.com
+
+- Update to 2.0.2
+  * Added support for lcms2.
+  * Added support for libjpeg version 9.
+- Bump %lname to libmng2, per upstream change (also adjusted baselibs)
+- Switch to CMake buildsystem: added cmake BuildRequires
+- Added pkg-config and man BuildRequires
+- BuildRequire liblcms2-devel instead of liblcms-devel
+- Drop libmng-no-jpeg.diff and libmng.diff, not needed with good, CMake
+  buildsystem
+
+---

Old:

  libmng-1.0.10.tar.bz2
  libmng-no-jpeg.diff
  libmng.diff

New:

  fix-header-include.patch
  libmng-2.0.2.tar.xz



Other differences:
--
++ libmng.spec ++
--- /var/tmp/diff_new_pack.B0inXK/_old  2014-06-02 07:04:17.0 +0200
+++ /var/tmp/diff_new_pack.B0inXK/_new  2014-06-02 07:04:17.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libmng
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,17 @@
 
 
 Name:   libmng
-Version:1.0.10
+Version:2.0.2
 Release:0
 Summary:Library for Support of MNG and JNG Formats
 License:Zlib
 Group:  Development/Libraries/C and C++
-%define lname  libmng1
+%define lname  libmng2
+BuildRequires:  cmake
 BuildRequires:  libjpeg-devel
-BuildRequires:  liblcms-devel
+BuildRequires:  liblcms2-devel
+BuildRequires:  man
+BuildRequires:  pkg-config
 BuildRequires:  zlib-devel
 # bug437293
 %ifarch ppc64
@@ -32,11 +35,11 @@
 %endif
 #
 Url:http://www.libmng.com/
-Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}-devel/%{version}/%{name}-%{version}.tar.bz2
+Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}-devel/%{version}/%{name}-%{version}.tar.xz
 Source1:baselibs.conf
-Patch1: libmng.diff
-Patch2: libmng-no-jpeg.diff
-Patch3: libmng-1.0.9-dont-leak-zlib-streams.diff
+Patch0: libmng-1.0.9-dont-leak-zlib-streams.diff
+# PATCH-FIX-UPSTREAM fix-header-include.patch -- make libmng_types header 
usable to outside packages/libraries
+Patch1: fix-header-include.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -75,29 +78,28 @@
 
 %prep
 %setup -q
-%patch1
-%patch3
+%patch0
+%patch1 -p1
 
 %build
-
 # This is not zlib licensed and unused, just as a caution, bnc#744320
 rm -rf contrib
 
-make %{?_smp_mflags} -f makefiles/makefile.linux _LIB=%{_lib}
+export CXXFLAGS=%{optflags}
+export CFLAGS=$CXXFLAGS
+mkdir build  cd build  \
+cmake -DCMAKE_VERBOSE_MAKEFILE=ON \
+  -DCMAKE_BUILD_TYPE:STRING=Release \
+  -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+  -DCMAKE_SKIP_RPATH=ON \
+  -DMNG_INSTALL_DOC_DIR=%{_datadir}/doc/packages/%{name} \
+  -DBUILD_MAN=ON \
+  -DBUILD_STATIC_LIBS=OFF ..
+
+make %{?_smp_mflags}
 
 %install
-make -f makefiles/makefile.linux DESTDIR=%{buildroot} _LIB=%{_lib} install
-mkdir -p %{buildroot}/%{_mandir}/man3/ %{buildroot}/%{_mandir}/man5/
-install -m 0644 doc/man/*.3 %{buildroot}/%{_mandir}/man3/
-install -m 0644 doc/man/*.5 %{buildroot}/%{_mandir}/man5/
-#
-# build a mini libmng
-#
-make -f makefiles/makefile.linux clean
-patch -p0  %{PATCH2}
-make -f makefiles/makefile.linux _LIB=%{_lib}
-install -m 0644 libmng.a %{buildroot}/%{_libdir}/libmng-mini.a
-rm -v %{buildroot}%{_libdir}/libmng.a
+%make_install -C build
 
 %post -n %lname -p /sbin/ldconfig
 
@@ -112,7 +114,9 @@
 %defattr(-,root,root)
 %{_includedir}/*.h
 %doc %{_mandir}/*/*
-%{_libdir}/libmng-mini.a
+%doc %{_docdir}/libmng/
+%{_libdir}/pkgconfig/libmng.pc
 %{_libdir}/libmng.so
+%{_datadir}/mng-2.0/
 
 %changelog

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.B0inXK/_old  2014-06-02 07:04:17.0 +0200
+++ /var/tmp/diff_new_pack.B0inXK/_new  

commit libmng for openSUSE:Factory

2013-04-16 Thread h_root
Hello community,

here is the log from the commit of package libmng for openSUSE:Factory checked 
in at 2013-04-17 07:16:09

Comparing /work/SRC/openSUSE:Factory/libmng (Old)
 and  /work/SRC/openSUSE:Factory/.libmng.new (New)


Package is libmng, Maintainer is nadvor...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libmng/libmng.changes2012-02-03 
10:23:41.0 +0100
+++ /work/SRC/openSUSE:Factory/.libmng.new/libmng.changes   2013-04-17 
07:16:11.0 +0200
@@ -1,0 +2,6 @@
+Mon Apr 15 12:37:05 UTC 2013 - mmeis...@suse.com
+
+- Added url as source.
+  Please see http://en.opensuse.org/SourceUrls
+
+---



Other differences:
--
++ libmng.spec ++
--- /var/tmp/diff_new_pack.BTXXRg/_old  2013-04-17 07:16:12.0 +0200
+++ /var/tmp/diff_new_pack.BTXXRg/_new  2013-04-17 07:16:12.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libmng
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -32,7 +32,7 @@
 %endif
 #
 Url:http://www.libmng.com/
-Source0:libmng-%{version}.tar.bz2
+Source0:
http://downloads.sourceforge.net/project/%{name}/%{name}-devel/%{version}/%{name}-%{version}.tar.bz2
 Source1:baselibs.conf
 Patch1: libmng.diff
 Patch2: libmng-no-jpeg.diff

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit libmng for openSUSE:Factory

2012-02-03 Thread h_root
Hello community,

here is the log from the commit of package libmng for openSUSE:Factory checked 
in at 2012-02-03 10:23:38

Comparing /work/SRC/openSUSE:Factory/libmng (Old)
 and  /work/SRC/openSUSE:Factory/.libmng.new (New)


Package is libmng, Maintainer is nadvor...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/libmng/libmng.changes2011-09-23 
02:08:59.0 +0200
+++ /work/SRC/openSUSE:Factory/.libmng.new/libmng.changes   2012-02-03 
10:23:41.0 +0100
@@ -1,0 +2,13 @@
+Wed Feb  1 11:19:24 UTC 2012 - idon...@suse.com
+
+- Remove contrib directory during build, its unused and might
+  confuse licensing, bnc#744320
+
+---
+Mon Nov 21 17:59:42 UTC 2011 - jeng...@medozas.de
+
+- Remove redundant/unwanted tags/section (cf. specfile guidelines)
+- Use %_smp_mflags for parallel building
+- Do shlib policy packaging
+
+---



Other differences:
--
++ libmng.spec ++
--- /var/tmp/diff_new_pack.7nWUzs/_old  2012-02-03 10:23:42.0 +0100
+++ /var/tmp/diff_new_pack.7nWUzs/_new  2012-02-03 10:23:42.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package libmng (Version 1.0.10)
+# spec file for package libmng
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,25 +15,26 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   libmng
-BuildRequires:  libjpeg-devel liblcms-devel zlib-devel
-License:GPLv2+ ; Other uncritical OpenSource License
-Group:  System/Libraries
-Summary:Library for Support of MNG and JNG Formats
 Version:1.0.10
-Release:93
+Release:0
+Summary:Library for Support of MNG and JNG Formats
+License:Zlib
+Group:  Development/Libraries/C and C++
+%define lname  libmng1
+BuildRequires:  libjpeg-devel
+BuildRequires:  liblcms-devel
+BuildRequires:  zlib-devel
 # bug437293
 %ifarch ppc64
 Obsoletes:  libmng-64bit
 %endif
 #
 Url:http://www.libmng.com/
-Source0:libmng-%version.tar.bz2
+Source0:libmng-%{version}.tar.bz2
 Source1:baselibs.conf
-Patch:  libmng.diff
+Patch1: libmng.diff
 Patch2: libmng-no-jpeg.diff
 Patch3: libmng-1.0.9-dont-leak-zlib-streams.diff
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
@@ -42,17 +43,24 @@
 This library can handle MNG and JNG formats that contain animated
 pictures. These formats should replace the GIF format.
 
+%package -n %lname
+Summary:Library for Support of MNG and JNG Formats
+Group:  System/Libraries
+# O/P added 2011-11-29
+Obsoletes:  libmng  %{version}-%{release}
+Provides:   libmng = %{version}-%{release}
 
-
-Authors:
-
-Gerard Juyn ger...@libmng.com
+%description -n %lname
+This library can handle MNG and JNG formats that contain animated
+pictures. These formats should replace the GIF format.
 
 %package devel
-License:GPLv2+ ; Other uncritical OpenSource License
-Requires:   libjpeg-devel %{name} = %{version} liblcms-devel zlib-devel
-Summary:Include Files and Libraries mandatory for Development.
+Summary:Include Files and Libraries mandatory for Development
 Group:  Development/Libraries/C and C++
+Requires:   %lname = %{version}
+Requires:   libjpeg-devel
+Requires:   liblcms-devel
+Requires:   zlib-devel
 # bug437293
 %ifarch ppc64
 Obsoletes:  libmng-devel-64bit
@@ -65,48 +73,46 @@
 
 This package contains the static library and the header files.
 
-
-
-Authors:
-
-Gerard Juyn ger...@libmng.com
-
 %prep
 %setup -q
-%patch
+%patch1
 %patch3
 
 %build
-make %{?jobs:-j%jobs} -f makefiles/makefile.linux _LIB=%_lib
+
+# This is not zlib licensed and unused, just as a caution, bnc#744320
+rm -rf contrib
+
+make %{?_smp_mflags} -f makefiles/makefile.linux _LIB=%{_lib}
 
 %install
-make -f makefiles/makefile.linux DESTDIR=$RPM_BUILD_ROOT _LIB=%_lib install
-mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3/ $RPM_BUILD_ROOT/%{_mandir}/man5/
-install -m 0644 doc/man/*.3 $RPM_BUILD_ROOT/%{_mandir}/man3/
-install -m 0644 doc/man/*.5 $RPM_BUILD_ROOT/%{_mandir}/man5/
+make -f makefiles/makefile.linux DESTDIR=%{buildroot} _LIB=%{_lib} install
+mkdir -p %{buildroot}/%{_mandir}/man3/ %{buildroot}/%{_mandir}/man5/
+install -m 0644 doc/man/*.3 %{buildroot}/%{_mandir}/man3/
+install -m 0644 doc/man/*.5