diff --git a/libwnck.changes b/libwnck.changes index acc8940..6924f40 100644 --- a/libwnck.changes +++ b/libwnck.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:36:40 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Fri Jul 28 08:24:24 UTC 2017 - zaitor@opensuse.org diff --git a/libwnck.spec b/libwnck.spec index 8a7f9a1..635c84c 100644 --- a/libwnck.spec +++ b/libwnck.spec @@ -1,7 +1,7 @@ # # spec file for package libwnck # -# 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 # remain the property of their copyright owners, unless otherwise agreed @@ -20,22 +20,22 @@ Name: libwnck Version: 3.24.1 Release: 0 Summary: Window Navigator Construction Kit (Library Package) -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/GNOME -Url: https://git.gnome.org/browse/libwnck +URL: https://git.gnome.org/browse/libwnck Source: http://download.gnome.org/sources/libwnck/3.24/%{name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: fdupes BuildRequires: gettext BuildRequires: gobject-introspection-devel -%if !0%{?is_opensuse} -BuildRequires: translation-update-upstream -%endif +BuildRequires: pkgconfig BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0 BuildRequires: pkgconfig(libstartup-notification-1.0) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xres) -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if !0%{?is_opensuse} +BuildRequires: translation-update-upstream +%endif %description The Window Navigator Construction Kit is a library that can be used to @@ -44,13 +44,9 @@ write task lists, pagers, and similar GNOME programs. %package -n libwnck-3-0 Summary: Window Navigator Construction Kit (Library Package) Group: Development/Libraries/GNOME +Recommends: %{name}-lang Provides: %{name} = %{version} Obsoletes: %{name} < %{version} -Recommends: %{name}-lang -# bug437293 -%ifarch ppc64 -Obsoletes: libwnck-64bit -%endif # %description -n libwnck-3-0 @@ -82,10 +78,6 @@ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/GNOME Requires: libwnck-3-0 = %{version} Requires: typelib-1_0-Wnck-3_0 = %{version} -# bug437293 -%ifarch ppc64 -Obsoletes: libwnck-devel-64bit -%endif Obsoletes: libwnck-doc < %{version} Provides: libwnck-doc = %{version} @@ -94,6 +86,7 @@ This package contains all necessary include files and libraries needed to develop applications that require these. %lang_package + %prep %setup -q %if !0%{?is_opensuse} @@ -104,39 +97,32 @@ translation-update-upstream %build %configure\ --disable-static -%__make %{?jobs:-j%jobs} V=1 +make %{?_smp_mflags} V=1 %install -%makeinstall +%make_install rm %{buildroot}%{_libdir}/*.*a %find_lang %{name}-3.0 %fdupes %{buildroot} -%clean -rm -rf %{buildroot} - %post -n libwnck-3-0 -p /sbin/ldconfig - %postun -n libwnck-3-0 -p /sbin/ldconfig %files tools -%defattr(-,root,root) %{_bindir}/wnck-urgency-monitor %{_bindir}/wnckprop %files lang -f %{name}-3.0.lang %files -n libwnck-3-0 -%defattr(-,root,root) -%doc AUTHORS COPYING README NEWS ChangeLog +%license COPYING +%doc AUTHORS README NEWS ChangeLog %{_libdir}/*.so.* %files -n typelib-1_0-Wnck-3_0 -%defattr(-,root,root) %{_libdir}/girepository-1.0/Wnck-3.0.typelib %files devel -%defattr(-,root,root) %{_includedir}/libwnck-3.0/ %{_libdir}/pkgconfig/libwnck-3.0.pc %{_libdir}/*.so