2007-10-11 04:32:06 +02:00
|
|
|
#
|
2010-03-19 09:33:08 +01:00
|
|
|
# spec file for package gdl (Version 2.29.2)
|
2007-10-11 04:32:06 +02:00
|
|
|
#
|
2009-02-17 23:21:20 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-10-11 04:32:06 +02:00
|
|
|
#
|
2008-09-05 01:05:16 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-10-11 04:32:06 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-02 23:23:21 +02:00
|
|
|
|
2007-10-11 04:32:06 +02:00
|
|
|
Name: gdl
|
2008-10-24 16:56:03 +02:00
|
|
|
BuildRequires: fdupes
|
2009-02-17 23:21:20 +01:00
|
|
|
BuildRequires: gtk2-devel
|
2008-10-24 16:56:03 +02:00
|
|
|
BuildRequires: intltool
|
2009-07-31 19:20:31 +02:00
|
|
|
BuildRequires: libxml2-devel
|
2008-10-24 16:56:03 +02:00
|
|
|
BuildRequires: licenses
|
2009-03-25 19:39:53 +01:00
|
|
|
BuildRequires: translation-update-upstream
|
2010-02-19 16:29:17 +01:00
|
|
|
License: LGPLv2.1+
|
2007-10-11 04:32:06 +02:00
|
|
|
Group: System/Libraries
|
2010-03-19 09:33:08 +01:00
|
|
|
Version: 2.29.2
|
2009-07-31 19:20:31 +02:00
|
|
|
Release: 1
|
2008-04-02 23:23:21 +02:00
|
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
2008-10-24 16:56:03 +02:00
|
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/2.24/%name-%version.tar.bz2
|
2009-05-28 03:54:07 +02:00
|
|
|
Source1: %{name}-rpmlintrc
|
2010-02-19 16:29:17 +01:00
|
|
|
# PATCH-FIX-UPSTREAM gdl-build-fix.patch bgo603600 vuntz@opensuse.org -- Missing return values
|
|
|
|
Patch0: gdl-build-fix.patch
|
2007-10-11 04:32:06 +02:00
|
|
|
Url: http://ftp.gnome.org/pub/GNOME/sources/gdl/0.7/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Gnome Devtool Libraries contains components and libraries that are
|
|
|
|
intended to be shared between GNOME development tools, including
|
|
|
|
gnome-debug, gnome-build, and anjuta2.
|
|
|
|
|
2009-10-06 02:39:39 +02:00
|
|
|
%package -n libgdl-1-3
|
2010-02-19 16:29:17 +01:00
|
|
|
License: LGPLv2.1+
|
2008-10-24 16:56:03 +02:00
|
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
|
|
|
Group: System/Libraries
|
2009-02-17 23:21:20 +01:00
|
|
|
Requires: %{name}-lang = %{version}
|
2010-02-19 16:29:17 +01:00
|
|
|
Obsoletes: gdl < %{version}
|
2009-02-19 18:33:25 +01:00
|
|
|
Provides: gdl = %{version}
|
2009-05-28 03:54:07 +02:00
|
|
|
Obsoletes: libgdl-1-0 < 2.27.2
|
2008-10-24 16:56:03 +02:00
|
|
|
|
2009-10-06 02:39:39 +02:00
|
|
|
%description -n libgdl-1-3
|
2008-10-24 16:56:03 +02:00
|
|
|
Gnome Devtool Libraries contains components and libraries that are
|
|
|
|
intended to be shared between GNOME development tools, including
|
|
|
|
gnome-debug, gnome-build, and anjuta2.
|
|
|
|
|
2007-10-11 04:32:06 +02:00
|
|
|
%package devel
|
2010-02-19 16:29:17 +01:00
|
|
|
License: LGPLv2.1+
|
2008-04-02 23:23:21 +02:00
|
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
2007-10-11 04:32:06 +02:00
|
|
|
Group: System/Libraries
|
2009-10-06 02:39:39 +02:00
|
|
|
Requires: libgdl-1-3 = %{version}
|
2009-07-31 19:20:31 +02:00
|
|
|
Requires: gtk2-devel libxml2-devel
|
2010-02-19 16:29:17 +01:00
|
|
|
Obsoletes: gdl-doc < 2.24.0
|
2009-02-17 23:21:20 +01:00
|
|
|
Provides: gdl-doc = 2.24.0
|
2007-10-11 04:32:06 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Gnome Devtool Libraries contains components and libraries that are
|
|
|
|
intended to be shared between GNOME development tools, including
|
|
|
|
gnome-debug, gnome-build, and anjuta2.
|
|
|
|
|
|
|
|
%lang_package
|
2009-05-28 23:55:28 +02:00
|
|
|
%prep
|
2007-10-11 04:32:06 +02:00
|
|
|
%setup -q
|
2009-03-25 19:39:53 +01:00
|
|
|
translation-update-upstream
|
2010-02-19 16:29:17 +01:00
|
|
|
%patch0 -p1
|
2007-10-11 04:32:06 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2009-03-11 21:43:52 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
2007-10-11 04:32:06 +02:00
|
|
|
|
|
|
|
%install
|
2009-02-17 23:21:20 +01:00
|
|
|
%makeinstall
|
2010-02-19 16:29:17 +01:00
|
|
|
%if 0%{?suse_version} <= 1120
|
|
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
|
|
%endif
|
2007-10-11 04:32:06 +02:00
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
%find_lang %{name}-1
|
|
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
|
2009-10-06 02:39:39 +02:00
|
|
|
%post -n libgdl-1-3 -p /sbin/ldconfig
|
2007-10-11 04:32:06 +02:00
|
|
|
|
2009-10-06 02:39:39 +02:00
|
|
|
%postun -n libgdl-1-3 -p /sbin/ldconfig
|
2007-10-11 04:32:06 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2009-10-06 02:39:39 +02:00
|
|
|
%files -n libgdl-1-3
|
2008-10-24 16:56:03 +02:00
|
|
|
%defattr(-, root, root)
|
2009-02-17 23:21:20 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
|
|
%{_datadir}/gdl
|
2008-10-24 16:56:03 +02:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
2007-10-11 04:32:06 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2009-05-28 03:54:07 +02:00
|
|
|
%{_includedir}/libgdl*
|
2007-10-11 04:32:06 +02:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/*.so
|
2009-02-17 23:21:20 +01:00
|
|
|
# Own these repositories to not depend on gtk-doc while building:
|
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
2008-04-02 23:23:21 +02:00
|
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
|
2007-10-11 04:32:06 +02:00
|
|
|
%files lang -f %{name}-1.lang
|
2008-04-02 23:23:21 +02:00
|
|
|
|
2007-10-11 04:32:06 +02:00
|
|
|
%changelog
|