Hello community, here is the log from the commit of package libXcm for openSUSE:Factory checked in at 2014-10-23 14:21:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libXcm (Old) and /work/SRC/openSUSE:Factory/.libXcm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libXcm" Changes: -------- --- /work/SRC/openSUSE:Factory/libXcm/libXcm.changes 2014-05-13 20:45:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libXcm.new/libXcm.changes 2014-10-23 14:21:26.000000000 +0200 @@ -1,0 +2,22 @@ +Thu Oct 23 08:51:29 UTC 2014 - [email protected] + +- Add debian stuff to sources so it actually can be SR# to Factory + +------------------------------------------------------------------- +Mon Oct 13 14:59:42 UTC 2014 - [email protected] + +- Simplify the deps so it builds everywhere using pc files. + Readability++ + +------------------------------------------------------------------- +Mon Oct 13 14:46:08 UTC 2014 - [email protected] + +- Fix sle11 build. + +------------------------------------------------------------------- +Wed Oct 1 20:44:48 UTC 2014 - [email protected] + +- Cleanup buildRequires so only what is really needed + gets pulled for build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libXcm.spec ++++++ --- /var/tmp/diff_new_pack.2PzYY4/_old 2014-10-23 14:21:27.000000000 +0200 +++ /var/tmp/diff_new_pack.2PzYY4/_new 2014-10-23 14:21:27.000000000 +0200 @@ -16,57 +16,28 @@ # +Name: libXcm Version: 0.5.3 Release: 0 Summary: X Color Management Library License: MIT Group: System/Libraries - -Name: libXcm - Url: http://www.oyranos.org #Git-Clone: git://www.oyranos.org/git/xcolor Source: http://sourceforge.net/projects/oyranos/files/libXcm/libXcm-0.5/libXcm-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%if 0%{?suse_version} > 0 +Source1: libxcm_0.5.3.orig.tar.bz2 +Source2: libxcm_0.5.3-1.debian.tar.gz +Source3: libxcm.dsc BuildRequires: gcc-c++ BuildRequires: pkgconfig -BuildRequires: xorg-x11-Mesa -BuildRequires: xorg-x11-Mesa-devel -%endif -%if 0%{?suse_version} > 1010 -BuildRequires: Mesa -BuildRequires: Mesa-devel -BuildRequires: gcc-c++ -BuildRequires: pkgconfig -BuildRequires: xorg-x11 -BuildRequires: xorg-x11-devel -BuildRequires: xorg-x11-libX11 -BuildRequires: xorg-x11-libX11-devel -BuildRequires: xorg-x11-libXfixes -BuildRequires: xorg-x11-libXfixes-devel -BuildRequires: xorg-x11-libXmu-devel -BuildRequires: xorg-x11-libs -BuildRequires: xorg-x11-util-devel -%endif -%if 0%{?mandriva_version} > 0 -BuildRequires: Mesa -BuildRequires: gcc-c++ -BuildRequires: mesagl-devel -BuildRequires: pkgconfig -%endif -%if 0%{?fedora_version} > 0 -BuildRequires: Mesa +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} != 0 && 0%{?suse_version} < 1130 BuildRequires: Mesa-devel -BuildRequires: gcc-c++ -BuildRequires: libXfixes-devel -BuildRequires: libXmu-devel -BuildRequires: xdg-utils -BuildRequires: xorg-x11-Mesa-devel BuildRequires: xorg-x11-devel -BuildRequires: xorg-x11-proto-devel -BuildRequires: xorg-x11-xtrans-devel +%else +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xfixes) +BuildRequires: pkgconfig(xmu) %endif %package -n %{name}0 @@ -122,21 +93,19 @@ servers. A EDID parser and a color management event observer are included. The package contains headers and other development files. - - %prep %setup -q %build -%ifarch %arm -export CFLAGS="${RPM_OPT_FLAGS} -fPIC" -export CXXFLAGS="${RPM_OPT_FLAGS} -fPIC" +%ifarch %{arm} +export CFLAGS="%{optflags} -fPIC" +export CXXFLAGS="%{optflags} -fPIC" %endif %configure --disable-static make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install +make DESTDIR=%{buildroot} install %{?_smp_mflags} #Remove installed doc rm -fr %{buildroot}/%{_datadir}/doc/%{name} @@ -145,16 +114,22 @@ touch -r ChangeLog doc/man/* # Remove libtool files -rm %{buildroot}/%{_libdir}/%{name}*.la +find %{buildroot} -type f -name "*.la" -delete -print %post -n %{name}0 -p /sbin/ldconfig + %post -n %{name}EDID0 -p /sbin/ldconfig + %post -n %{name}DDC0 -p /sbin/ldconfig + %post -n %{name}X11-0 -p /sbin/ldconfig %postun -n %{name}0 -p /sbin/ldconfig + %postun -n %{name}EDID0 -p /sbin/ldconfig + %postun -n %{name}DDC0 -p /sbin/ldconfig + %postun -n %{name}X11-0 -p /sbin/ldconfig %files -n %{name}0 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
