commit compface for openSUSE:Factory

2014-10-08 Thread h_root
Hello community,

here is the log from the commit of package compface for openSUSE:Factory 
checked in at 2014-10-08 22:14:07

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


Package is compface

Changes:

--- /work/SRC/openSUSE:Factory/compface/compface.changes2012-04-17 
21:58:10.0 +0200
+++ /work/SRC/openSUSE:Factory/.compface.new/compface.changes   2014-10-08 
22:14:21.0 +0200
@@ -1,0 +2,12 @@
+Wed Oct  8 12:45:25 UTC 2014 - tchva...@suse.com
+
+- Grab patches from debian to actually work correctly
+  * added compface-1.5.2-destdir.diff
+  * added libcompface_1.5.2-5.diff.gz
+  * modified compface-1.5.2.diff
+- Create test to verify the thing works
+  * added compface-test.xbm
+- Use shared library
+- Cleanup the specfile
+
+---

New:

  compface-1.5.2-destdir.diff
  compface-test.xbm
  libcompface_1.5.2-5.diff.gz



Other differences:
--
++ compface.spec ++
--- /var/tmp/diff_new_pack.7CnfZu/_old  2014-10-08 22:14:22.0 +0200
+++ /var/tmp/diff_new_pack.7CnfZu/_new  2014-10-08 22:14:22.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package compface
 #
-# Copyright (c) 2011 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
@@ -15,16 +15,23 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   compface
-Summary:48x48x1 Image Compression and Decompression
 Version:1.5.2
 Release:0
-Group:  Productivity/Graphics/Convertors
+Summary:Library and tools for handling X-Face data
 License:MIT
+Group:  Productivity/Graphics/Convertors
+Url:http://www.xemacs.org/Download/optLibs.html
 Source: http://ftp.xemacs.org/pub/xemacs/aux/compface-%{version}.tar.gz
 Source1:xbm2face
-Patch:  compface-%{version}.diff
+Source2:compface-test.xbm
+Patch0: 
http://ftp.debian.org/debian/pool/main/libc/libcompface/libcompface_1.5.2-5.diff.gz
+Patch1: compface-1.5.2.diff
+Patch2: compface-1.5.2-destdir.diff
+BuildRequires:  autoconf
 BuildRequires:  automake
+BuildRequires:  libtool
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -35,39 +42,55 @@
 decompression algorithms to be used in other programs, such as mail
 dispatchers and mail notification daemons.
 
-
-
-Authors:
-
-James Ashton j...@cs.su.oz.au
+%packagedevel
+Summary:Library and development files for handling X-Face data
+Group:  Development/Libraries
+Requires:   %{name} = %{version}
+
+%descriptiondevel
+These files are needed when building software that uses the Compface
+library.
 
 %prep
-%setup
-%patch
+%setup -q
+%patch0 -p1
+%patch1
+%patch2
+
+# do not strip
+sed -i /strip/d Makefile.in
 
 %build
 autoreconf -fi
-CFLAGS=$RPM_OPT_FLAGS -fPIC INSTALL=install -D \
-./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
-make %{?jobs:-j%jobs}
+CFLAGS=%{optflags} -fPIC \
+%configure
+make %{?_smp_mflags}
 
 %install
-make install prefix=$RPM_BUILD_ROOT%{_prefix} \
-LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
-MANDIR=$RPM_BUILD_ROOT%{_mandir}
+%make_install
 sed -i 's/\r//' xbm2xface.pl
-install -m 755 xbm2xface.pl $RPM_BUILD_ROOT%{_prefix}/bin/xbm2xface
-install -m 755 $RPM_SOURCE_DIR/xbm2face $RPM_BUILD_ROOT%{_prefix}/bin
+install -m 755 xbm2xface.pl %{buildroot}%{_bindir}/xbm2xface
+install -m 755 $RPM_SOURCE_DIR/xbm2face %{buildroot}%{_prefix}/bin
+
+%check
+export LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH
+./compface %{SOURCE2} | ./uncompface -X  __test.xbm
+cmp %{SOURCE2} __test.xbm
+
+%post -p /sbin/ldconfig
 
-%clean
-rm -fr $RPM_BUILD_ROOT
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-, root, root)
 %doc README
-%{_prefix}/bin/*
-%{_prefix}/include/*
-%{_libdir}/lib*
+%{_bindir}/*
+%{_libdir}/*.so.*
 %doc %{_mandir}/man?/*
 
+%files devel
+%defattr(-, root, root)
+%{_includedir}/compface.h
+%{_libdir}/libcompface.so
+
 %changelog

++ compface-1.5.2-destdir.diff ++
o Build shared library, link tools against it
o Make it possible to prevent stripping
o Add DESTDIR support

--- Makefile.in~2005-10-04 15:59:49.0 +0300
+++ Makefile.in 2006-08-02 22:23:07.0 +0300
@@ -15,6 +15,7 @@
 INSTALL_PROGRAM = @INSTALL_PROGRAM@
 INSTALL_DATA= @INSTALL_DATA@
 SHELL   = /bin/sh
+STRIP   = strip
 
 NAME   = compface
 

commit compface for openSUSE:Factory

2012-04-17 Thread h_root
Hello community,

here is the log from the commit of package compface for openSUSE:Factory 
checked in at 2012-04-17 21:57:38

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


Package is compface, Maintainer is sch...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/compface/compface.changes2012-01-20 
22:06:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.compface.new/compface.changes   2012-04-17 
21:58:10.0 +0200
@@ -1,0 +2,6 @@
+Tue Mar 27 08:08:10 UTC 2012 - cfarr...@suse.com
+
+- license update: MIT
+  Use SPDX license
+
+---



Other differences:
--
++ compface.spec ++
--- /var/tmp/diff_new_pack.h6cY8o/_old  2012-04-17 21:58:11.0 +0200
+++ /var/tmp/diff_new_pack.h6cY8o/_new  2012-04-17 21:58:11.0 +0200
@@ -20,7 +20,7 @@
 Version:1.5.2
 Release:0
 Group:  Productivity/Graphics/Convertors
-License:PERMISSIVE-OSI-COMPLIANT
+License:MIT
 Source: http://ftp.xemacs.org/pub/xemacs/aux/compface-%{version}.tar.gz
 Source1:xbm2face
 Patch:  compface-%{version}.diff

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



commit compface for openSUSE:Factory

2012-01-20 Thread h_root
Hello community,

here is the log from the commit of package compface for openSUSE:Factory 
checked in at 2012-01-20 22:06:48

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


Package is compface, Maintainer is sch...@novell.com

Changes:

--- /work/SRC/openSUSE:Factory/compface/compface.changes2011-09-23 
01:53:56.0 +0200
+++ /work/SRC/openSUSE:Factory/.compface.new/compface.changes   2012-01-20 
22:06:50.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec  2 07:46:55 UTC 2011 - co...@suse.com
+
+- add automake as buildrequire to avoid implicit dependency
+
+---



Other differences:
--
++ compface.spec ++
--- /var/tmp/diff_new_pack.fWPP6P/_old  2012-01-20 22:06:51.0 +0100
+++ /var/tmp/diff_new_pack.fWPP6P/_new  2012-01-20 22:06:51.0 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package compface (Version 1.5.2)
+# spec file for package compface
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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,18 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:   compface
 Summary:48x48x1 Image Compression and Decompression
 Version:1.5.2
-Release:136
+Release:0
 Group:  Productivity/Graphics/Convertors
 License:PERMISSIVE-OSI-COMPLIANT
 Source: http://ftp.xemacs.org/pub/xemacs/aux/compface-%{version}.tar.gz
 Source1:xbm2face
 Patch:  compface-%{version}.diff
+BuildRequires:  automake
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description

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