From 0f4e353b9b951da41549329c0dd8cfff0326649342a7506ab4dc5757dcd9bf21 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sat, 4 Jul 2009 08:21:10 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gobject-introspection?expand=0&rev=1 --- .gitattributes | 23 ++++ .gitignore | 1 + gobject-introspection-0.6.2.tar.bz2 | 3 + gobject-introspection-git-20090501.patch.bz2 | 3 + gobject-introspection.changes | 21 ++++ gobject-introspection.spec | 118 +++++++++++++++++++ ready | 0 7 files changed, 169 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gobject-introspection-0.6.2.tar.bz2 create mode 100644 gobject-introspection-git-20090501.patch.bz2 create mode 100644 gobject-introspection.changes create mode 100644 gobject-introspection.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gobject-introspection-0.6.2.tar.bz2 b/gobject-introspection-0.6.2.tar.bz2 new file mode 100644 index 0000000..ee425f5 --- /dev/null +++ b/gobject-introspection-0.6.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c3c7e7b2a9d3ad3bbc167fd589193dd03a45c1ce0c8694f9a2d4cb5b2246f7b +size 573665 diff --git a/gobject-introspection-git-20090501.patch.bz2 b/gobject-introspection-git-20090501.patch.bz2 new file mode 100644 index 0000000..140a51c --- /dev/null +++ b/gobject-introspection-git-20090501.patch.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e69f43c4b9bb838d9fecaa93438c95a14fc2de8663ef5cb97ced33ed2be65066 +size 132892 diff --git a/gobject-introspection.changes b/gobject-introspection.changes new file mode 100644 index 0000000..6ec0f6f --- /dev/null +++ b/gobject-introspection.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Mon May 4 03:14:28 CEST 2009 - vuntz@novell.com + +- Fix build on 11.1. + +------------------------------------------------------------------- +Fri May 1 20:33:15 CEST 2009 - vuntz@novell.com + +- Make libgirepository-1_0-0 Recommends gir-repository. + +------------------------------------------------------------------- +Fri May 1 16:46:55 CEST 2009 - vuntz@novell.com + +- Move package doc files to libgirepository-1_0-0 since this is the + important package. + +------------------------------------------------------------------- +Fri May 1 05:59:15 CEST 2009 - vuntz@novell.com + +- Initial package. + diff --git a/gobject-introspection.spec b/gobject-introspection.spec new file mode 100644 index 0000000..3bc05c1 --- /dev/null +++ b/gobject-introspection.spec @@ -0,0 +1,118 @@ +# +# spec file for package gobject-introspection (Version 0.6.2) +# +# Copyright (c) 2009 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/ +# + +# norootforbuild + + +Name: gobject-introspection +BuildRequires: bison +BuildRequires: fdupes +BuildRequires: flex +BuildRequires: glib2-devel +BuildRequires: libffi-devel +BuildRequires: python-devel +BuildRequires: python-xml +# needed for the git patch +BuildRequires: gnome-common +%if %suse_version <= 1110 +BuildRequires: gtk-doc +%endif +License: GPL v2 or later +Url: http://live.gnome.org/GObjectIntrospection +Group: Development/Libraries/GNOME +Version: 0.6.2 +Release: 2 +Summary: GObject Introspection Tools +Source: %{name}-%{version}.tar.bz2 +# PATCH-FEATURE-UPSTREAM gobject-introspection-git-20090501.patch.bz2 vuntz@novell.com -- Update to git as of 20090501 +Patch0: gobject-introspection-git-20090501.patch.bz2 +Requires: libgirepository-1_0-0 = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +The goal of the project is to describe the APIs and collect them in +a uniform, machine readable format. + +%package -n libgirepository-1_0-0 +License: LGPL v2.1 or later +Summary: GObject Introspection Library +Group: Development/Libraries/GNOME +Recommends: gir-repository + +%description -n libgirepository-1_0-0 +The goal of the project is to describe the APIs and collect them in +a uniform, machine readable format. + +%package devel +License: LGPL v2.1 or later +Summary: GObject Introspection Development Files +Group: Development/Libraries/GNOME +# Note: the devel package requires the binaries, not just the library +Requires: %{name} = %{version} +Requires: glib2-devel + +%description devel +The goal of the project is to describe the APIs and collect them in +a uniform, machine readable format. + +%prep +%setup -q +%patch0 -p1 + +%build +# needed for the git patch +NOCONFIGURE=1 gnome-autogen.sh +%configure \ + --disable-static +%__make %{?jobs:-j%jobs} + +%install +%makeinstall +find %{buildroot} -type f -name "*.la" -delete -print +%fdupes %{buildroot} + +%clean +rm -rf %{buildroot} + +%post -n libgirepository-1_0-0 -p /sbin/ldconfig + +%postun -n libgirepository-1_0-0 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/* +# We don't include directly %{_libdir}/gobject-introspection since there might +# be files there in the future that belong to the library package +%dir %{_libdir}/gobject-introspection +%{_libdir}/gobject-introspection/giscanner +%doc %{_mandir}/man?/*.* + +%files -n libgirepository-1_0-0 +%defattr(-,root,root) +%doc AUTHORS CONTRIBUTORS COPYING NEWS README TODO ChangeLog.pre-git +%{_datadir}/gir-1.0 +%{_libdir}/*.so.* +%{_libdir}/girepository-1.0 + +%files devel +%defattr(-,root,root) +%{_includedir}/* +%{_datadir}/aclocal/*.m4 +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4