Hello community, here is the log from the commit of package fox16 for openSUSE:Factory checked in at 2014-12-16 14:49:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fox16 (Old) and /work/SRC/openSUSE:Factory/.fox16.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fox16" Changes: -------- --- /work/SRC/openSUSE:Factory/fox16/fox16.changes 2014-08-25 11:05:13.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fox16.new/fox16.changes 2014-12-16 14:49:14.000000000 +0100 @@ -1,0 +2,13 @@ +Mon Dec 15 13:36:33 UTC 2014 - [email protected] + +- the -devel-static package must require the -devel-package, + see https://en.opensuse.org/openSUSE:Packaging_guidelines#Exception + +------------------------------------------------------------------- +Fri Aug 29 08:46:42 UTC 2014 - [email protected] + +- Use verifiable https://en.opensuse.org/SourceUrls and + original tarball +- Follow shared library package naming guidelines a bit closer + +------------------------------------------------------------------- Old: ---- fox-1.6.50.tar.bz2 New: ---- fox-1.6.50.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fox16.spec ++++++ --- /var/tmp/diff_new_pack.Z4yYKp/_old 2014-12-16 14:49:15.000000000 +0100 +++ /var/tmp/diff_new_pack.Z4yYKp/_new 2014-12-16 14:49:15.000000000 +0100 @@ -17,14 +17,15 @@ Name: fox16 +%define lname libFOX-1_6-0 Version: 1.6.50 Release: 0 Summary: Shared Libraries for the FOX Toolkit License: LGPL-2.1+ Group: Development/Languages/C and C++ Url: http://www.fox-toolkit.org/ -%define soname 1_6 -Source: fox-%{version}.tar.bz2 + +Source: ftp://ftp.fox-toolkit.org/pub/fox-%version.tar.gz Source1: calculator.png Source2: pathfinder.png Source3: adie.png @@ -48,8 +49,6 @@ BuildRequires: pkgconfig(glu) %endif BuildRequires: zlib-devel -Requires: libfox%soname = %{version} -Provides: fox = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build # # SUSE requires @@ -103,18 +102,22 @@ graphics. Subclassing of basic FOX widgets allows for easy extension beyond the built-in widgets by application writers. -%package -n libfox1_6 -Summary: Shared Libraries for the FOX Toolkit -Group: Development/Languages/C and C++ +%package -n %lname +Summary: Shared libraries for the FOX toolkit 1.6 +Group: System/Libraries +Provides: fox = %version +# Added O/P in 13.2 +Provides: libfox1_6 = %version-%release +Obsoletes: libfox1_6 < %version-%release -%description -n libfox%soname +%description -n %lname This package contains the shared libraries needed by applications compiled with the FOX GUI Toolkit. %package devel -Summary: Development Files and Documentation for the FOX GUI Toolkit +Summary: Development Files and Documentation for the FOX GUI Toolkit 1.6 Group: Development/Languages/C and C++ -Requires: %{name} = %{version} +Requires: %{lname} = %{version} Requires: bzip2 Requires: cups-devel Requires: cups-libs @@ -129,7 +132,7 @@ Requires: pkgconfig(glu) %endif Requires: zlib-devel -Provides: fox-devel = %{version} +Provides: fox-devel = %{version}-%{release} # # SUSE requires # @@ -171,13 +174,26 @@ The devel package contains the files necessary to develop applications using the FOX GUI toolkit: the header files, the reswrap resource -compiler, manual pages, and HTML documentation. +compiler, and manual pages. + +%package doc +Summary: Documentation for the FOX Toolkit 1.6 +Group: Documentation/HTML +%if 0%{?suse_version} >= 1130 || !0%{?suse_version} +BuildArch: noarch +%endif + +%description doc +FOX is a C++-based library for graphical user interface development. + +The doc subpackage contains the HTML documentation to the FOX toolkit 1.6. %package devel-static -Summary: Static Libraries for the FOX Toolkit +Summary: Static Libraries for the FOX Toolkit 1.6 Group: Development/Languages/C and C++ Provides: %name-static = %version-%release Obsoletes: %name-static < 1.6.36 +Requires: %name-devel = %version # skip dependency checks required by libtool .la files => skip-check-libtool-deps %description devel-static @@ -189,7 +205,6 @@ %package example-apps Summary: Example applications for the FOX GUI toolkit Group: Development/Languages/C and C++ -Requires: %{name} Provides: fox-example-apps = %{version} %description example-apps @@ -257,24 +272,23 @@ %suse_update_desktop_file adie %endif -%post -n libfox1_6 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libfox1_6 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %post devel test -f %{_bindir}/fox-config || ln -s fox16-config %{_bindir}/fox-config test -f %{_bindir}/reswrap || ln -s reswrap16 %{_bindir}/reswrap test -f %{_mandir}/man1/reswrap.1.gz || ln -s reswrap16.1.gz %{_mandir}/man1/reswrap.1.gz -%files -%defattr(644, root, root, 0755) +%files doc +%defattr(-,root,root) %doc %{_defaultdocdir}/%{name} -%files -n libfox1_6 +%files -n %lname %defattr(-, root, root) -%{_libdir}/libFOX-*.so* -%{_libdir}/libCHART-*.so* -%exclude %{_libdir}/*.so +%{_libdir}/libFOX-*.so.* +%{_libdir}/libCHART-*.so.* %files devel %defattr(-,root,root) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
