Hello community,

here is the log from the commit of package xclass for openSUSE:Factory checked 
in at 2014-11-03 13:12:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xclass (Old)
 and      /work/SRC/openSUSE:Factory/.xclass.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xclass"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xclass/xclass.changes    2013-03-01 
09:06:26.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xclass.new/xclass.changes       2014-11-03 
13:13:28.000000000 +0100
@@ -1,0 +2,11 @@
+Thu Oct 30 17:35:58 UTC 2014 - [email protected]
+
+- fix -devel package requires fixes build of rfb in factory 
+
+-------------------------------------------------------------------
+Sun Oct 19 03:15:43 UTC 2014 - [email protected]
+
+- Run spec cleaner
+- Discontinue use of metapackage xorg-x11-devel
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xclass.spec ++++++
--- /var/tmp/diff_new_pack.LBCNRD/_old  2014-11-03 13:13:32.000000000 +0100
+++ /var/tmp/diff_new_pack.LBCNRD/_new  2014-11-03 13:13:32.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xclass
 #
-# 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,9 +17,6 @@
 
 
 Name:           xclass
-BuildRequires:  autoconf
-BuildRequires:  gcc-c++
-BuildRequires:  xorg-x11-devel
 Version:        0.9.2
 Release:        0
 Summary:        Library for Uniform Presentation of fvwm95 Programs
@@ -31,6 +28,12 @@
 Patch1:         %{name}-%{version}-gcc-3.1.patch
 Patch2:         %{name}-%{version}-gcc-4.0.patch
 Patch3:         %{name}-%{version}-gcc-4.1.patch
+BuildRequires:  autoconf
+BuildRequires:  gcc-c++
+BuildRequires:  pkgconfig(gl)
+BuildRequires:  pkgconfig(x11)
+BuildRequires:  pkgconfig(xext)
+BuildRequires:  pkgconfig(xpm)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -42,6 +45,11 @@
 License:        LGPL-2.1+
 Group:          System/Libraries
 Requires:       %{name} = %{version}
+Requires:       libstdc++-devel
+Requires:       pkgconfig
+Requires:       pkgconfig(gl)
+Requires:       pkgconfig(x11)
+Requires:       pkgconfig(xpm)
 
 %description devel
 This package contains development files for xclass library.
@@ -55,43 +63,33 @@
 
 %build
 autoconf
-CXXFLAGS="$RPM_OPT_FLAGS" \
-./configure --prefix=%{_prefix} \
-       --libdir=%{_libdir} \
-        --sysconfdir=/etc \
-        --enable-debug=no
-make shared
-make all
+%configure --enable-debug=no
+make %{?_smp_mflags} shared
+make %{?_smp_mflags} all
 
 %install
-rm -rf $RPM_BUILD_ROOT
 mv lib/libxclass/icons/*.xpm icons/
-make DESTDIR=$RPM_BUILD_ROOT install 
-make DESTDIR=$RPM_BUILD_ROOT install_shared
-install -m 644 include/xclass/XCconfig.h 
$RPM_BUILD_ROOT%{_prefix}/include/XCconfig.h
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+make DESTDIR=%{buildroot} install_shared
+install -m 644 include/xclass/XCconfig.h %{buildroot}%{_includedir}/XCconfig.h
 
-%post
-%run_ldconfig
+%post -p /sbin/ldconfig
 
-%postun
-%run_ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
 %doc %{_defaultdocdir}/%{name}/
-%config /etc/xclassrc
+%config %{_sysconfdir}/xclassrc
 %{_datadir}/xclass/
 %{_libdir}/libxclass.so.*
 
 %files devel
 %defattr(-,root,root)
-%{_prefix}/bin/xc-config
-%{_prefix}/include/XCconfig.h
-%{_prefix}/include/xclass/
-%{_libdir}/libxclass.a
+%{_bindir}/xc-config
+%{_includedir}/XCconfig.h
+%{_includedir}/xclass/
+%exclude %{_libdir}/libxclass.a
 %{_libdir}/libxclass.so
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to