Accepting request 581258 from GNOME:Next
spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581258 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libwnck?expand=0&rev=111
This commit is contained in:
parent
6750b7626f
commit
ffacd7d99d
@ -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
|
Fri Jul 28 08:24:24 UTC 2017 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
40
libwnck.spec
40
libwnck.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libwnck
|
# 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
|
# 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
|
||||||
@ -20,22 +20,22 @@ Name: libwnck
|
|||||||
Version: 3.24.1
|
Version: 3.24.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Window Navigator Construction Kit (Library Package)
|
Summary: Window Navigator Construction Kit (Library Package)
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/GNOME
|
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
|
Source: http://download.gnome.org/sources/libwnck/3.24/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
BuildRequires: gobject-introspection-devel
|
BuildRequires: gobject-introspection-devel
|
||||||
%if !0%{?is_opensuse}
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: translation-update-upstream
|
|
||||||
%endif
|
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
|
||||||
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
BuildRequires: pkgconfig(xres)
|
BuildRequires: pkgconfig(xres)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%if !0%{?is_opensuse}
|
||||||
|
BuildRequires: translation-update-upstream
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Window Navigator Construction Kit is a library that can be used to
|
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
|
%package -n libwnck-3-0
|
||||||
Summary: Window Navigator Construction Kit (Library Package)
|
Summary: Window Navigator Construction Kit (Library Package)
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
|
Recommends: %{name}-lang
|
||||||
Provides: %{name} = %{version}
|
Provides: %{name} = %{version}
|
||||||
Obsoletes: %{name} < %{version}
|
Obsoletes: %{name} < %{version}
|
||||||
Recommends: %{name}-lang
|
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: libwnck-64bit
|
|
||||||
%endif
|
|
||||||
#
|
#
|
||||||
|
|
||||||
%description -n libwnck-3-0
|
%description -n libwnck-3-0
|
||||||
@ -82,10 +78,6 @@ Summary: Include Files and Libraries mandatory for Development
|
|||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Requires: libwnck-3-0 = %{version}
|
Requires: libwnck-3-0 = %{version}
|
||||||
Requires: typelib-1_0-Wnck-3_0 = %{version}
|
Requires: typelib-1_0-Wnck-3_0 = %{version}
|
||||||
# bug437293
|
|
||||||
%ifarch ppc64
|
|
||||||
Obsoletes: libwnck-devel-64bit
|
|
||||||
%endif
|
|
||||||
Obsoletes: libwnck-doc < %{version}
|
Obsoletes: libwnck-doc < %{version}
|
||||||
Provides: 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.
|
to develop applications that require these.
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%if !0%{?is_opensuse}
|
%if !0%{?is_opensuse}
|
||||||
@ -104,39 +97,32 @@ translation-update-upstream
|
|||||||
%build
|
%build
|
||||||
%configure\
|
%configure\
|
||||||
--disable-static
|
--disable-static
|
||||||
%__make %{?jobs:-j%jobs} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%make_install
|
||||||
rm %{buildroot}%{_libdir}/*.*a
|
rm %{buildroot}%{_libdir}/*.*a
|
||||||
%find_lang %{name}-3.0
|
%find_lang %{name}-3.0
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%post -n libwnck-3-0 -p /sbin/ldconfig
|
%post -n libwnck-3-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libwnck-3-0 -p /sbin/ldconfig
|
%postun -n libwnck-3-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/wnck-urgency-monitor
|
%{_bindir}/wnck-urgency-monitor
|
||||||
%{_bindir}/wnckprop
|
%{_bindir}/wnckprop
|
||||||
|
|
||||||
%files lang -f %{name}-3.0.lang
|
%files lang -f %{name}-3.0.lang
|
||||||
|
|
||||||
%files -n libwnck-3-0
|
%files -n libwnck-3-0
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING README NEWS ChangeLog
|
%doc AUTHORS README NEWS ChangeLog
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-Wnck-3_0
|
%files -n typelib-1_0-Wnck-3_0
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/girepository-1.0/Wnck-3.0.typelib
|
%{_libdir}/girepository-1.0/Wnck-3.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_includedir}/libwnck-3.0/
|
%{_includedir}/libwnck-3.0/
|
||||||
%{_libdir}/pkgconfig/libwnck-3.0.pc
|
%{_libdir}/pkgconfig/libwnck-3.0.pc
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user