Accepting request 583528 from GNOME:Next

Scripted push of project GNOME:Next

OBS-URL: https://build.opensuse.org/request/show/583528
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/pangomm?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2018-03-09 10:01:16 +00:00 committed by Git OBS Bridge
parent 444abdb548
commit 89360bb46b
4 changed files with 72 additions and 40 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:db36e8d09c8a4a16b07cd00715c10c2bc8dd99bb1db9b76413426694148db7ef
size 819680

3
pangomm-2.41.5.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5131830d5b37b181ca4fa8f641ad86faa985c0bb7dcc833c98672d294367b304
size 841780

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Wed Feb 28 16:38:19 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Sat Feb 24 22:55:06 UTC 2018 - luc14n0@linuxmail.org
- Update to version 2.41.5:
+ No visible changes.
- Update '+' in GPL/LGPL License tags to '-or-later', add GPL
version 3 and change LGPL version to 2.1 in the preamble's
License tag. And add GPL/LGPL License tags to all subpackages to
comply with the copyrights.
- Update packages descriptions to show more explictly subpackages'
content.
- Drop unneeded standard BuildRoot tag declaration: RPM already
handles this itself.
- Point fdupes to the data directory under the build root instead
of the build root directly, which is a practice that must be
avoided.
- Recommend the documentation subpackage.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 9 08:58:18 UTC 2017 - jengelh@inai.de Sat Sep 9 08:58:18 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package pangomm # spec file for package pangomm
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,52 +16,62 @@
# #
# Update baselibs.conf when changing this %define base_ver 2.42
%define so_ver -2_42-1 # Update baselibs.conf when changing the version here
%define libname lib%{name}-2_42-1
Name: pangomm Name: pangomm
Version: 2.41.4 Version: 2.41.5
Release: 0 Release: 0
Summary: C++ interface for pango Summary: C++ interface for pango
License: GPL-2.0+ and LGPL-2.0+ License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-3.0-only
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://www.gtkmm.org URL: https://www.gtkmm.org
Source: http://download.gnome.org/sources/pangomm/2.41/%{name}-%{version}.tar.xz Source: http://download.gnome.org/sources/%{name}/2.41/%{name}-%{version}.tar.xz
Source99: baselibs.conf Source99: baselibs.conf
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cairomm-1.16) >= 1.2.2 BuildRequires: pkgconfig(cairomm-1.16) >= 1.2.2
BuildRequires: pkgconfig(glibmm-2.56) BuildRequires: pkgconfig(glibmm-2.56) >= 2.55.1
BuildRequires: pkgconfig(pangocairo) >= 1.38.0 BuildRequires: pkgconfig(pangocairo) >= 1.38.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build Recommends: %{name}-doc = %{version}
%description %description
pangomm provides a C++ interface to the pango library. Pangomm provides a C++ interface to the pango library.
%package -n libpangomm%{so_ver} %package -n %{libname}
Summary: C++ interface for pango Summary: C++ interface for Pango -- Shared Library
License: LGPL-2.1-or-later
Group: System/Libraries Group: System/Libraries
%description -n libpangomm%{so_ver} %description -n %{libname}
pangomm provides a C++ interface to the pango library. Pangomm provides a C++ interface to the pango library.
This package contains the Pangomm's shared library.
%package devel %package devel
Summary: Development files for pangomm, a C++ API for Pango Summary: C++ interface for Pango -- Development Files
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libpangomm%{so_ver} = %{version} Requires: %{libname} >= %{version}
%description devel %description devel
pangomm provides a C++ interface to the pango library. Pangomm provides a C++ interface to the pango library.
This package contains all the necessary files for development with Pangomm.
%package doc %package doc
Summary: Developer documentation for pangomm, a C++ interface for Pango Summary: C++ interface for Pango -- Documentation
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Group: Documentation/HTML Group: Documentation/HTML
%description doc %description doc
pangomm provides a C++ interface to the pango library. Pangomm provides a C++ interface to the pango library.
This package contains the documentation files for Pangomm.
%prep %prep
%setup %setup -q
%build %build
%configure --disable-static %configure --disable-static
@ -69,29 +79,28 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
rm %{buildroot}%{_libdir}/*.la find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}/%{_prefix} %fdupes %{buildroot}/%{_prefix}
%post -n libpangomm%{so_ver} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%postun -n libpangomm%{so_ver} -p /sbin/ldconfig %files -n %{libname}
%license COPYING
%files -n libpangomm%{so_ver} %doc NEWS
%defattr (-, root, root) %{_libdir}/libpangomm-%{base_ver}.so.*
%doc AUTHORS NEWS README
%{_libdir}/*.so.*
%files devel %files devel
%defattr (-, root, root) %license COPYING.tools
%{_includedir}/* %{_includedir}/pangomm-%{base_ver}/
%{_libdir}/*.so %{_libdir}/libpangomm-%{base_ver}.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/pangomm-%{base_ver}.pc
%{_libdir}/pangomm-2.42 %{_libdir}/pangomm-%{base_ver}
%files doc %files doc
%defattr (-, root, root) %doc AUTHORS README
%{_datadir}/devhelp/books/pangomm-2.42/ %{_datadir}/devhelp/books/pangomm-%{base_ver}/
%{_datadir}/doc/pangomm-2.42/ %{_datadir}/doc/pangomm-%{base_ver}/
# Avoid BuildRequires on devhelp # Avoid BuildRequires on devhelp
%dir %{_datadir}/devhelp %dir %{_datadir}/devhelp
%dir %{_datadir}/devhelp/books %dir %{_datadir}/devhelp/books