From f9911c669a109e012d7ba856f60575879d9c0d5a75ade16e91c858ac00bbea3f Mon Sep 17 00:00:00 2001 From: OBS User _service Date: Fri, 14 Jan 2011 16:18:54 +0000 Subject: [PATCH] generated via source service OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-desktop?expand=0&rev=100 --- ...gnome-desktop-2.91.6git.1295018536.tar.bz2 | 3 + _service:set_version:gnome-desktop.spec | 168 ++++++++++++++++++ 2 files changed, 171 insertions(+) create mode 100644 _service:recompress:tar_scm:gnome-desktop-2.91.6git.1295018536.tar.bz2 create mode 100644 _service:set_version:gnome-desktop.spec diff --git a/_service:recompress:tar_scm:gnome-desktop-2.91.6git.1295018536.tar.bz2 b/_service:recompress:tar_scm:gnome-desktop-2.91.6git.1295018536.tar.bz2 new file mode 100644 index 0000000..02bd044 --- /dev/null +++ b/_service:recompress:tar_scm:gnome-desktop-2.91.6git.1295018536.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d623640b7adc67605ccbbbbb4f2f48bc530349f3d5b757f5ed6347819ba647ef +size 19603556 diff --git a/_service:set_version:gnome-desktop.spec b/_service:set_version:gnome-desktop.spec new file mode 100644 index 0000000..f381dd6 --- /dev/null +++ b/_service:set_version:gnome-desktop.spec @@ -0,0 +1,168 @@ +# +# spec file for package gnome-desktop (Version 2.91.6) +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define IS_DEFAULT_GNOME_DESKTOP 0 + +Name: gnome-desktop +Version: 2.91.6git.1295018536 +Release: 0 +License: LGPLv2.1+ +Summary: The GNOME Desktop API Library +Url: http://www.gnome.org +Group: System/GUI/GNOME +Source: %{name}-%{version}.tar.bz2 +Source99: baselibs.conf +BuildRequires: fdupes +BuildRequires: gnome-doc-utils-devel +BuildRequires: intltool +BuildRequires: translation-update-upstream +BuildRequires: update-desktop-files +BuildRequires: pkgconfig(gconf-2.0) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gsettings-desktop-schemas) +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(libstartup-notification-1.0) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xrandr) +%if 0%{?BUILD_FROM_VCS} +BuildRequires: gnome-common +BuildRequires: gtk-doc +BuildRequires: gobject-introspection +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This package contains the gnome-about program as well as some +desktop-wide documents. + +%package -n gnome-version +License: LGPLv2.1+ +Summary: GNOME version +Group: System/GUI/GNOME + +%description -n gnome-version +This package contains information on the GNOME version installed. + +%package -n libgnome-desktop-3-0 +License: LGPLv2.1+ +Summary: The GNOME Desktop API Library +Group: System/GUI/GNOME +Requires: gsettings-desktop-schemas +Recommends: %{name}-lang +Provides: %{name} = %{version} +%if %IS_DEFAULT_GNOME_DESKTOP +Obsoletes: %{name} < %{version} +%endif + +%description -n libgnome-desktop-3-0 +The libgnome-desktop library provides API shared by several applications +on the desktop, but that cannot live in the platform for various +reasons. There is no API or ABI guarantee, although we are doing our +best to provide stability. Documentation for the API is available with +gtk-doc. + +%package -n libgnome-desktop-3-devel +License: LGPLv2.1+ +Summary: The GNOME Desktop API Library -- Development Files +Group: Development/Libraries/GNOME +Requires: libgnome-desktop-3-0 = %{version} +%if %IS_DEFAULT_GNOME_DESKTOP +Provides: %{name}-devel = %{version} +Obsoletes: %{name}-devel < %{version} +Provides: %{name}-doc = %{version} +Obsoletes: %{name}-doc < %{version} +%endif + +%description -n libgnome-desktop-3-devel +The libgnome-desktop library provides API shared by several applications +on the desktop, but that cannot live in the platform for various +reasons. There is no API or ABI guarantee, although we are doing our +best to provide stability. Documentation for the API is available with +gtk-doc. + +%lang_package +%prep +%setup -q +translation-update-upstream + +%if 0%{?BUILD_FROM_VCS} +[ -x ./autogen.sh] && NOCONFIGURE=1 ./autogen.sh +%endif + +%build +%configure --with-pic\ + --disable-static\ +%if ! %IS_DEFAULT_GNOME_DESKTOP + --disable-desktop-docs \ +%endif +%if 0%{?BUILD_FROM_VCS} + --enable-gtk-doc \ +%endif + --disable-scrollkeeper +make %{?jobs:-j%jobs} + +%install +%makeinstall +%if 0%{?suse_version} <= 1110 +%{__rm} %{buildroot}%{_datadir}/locale/ig/LC_MESSAGES/* +%endif +%if 0%{?suse_version} <= 1120 +%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* +%endif +%if 0%{?suse_version} <= 1130 +%{__rm} %{buildroot}%{_datadir}/locale/kg/LC_MESSAGES/* +%endif +%find_lang %{name}-3.0 +%if %IS_DEFAULT_GNOME_DESKTOP +%find_lang fdl %{name}-3.0.lang +%find_lang gpl %{name}-3.0.lang +%find_lang lgpl %{name}-3.0.lang +%suse_update_desktop_file gnome-about Documentation +%endif +%{__rm} -vf %{buildroot}%{_libdir}/*.la +%fdupes %{buildroot} + +%clean +rm -rf %{buildroot} + +%post -n libgnome-desktop-3-0 -p /sbin/ldconfig + +%postun -n libgnome-desktop-3-0 -p /sbin/ldconfig + +%files -n libgnome-desktop-3-0 +%defattr(-, root, root) +%doc AUTHORS COPYING.LIB NEWS README +%{_datadir}/libgnome-desktop-3.0/ +%{_libdir}/libgnome-desktop-3.so.* + +%files -n libgnome-desktop-3-devel +%defattr (-, root, root) +%{_includedir}/gnome-desktop-3.0/ +%{_libdir}/libgnome-desktop-3.so +%{_libdir}/pkgconfig/gnome-desktop-3.0.pc +%doc %{_datadir}/gtk-doc/html/gnome-desktop3/ + +%files lang -f %{name}-3.0.lang + +%files -n gnome-version +%defattr (-, root, root) +%dir %{_datadir}/gnome +%{_datadir}/gnome/gnome-version.xml + +%changelog