# # spec file for package gdl # # 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/ # Name: gdl Version: 3.2.0 Release: 1 License: LGPLv2.1+ Summary: Gnome Devtool Libraries contains components and libraries Url: http://ftp.gnome.org/pub/GNOME/sources/gdl/0.7/ Group: System/Libraries Source: http://download.gnome.org/sources/gdl/3.2/%{name}-%{version}.tar.bz2 BuildRequires: fdupes BuildRequires: gobject-introspection-devel BuildRequires: gtk3-devel BuildRequires: intltool BuildRequires: libxml2-devel BuildRequires: translation-update-upstream 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. %package -n libgdl-3-1 License: LGPLv2.1+ Summary: Gnome Devtool Libraries contains components and libraries Group: System/Libraries Recommends: %{name}-lang Provides: gdl = %{version} Obsoletes: gdl < %{version} %description -n libgdl-3-1 Gnome Devtool Libraries contains components and libraries that are intended to be shared between GNOME development tools, including gnome-debug, gnome-build, and anjuta2. %package devel License: LGPLv2.1+ Summary: Gnome Devtool Libraries contains components and libraries Group: Development/Libraries/GNOME Requires: libgdl-3-1 = %{version} %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 %prep %setup -q translation-update-upstream %build %configure make %{?_smp_mflags} V=1 %install %makeinstall rm %{buildroot}%{_libdir}/*.la %find_lang %{name}-3 %fdupes -s %{buildroot} %post -n libgdl-3-1 -p /sbin/ldconfig %postun -n libgdl-3-1 -p /sbin/ldconfig %clean rm -rf %{buildroot} %files -n libgdl-3-1 %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_datadir}/gdl-3 %{_libdir}/*.so.* %{_libdir}/girepository-1.0/Gdl-3.typelib %files devel %defattr(-, root, root) %{_includedir}/libgdl* %{_libdir}/pkgconfig/*.pc %{_libdir}/*.so %{_datadir}/gir-1.0/Gdl-3.gir %{_datadir}/gtk-doc/html/gdl-3.0/ %files lang -f %{name}-3.lang %changelog