Accepting request 31029 from home:jengelh:baselibs

Copy from home:jengelh:baselibs/libgtop via accept of submit request 31029 revision 2.
Request was accepted with message:
thanks

OBS-URL: https://build.opensuse.org/request/show/31029
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libgtop?expand=0&rev=29
This commit is contained in:
Vincent Untz 2010-02-10 13:21:31 +00:00 committed by Git OBS Bridge
parent c5e1776fc4
commit 1049973190
2 changed files with 20 additions and 9 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Feb 1 11:34:35 UTC 2010 - jengelh@medozas.de
- Package baselibs.conf
-------------------------------------------------------------------
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

View File

@ -24,16 +24,17 @@ 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
Summary: LibGTop Library
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/libgtop/2.19/%{name}-%{version}.tar.bz2
Source1: %{name}_spec-update.sh
Source2: baselibs.conf
Requires: libgtop-2_0-7 licenses
# assist solver to upgrade old libgtop after info.rpm
PreReq: %install_info_prereq
@ -61,7 +62,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 +89,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 +112,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 +146,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 +181,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)