2007-10-11 02:32:06 +00:00
|
|
|
#
|
2011-04-06 07:40:36 +00:00
|
|
|
# spec file for package gdl
|
2007-10-11 02:32:06 +00:00
|
|
|
#
|
2011-04-06 07:40:36 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-10-11 02:32:06 +00:00
|
|
|
#
|
2008-09-04 23:05:16 +00: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 02:32:06 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-02 21:23:21 +00:00
|
|
|
|
2007-10-11 02:32:06 +00:00
|
|
|
Name: gdl
|
2008-10-24 14:56:03 +00:00
|
|
|
BuildRequires: fdupes
|
2011-04-22 11:45:47 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2011-04-22 11:48:15 +00:00
|
|
|
BuildRequires: gtk3-devel
|
2008-10-24 14:56:03 +00:00
|
|
|
BuildRequires: intltool
|
2009-07-31 17:20:31 +00:00
|
|
|
BuildRequires: libxml2-devel
|
2009-03-25 18:39:53 +00:00
|
|
|
BuildRequires: translation-update-upstream
|
2010-02-19 15:29:17 +00:00
|
|
|
License: LGPLv2.1+
|
2007-10-11 02:32:06 +00:00
|
|
|
Group: System/Libraries
|
2011-05-18 21:51:44 +00:00
|
|
|
Version: 3.1.1
|
2011-04-22 11:45:47 +00:00
|
|
|
Release: 1
|
2008-04-02 21:23:21 +00:00
|
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
2008-10-24 14:56:03 +00:00
|
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/2.24/%name-%version.tar.bz2
|
2007-10-11 02:32:06 +00: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 11:45:47 +00:00
|
|
|
%package -n libgdl-3-1
|
2010-02-19 15:29:17 +00:00
|
|
|
License: LGPLv2.1+
|
2008-10-24 14:56:03 +00:00
|
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
|
|
|
Group: System/Libraries
|
2009-02-17 22:21:20 +00:00
|
|
|
Requires: %{name}-lang = %{version}
|
2010-02-19 15:29:17 +00:00
|
|
|
Obsoletes: gdl < %{version}
|
2009-02-19 17:33:25 +00:00
|
|
|
Provides: gdl = %{version}
|
2008-10-24 14:56:03 +00:00
|
|
|
|
2011-04-22 11:45:47 +00:00
|
|
|
%description -n libgdl-3-1
|
2008-10-24 14:56:03 +00: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 02:32:06 +00:00
|
|
|
%package devel
|
2010-02-19 15:29:17 +00:00
|
|
|
License: LGPLv2.1+
|
2008-04-02 21:23:21 +00:00
|
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
2007-10-11 02:32:06 +00:00
|
|
|
Group: System/Libraries
|
2011-04-22 11:45:47 +00:00
|
|
|
Requires: libgdl-3-1 = %{version}
|
2007-10-11 02:32:06 +00: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 21:55:28 +00:00
|
|
|
%prep
|
2007-10-11 02:32:06 +00:00
|
|
|
%setup -q
|
2009-03-25 18:39:53 +00:00
|
|
|
translation-update-upstream
|
2007-10-11 02:32:06 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2011-04-22 11:45:47 +00:00
|
|
|
make %{?jobs:-j%jobs} V=1
|
2007-10-11 02:32:06 +00:00
|
|
|
|
|
|
|
%install
|
2009-02-17 22:21:20 +00:00
|
|
|
%makeinstall
|
2007-10-11 02:32:06 +00:00
|
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
2011-04-22 11:45:47 +00:00
|
|
|
%find_lang %{name}-3
|
2007-10-11 02:32:06 +00:00
|
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
|
2011-04-22 11:45:47 +00:00
|
|
|
%post -n libgdl-3-1 -p /sbin/ldconfig
|
2007-10-11 02:32:06 +00:00
|
|
|
|
2011-04-22 11:45:47 +00:00
|
|
|
%postun -n libgdl-3-1 -p /sbin/ldconfig
|
2007-10-11 02:32:06 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2011-04-22 11:45:47 +00:00
|
|
|
%files -n libgdl-3-1
|
2008-10-24 14:56:03 +00:00
|
|
|
%defattr(-, root, root)
|
2009-02-17 22:21:20 +00:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
2011-04-22 11:45:47 +00:00
|
|
|
%{_datadir}/gdl-3
|
2008-10-24 14:56:03 +00:00
|
|
|
%{_libdir}/*.so.*
|
2011-04-22 11:45:47 +00:00
|
|
|
%{_libdir}/girepository-1.0/Gdl-3.typelib
|
2008-10-24 14:56:03 +00:00
|
|
|
|
2007-10-11 02:32:06 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2009-05-28 01:54:07 +00:00
|
|
|
%{_includedir}/libgdl*
|
2007-10-11 02:32:06 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_libdir}/*.so
|
2011-04-22 11:45:47 +00:00
|
|
|
%{_datadir}/gir-1.0/Gdl-3.gir
|
2009-02-17 22:21:20 +00:00
|
|
|
# Own these repositories to not depend on gtk-doc while building:
|
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
2008-04-02 21:23:21 +00:00
|
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
|
2011-04-22 11:45:47 +00:00
|
|
|
%files lang -f %{name}-3.lang
|
2008-04-02 21:23:21 +00:00
|
|
|
|
2007-10-11 02:32:06 +00:00
|
|
|
%changelog
|