Accepting request 421385 from GNOME:Next

1

OBS-URL: https://build.opensuse.org/request/show/421385
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgtop?expand=0&rev=64
This commit is contained in:
Bjørn Lie 2016-08-24 15:53:26 +00:00 committed by Git OBS Bridge
parent 6f4aad2750
commit e984165ce2
4 changed files with 23 additions and 16 deletions

View File

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

3
libgtop-2.34.1.tar.xz Normal file
View File

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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Aug 20 14:17:09 UTC 2016 - zaitor@opensuse.org
- Update to version 2.34.1:
+ Rename --with-libgtop-examples to --with-examples.
+ Use gettext instead of intltool/glib-gettext.
+ Added Language headers to the translations.
- Drop intltool BuildRequires following upstream changes.
- Remove obsolete clean section, and conditionals for long gone
versions of openSUSE.
- Make translation-update-upstream conditional, only apply on
non-openSUSE.
-------------------------------------------------------------------
Fri Apr 15 02:12:01 UTC 2016 - mgorse@suse.com

View File

@ -17,7 +17,7 @@
Name: libgtop
Version: 2.34.0
Version: 2.34.1
Release: 0
%define soname 10
Summary: LibGTop Library
@ -28,8 +28,9 @@ Source99: baselibs.conf
BuildRequires: fdupes
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: intltool
%if !0%{?is_opensuse}
BuildRequires: translation-update-upstream
%endif
BuildRequires: pkgconfig(gobject-2.0) >= 2.26.0
BuildRequires: pkgconfig(xau)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -110,8 +111,10 @@ from /dev/kmem.
%lang_package
%prep
%setup -q
%if !0%{?is_opensuse}
translation-update-upstream
# rpmlint note: libgtop has a separate translation for both Bengali and Bengali India
%endif
%build
%configure\
@ -120,17 +123,8 @@ translation-update-upstream
%install
%makeinstall
%if 0%{?suse_version} <= 1110
%{__rm} %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/*
%endif
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%find_lang %{name}-2.0
%clean
rm -rf $RPM_BUILD_ROOT
%find_lang %{name} %{?no_lang_C}
%post -n libgtop-2_0-%{soname} -p /sbin/ldconfig
@ -142,7 +136,7 @@ rm -rf $RPM_BUILD_ROOT
%post doc
%install_info --info-dir=%{_datadir}/info %{_datadir}/info/%{name}2.info.gz
%files lang -f %{name}-2.0.lang
%files lang -f %{name}.lang
%files -n libgtop-2_0-%{soname}
%defattr(-, root, root)