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
|
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: licenses
|
||||||
BuildRequires: translation-update-upstream
|
BuildRequires: translation-update-upstream
|
||||||
BuildRequires: xorg-x11-devel
|
BuildRequires: xorg-x11-devel
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Version: 2.28.0
|
Version: 2.28.0
|
||||||
Release: 1
|
Release: 2
|
||||||
# WARNING: After changing versions please call Re or rpmbuild to auto-update spec file:
|
# 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)
|
#%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libgtop-2_0)
|
||||||
%define libgtop-2_0_name 7
|
%define libgtop-2_0_name 7
|
||||||
@ -61,7 +61,7 @@ Authors:
|
|||||||
Drazen Kacar (dave@srce.hr)
|
Drazen Kacar (dave@srce.hr)
|
||||||
|
|
||||||
%package -n libgtop-2_0-7
|
%package -n libgtop-2_0-7
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Summary: LibGTop Library
|
Summary: LibGTop Library
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
# Require translation package (%{name}) not older than the library:
|
# Require translation package (%{name}) not older than the library:
|
||||||
@ -88,7 +88,7 @@ Authors:
|
|||||||
Drazen Kacar (dave@srce.hr)
|
Drazen Kacar (dave@srce.hr)
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Requires: %{name} = %{version} glib2-devel gdbm-devel xorg-x11-devel
|
Requires: %{name} = %{version} glib2-devel gdbm-devel xorg-x11-devel
|
||||||
@ -111,7 +111,7 @@ Authors:
|
|||||||
Drazen Kacar (dave@srce.hr)
|
Drazen Kacar (dave@srce.hr)
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
License: GPL v2 or later
|
License: GPLv2+
|
||||||
Summary: LibGTop Library
|
Summary: LibGTop Library
|
||||||
Group: Development/Libraries/GNOME
|
Group: Development/Libraries/GNOME
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
@ -145,6 +145,9 @@ translation-update-upstream
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%makeinstall
|
||||||
|
%if 0%{?suse_version} <= 1110
|
||||||
|
%{__rm} %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/*
|
||||||
|
%endif
|
||||||
%find_lang %{name}-2.0
|
%find_lang %{name}-2.0
|
||||||
LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.? | sed 's/.*\///;s/\.so\./-/;s/\./_/')"
|
LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.? | sed 's/.*\///;s/\.so\./-/;s/\./_/')"
|
||||||
if test "$LIBNAME" != libgtop-2_0-7 ; then
|
if test "$LIBNAME" != libgtop-2_0-7 ; then
|
||||||
@ -177,10 +180,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%doc AUTHORS COPYING NEWS README copyright.txt
|
%doc AUTHORS COPYING NEWS README copyright.txt
|
||||||
|
|
||||||
%files lang -f %{name}-2.0.lang
|
%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
|
%files -n libgtop-2_0-7
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user