Accepting request 25871 from GNOME:Factory
Copy from GNOME:Factory/libgtop based on submit request 25871 from user vuntz OBS-URL: https://build.opensuse.org/request/show/25871 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgtop?expand=0&rev=28
This commit is contained in:
parent
2920fd1bb1
commit
e28760b38b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 2 12:00:26 CET 2009 - vuntz@opensuse.org
|
||||
|
||||
- Update the way we remove the la locale for old versions of
|
||||
openSUSE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 22 19:43:04 CEST 2009 - dimstar@opensuse.org
|
||||
|
||||
|
17
libgtop.spec
17
libgtop.spec
@ -24,10 +24,10 @@ BuildRequires: intltool
|
||||
BuildRequires: licenses
|
||||
BuildRequires: translation-update-upstream
|
||||
BuildRequires: xorg-x11-devel
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
Group: Development/Libraries/GNOME
|
||||
Version: 2.28.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
|
||||
#%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libgtop-2_0)
|
||||
%define libgtop-2_0_name 7
|
||||
@ -61,7 +61,7 @@ Authors:
|
||||
Drazen Kacar (dave@srce.hr)
|
||||
|
||||
%package -n libgtop-2_0-7
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
Summary: LibGTop Library
|
||||
Group: Development/Libraries/GNOME
|
||||
# Require translation package (%{name}) not older than the library:
|
||||
@ -88,7 +88,7 @@ Authors:
|
||||
Drazen Kacar (dave@srce.hr)
|
||||
|
||||
%package devel
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version} glib2-devel gdbm-devel xorg-x11-devel
|
||||
@ -111,7 +111,7 @@ Authors:
|
||||
Drazen Kacar (dave@srce.hr)
|
||||
|
||||
%package doc
|
||||
License: GPL v2 or later
|
||||
License: GPLv2+
|
||||
Summary: LibGTop Library
|
||||
Group: Development/Libraries/GNOME
|
||||
Requires: %{name} = %{version}
|
||||
@ -145,6 +145,9 @@ translation-update-upstream
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%{__rm} %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/*
|
||||
%endif
|
||||
%find_lang %{name}-2.0
|
||||
LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.? | sed 's/.*\///;s/\.so\./-/;s/\./_/')"
|
||||
if test "$LIBNAME" != libgtop-2_0-7 ; then
|
||||
@ -177,10 +180,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%doc AUTHORS COPYING NEWS README copyright.txt
|
||||
|
||||
%files lang -f %{name}-2.0.lang
|
||||
%if %suse_version <= 1110
|
||||
# exclude locales which don't exist on old versions of openSUSE
|
||||
%exclude %{_datadir}/locale/la/LC_MESSAGES/*
|
||||
%endif
|
||||
|
||||
%files -n libgtop-2_0-7
|
||||
%defattr(-, root, root)
|
||||
|
Loading…
x
Reference in New Issue
Block a user