Accepting request 35428 from home:dimstar:branches:GNOME:Factory
Copy from home:dimstar:branches:GNOME:Factory/libwnck via accept of submit request 35428 revision 2. Request was accepted with message: thanks OBS-URL: https://build.opensuse.org/request/show/35428 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libwnck?expand=0&rev=44
This commit is contained in:
parent
76301a4555
commit
23b93fa37f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Tue Mar 9 08:22:31 CET 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
34
libwnck.spec
34
libwnck.spec
@ -15,11 +15,11 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: libwnck
|
Name: libwnck
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gobject-introspection-devel
|
||||||
BuildRequires: gtk2-devel
|
BuildRequires: gtk2-devel
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: licenses
|
BuildRequires: licenses
|
||||||
@ -27,20 +27,21 @@ BuildRequires: licenses
|
|||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libwnck-64bit
|
Obsoletes: libwnck-64bit
|
||||||
%endif
|
%endif
|
||||||
#
|
|
||||||
License: LGPLv2.1+
|
|
||||||
Group: Development/Libraries/GNOME
|
|
||||||
Version: 2.29.92
|
Version: 2.29.92
|
||||||
Release: 1
|
Release: 1
|
||||||
|
#
|
||||||
|
License: LGPL v2.1 or later
|
||||||
# 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} libwnck-1)
|
#%(sh %{_sourcedir}/%{name}_spec-update.sh %{_sourcedir} %{name} libwnck-1)
|
||||||
%define libwnck-1_name 22
|
%define libwnck-1_name 22
|
||||||
Summary: Window Navigator Construction Kit (Library Package)
|
Summary: Window Navigator Construction Kit (Library Package)
|
||||||
|
Group: Development/Libraries/GNOME
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: %{name}_spec-update.sh
|
Source1: %{name}_spec-update.sh
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Requires: libwnck-1-22 = %{version} licenses
|
|
||||||
Requires: %{name}-lang = %{version}
|
Requires: %{name}-lang = %{version}
|
||||||
|
Requires: libwnck-1-22 = %{version}
|
||||||
|
Requires: licenses
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,7 +49,7 @@ The Window Navigator Construction Kit is a library that can be used to
|
|||||||
write task lists, pagers, and similar GNOME programs.
|
write task lists, pagers, and similar GNOME programs.
|
||||||
|
|
||||||
%package -n libwnck-1-22
|
%package -n libwnck-1-22
|
||||||
License: LGPLv2.1+
|
License: LGPL v2.1 or later
|
||||||
Summary: Window Navigator Construction Kit (Library Package)
|
Summary: Window Navigator Construction Kit (Library Package)
|
||||||
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:
|
||||||
@ -64,10 +65,12 @@ The Window Navigator Construction Kit is a library that can be used to
|
|||||||
write task lists, pagers, and similar GNOME programs.
|
write task lists, pagers, and similar GNOME programs.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv2+
|
License: GPL v2 or later
|
||||||
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 gtk2-devel
|
Requires: %{name} = %{version}
|
||||||
|
Requires: glib2-devel
|
||||||
|
Requires: gtk2-devel
|
||||||
# bug437293
|
# bug437293
|
||||||
%ifarch ppc64
|
%ifarch ppc64
|
||||||
Obsoletes: libwnck-devel-64bit
|
Obsoletes: libwnck-devel-64bit
|
||||||
@ -86,7 +89,7 @@ to develop applications that require these.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
# needed for libwnck-2.19.4:
|
# needed for libwnck-2.19.4:
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
%configure\
|
%configure\
|
||||||
--disable-static
|
--disable-static
|
||||||
%__make %{?jobs:-j%jobs}
|
%__make %{?jobs:-j%jobs}
|
||||||
@ -96,9 +99,9 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|||||||
%if 0%{?suse_version} <= 1120
|
%if 0%{?suse_version} <= 1120
|
||||||
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
||||||
%endif
|
%endif
|
||||||
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
|
rm %{buildroot}%{_libdir}/*.*a
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
LIBNAME="$(echo $RPM_BUILD_ROOT%{_libdir}/%{name}-*.so.?? | sed 's/.*\///;s/\.so\./-/;s/\./_/')"
|
LIBNAME="$(echo %{buildroot}%{_libdir}/%{name}-*.so.?? | sed 's/.*\///;s/\.so\./-/;s/\./_/')"
|
||||||
if test "$LIBNAME" != libwnck-1-22 ; then
|
if test "$LIBNAME" != libwnck-1-22 ; then
|
||||||
echo "Library version does not match package name. It should be $LIBNAME."
|
echo "Library version does not match package name. It should be $LIBNAME."
|
||||||
exit 1
|
exit 1
|
||||||
@ -109,10 +112,10 @@ for FILE in COPYING ; do
|
|||||||
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
|
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
%fdupes $RPM_BUILD_ROOT
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -n libwnck-1-22 -p /sbin/ldconfig
|
%post -n libwnck-1-22 -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -129,6 +132,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files -n libwnck-1-22
|
%files -n libwnck-1-22
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
%{_libdir}/girepository-1.0/Wnck-1.0.typelib
|
||||||
|
%{_datadir}/gir-1.0/Wnck-1.0.gir
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -137,7 +142,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
# Own these repositories to not depend on gtk-doc while building:
|
# Own these repositories to not depend on gtk-doc while building:
|
||||||
%dir %{_datadir}/gtk-doc
|
%dir %{_datadir}/gtk-doc
|
||||||
%dir %{_datadir}/gtk-doc/html
|
%{_datadir}/gtk-doc/html/
|
||||||
%{_datadir}/gtk-doc/html/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user