SHA256
1
0
forked from pool/libwnck

Accepting request 405447 from GNOME:Next

1

OBS-URL: https://build.opensuse.org/request/show/405447
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libwnck?expand=0&rev=105
This commit is contained in:
Bjørn Lie
2016-06-29 23:01:04 +00:00
committed by Git OBS Bridge
parent cd8057f626
commit 09762a8752
5 changed files with 49 additions and 47 deletions

View File

@@ -17,22 +17,21 @@
Name: libwnck
Version: 3.14.1
Version: 3.20.1
Release: 0
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
#%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libwnck-1)
%define libwnck-3_name 0
Summary: Window Navigator Construction Kit (Library Package)
License: LGPL-2.1+
Group: Development/Libraries/GNOME
Source: http://download.gnome.org/sources/libwnck/3.14/%{name}-%{version}.tar.xz
Source1: %{name}_spec-update.sh
Url: https://git.gnome.org/browse/libwnck
Source: http://download.gnome.org/sources/libwnck/3.20/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
BuildRequires: pkgconfig(gtk+-3.0) >= 3.10.0
%endif
BuildRequires: pkgconfig(gtk+-3.0) >= 3.16.0
BuildRequires: pkgconfig(libstartup-notification-1.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xres)
@@ -97,8 +96,10 @@ to develop applications that require these.
%lang_package
%prep
%setup -q
%if !0%{?is_opensuse}
translation-update-upstream
# rpmlint note: libwnck has a separate translation for both Bengali and Bengali India
%endif
%build
%configure\
@@ -107,9 +108,6 @@ translation-update-upstream
%install
%makeinstall
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
rm %{buildroot}%{_libdir}/*.*a
%find_lang %{name}-3.0
%fdupes %{buildroot}