SHA256
1
0
forked from pool/libwnck

Accepting request 36380 from GNOME:Factory

Copy from GNOME:Factory/libwnck based on submit request 36380 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/36380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwnck?expand=0&rev=41
This commit is contained in:
OBS User autobuild 2010-04-01 01:20:31 +00:00 committed by Git OBS Bridge
parent 742af15177
commit a5f497ba6e
4 changed files with 49 additions and 28 deletions

View File

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

3
libwnck-2.30.0.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Tue Mar 30 06:10:13 CEST 2010 - vuntz@opensuse.org
- Update to version 2.30.0:
+ Fixes
- Many GSeal-related fixes
- Use a GtkMenuSeparator with a label instead of a hack for
workspace menu items in selector
+ Updated translations.
-------------------------------------------------------------------
Mon Mar 22 15:34:07 CET 2010 - vuntz@opensuse.org
- Remove manual check for the package name to follow the library
policy: rpmlint does this now.
-------------------------------------------------------------------
Sun Mar 21 17:47:43 UTC 2010 - dimstar@opensuse.org
- Add BuildRequires gobject-introspection-devel.
-------------------------------------------------------------------
Tue Mar 9 08:22:31 CET 2010 - dimstar@opensuse.org

View File

@ -1,5 +1,5 @@
#
# spec file for package libwnck (Version 2.29.92)
# spec file for package libwnck (Version 2.30.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -15,32 +15,33 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libwnck
Version: 2.30.0
Release: 1
License: LGPLv2.1+
# 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-1_name 22
Summary: Window Navigator Construction Kit (Library Package)
Group: Development/Libraries/GNOME
Source: %{name}-%{version}.tar.bz2
Source1: %{name}_spec-update.sh
Source99: baselibs.conf
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: licenses
Requires: %{name}-lang = %{version}
Requires: libwnck-1-22 = %{version}
Requires: licenses
# bug437293
%ifarch ppc64
Obsoletes: libwnck-64bit
%endif
#
License: LGPLv2.1+
Group: Development/Libraries/GNOME
Version: 2.29.92
Release: 1
# 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-1_name 22
Summary: Window Navigator Construction Kit (Library Package)
Source: %{name}-%{version}.tar.bz2
Source1: %{name}_spec-update.sh
Source99: baselibs.conf
Requires: libwnck-1-22 = %{version} licenses
Requires: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -67,7 +68,9 @@ write task lists, pagers, and similar GNOME programs.
License: GPLv2+
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} glib2-devel gtk2-devel
Requires: %{name} = %{version}
Requires: glib2-devel
Requires: gtk2-devel
# bug437293
%ifarch ppc64
Obsoletes: libwnck-devel-64bit
@ -86,7 +89,7 @@ to develop applications that require these.
%build
# needed for libwnck-2.19.4:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure\
--disable-static
%__make %{?jobs:-j%jobs}
@ -96,23 +99,18 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%endif
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
rm %{buildroot}%{_libdir}/*.*a
%find_lang %{name}
LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.?? | sed 's/.*\///;s/\.so\./-/;s/\./_/')"
if test "$LIBNAME" != libwnck-1-22 ; then
echo "Library version does not match package name. It should be $LIBNAME."
exit 1
fi
for FILE in COPYING ; do
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
fi
done
%fdupes $RPM_BUILD_ROOT
%fdupes %{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%post -n libwnck-1-22 -p /sbin/ldconfig
@ -129,6 +127,8 @@ rm -rf $RPM_BUILD_ROOT
%files -n libwnck-1-22
%defattr(-,root,root)
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/Wnck-1.0.typelib
%{_datadir}/gir-1.0/Wnck-1.0.gir
%files devel
%defattr(-,root,root)