Hello community, here is the log from the commit of package IccXML for openSUSE:Factory checked in at 2015-12-16 17:42:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/IccXML (Old) and /work/SRC/openSUSE:Factory/.IccXML.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "IccXML" Changes: -------- --- /work/SRC/openSUSE:Factory/IccXML/IccXML.changes 2014-09-10 17:03:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.IccXML.new/IccXML.changes 2015-12-16 17:43:32.000000000 +0100 @@ -1,0 +2,8 @@ +Sat Dec 12 19:31:06 UTC 2015 - [email protected] + +- Use url for source +- Cleanup spec-file with spec-cleaner +- Remove explicit build requirement for library +- Do not ship static library in devel package + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ IccXML.spec ++++++ --- /var/tmp/diff_new_pack.6pQIrk/_old 2015-12-16 17:43:33.000000000 +0100 +++ /var/tmp/diff_new_pack.6pQIrk/_new 2015-12-16 17:43:33.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package IccXML # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2011-2014 Kai-Uwe Behrmann # # All modifications and additions to the file contributed by third parties @@ -17,60 +17,58 @@ # +%define somajor 2 Name: IccXML Version: 0.9.8 Release: 0 -Source: %{name}-%{version}.tar.gz Summary: Color Management XML tools License: BSD-3-Clause Group: Development/Libraries/Other - Url: http://sourceforge.net/projects/iccxml/ -BuildRoot: %{_tmppath}/%{name}-%{version}-build - +Source: http://sourceforge.net/projects/iccxml/files/IccXML-Src/IccXML-%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: libSampleICC-devel -BuildRequires: libSampleICC1 BuildRequires: libxml2-devel -BuildRequires: pkgconfig - -%package -n lib%{name}2 -Summary: Colour Management Libraries -Group: Development/Libraries/Other - -%package -n lib%{name}-devel -Summary: Headers, Configuration and static Libs + Documentation -Group: Development/Libraries/Other -Requires: lib%{name}2 = %{version} +BuildRequires: pkg-config +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Tools to read convert ICC profiles to and from XML files -%description -n lib%{name}2 +%package -n lib%{name}%{somajor} +Summary: Colour Management Libraries +Group: Development/Libraries/Other + +%description -n lib%{name}%{somajor} IccLibXML library acts as an extension of SampleICC's IccProfLib. This extension provides inherited classes for the classes in IccProfLib that provide additional I/O routines to read and write the classes as XML files +%package -n lib%{name}-devel +Summary: Headers, Configuration and static Libs + Documentation +Group: Development/Libraries/Other +Requires: lib%{name}%{somajor} = %{version} + %description -n lib%{name}-devel Header files, libraries and documentation for development of Color Management applications. - %prep -%setup -n %{name}-%{version} +%setup -q %build -%configure +%configure \ + --disable-static %install -make %{_smp_mflags} -make DESTDIR=%{buildroot} install -rm %{buildroot}/%{_libdir}/lib*.la +make +make DESTDIR=%{buildroot} install %{?_smp_mflags} +find %{buildroot} -type f -name "*.la" -delete -print -%post -n lib%{name}2 -p /sbin/ldconfig +%post -n lib%{name}%{somajor} -p /sbin/ldconfig -%postun -n lib%{name}2 -p /sbin/ldconfig +%postun -n lib%{name}%{somajor} -p /sbin/ldconfig %files %defattr(-, root, root) @@ -81,7 +79,7 @@ %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog README %doc XMLSchema/SampleIccRELAX.rng XMLSchema/SampleIccRELAX.rnc -%{_libdir}/lib%{name}.so.* +%{_libdir}/lib%{name}.so.%{somajor}* %files -n lib%{name}-devel %defattr(-, root, root) @@ -90,6 +88,5 @@ %dir %{_includedir}/%{name} %{_includedir}/%{name}/*.h %{_libdir}/pkgconfig/iccxml.pc -%{_libdir}/lib%{name}.a %changelog
