2007-10-11 04:32:06 +02:00
|
|
|
#
|
2011-04-06 09:40:36 +02:00
|
|
|
# spec file for package gdl
|
2007-10-11 04:32:06 +02:00
|
|
|
#
|
2011-04-06 09:40:36 +02:00
|
|
|
# Copyright (c) 2011 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
|
2011-04-22 13:45:47 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2011-04-22 13:48:15 +02:00
|
|
|
BuildRequires: gtk3-devel
|
2008-10-24 16:56:03 +02:00
|
|
|
BuildRequires: intltool
|
2009-07-31 19:20:31 +02:00
|
|
|
BuildRequires: libxml2-devel
|
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
|
2011-08-17 23:33:18 +02:00
|
|
|
Version: 3.1.5
|
2011-04-22 13:45:47 +02:00
|
|
|
Release: 1
|
2008-04-02 23:23:21 +02:00
|
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
2011-07-26 00:06:47 +02:00
|
|
|
Source: http://download.gnome.org/sources/gdl/3.1/%{name}-%{version}.tar.bz2
|
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.
|
|
|
|
|
2011-04-22 13:45:47 +02:00
|
|
|
%package -n libgdl-3-1
|
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
|
2011-07-26 00:06:47 +02:00
|
|
|
Recommends: %{name}-lang
|
2009-02-19 18:33:25 +01:00
|
|
|
Provides: gdl = %{version}
|
2011-07-26 00:06:47 +02:00
|
|
|
Obsoletes: gdl < %{version}
|
2008-10-24 16:56:03 +02:00
|
|
|
|
2011-04-22 13:45:47 +02:00
|
|
|
%description -n libgdl-3-1
|
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
|
2011-07-26 00:06:47 +02:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-04-22 13:45:47 +02:00
|
|
|
Requires: libgdl-3-1 = %{version}
|
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
|
2007-10-11 04:32:06 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2011-04-22 13:45:47 +02:00
|
|
|
make %{?jobs:-j%jobs} V=1
|
2007-10-11 04:32:06 +02:00
|
|
|
|
|
|
|
%install
|
2009-02-17 23:21:20 +01:00
|
|
|
%makeinstall
|
2007-10-11 04:32:06 +02:00
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2011-04-22 13:45:47 +02:00
|
|
|
%find_lang %{name}-3
|
2007-10-11 04:32:06 +02:00
|
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
|
2011-04-22 13:45:47 +02:00
|
|
|
%post -n libgdl-3-1 -p /sbin/ldconfig
|
2007-10-11 04:32:06 +02:00
|
|
|
|
2011-04-22 13:45:47 +02:00
|
|
|
%postun -n libgdl-3-1 -p /sbin/ldconfig
|
2007-10-11 04:32:06 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2011-04-22 13:45:47 +02:00
|
|
|
%files -n libgdl-3-1
|
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
|
2011-04-22 13:45:47 +02:00
|
|
|
%{_datadir}/gdl-3
|
2008-10-24 16:56:03 +02:00
|
|
|
%{_libdir}/*.so.*
|
2011-04-22 13:45:47 +02:00
|
|
|
%{_libdir}/girepository-1.0/Gdl-3.typelib
|
2008-10-24 16:56:03 +02:00
|
|
|
|
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
|
2011-04-22 13:45:47 +02:00
|
|
|
%{_datadir}/gir-1.0/Gdl-3.gir
|
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/*
|
|
|
|
|
2011-04-22 13:45:47 +02:00
|
|
|
%files lang -f %{name}-3.lang
|
2008-04-02 23:23:21 +02:00
|
|
|
|
2007-10-11 04:32:06 +02:00
|
|
|
%changelog
|