6a6ce28fd7
Copy from home:vuntz:branches:GNOME:Factory/gdl via accept of submit request 25398 revision 5. Request was accepted with message: Accepting... OBS-URL: https://build.opensuse.org/request/show/25398 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdl?expand=0&rev=35
119 lines
3.6 KiB
RPMSpec
119 lines
3.6 KiB
RPMSpec
#
|
|
# spec file for package gdl (Version 2.29.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: gdl
|
|
BuildRequires: fdupes
|
|
BuildRequires: gtk2-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: licenses
|
|
BuildRequires: translation-update-upstream
|
|
License: LGPL v2.1 or later
|
|
Group: System/Libraries
|
|
Version: 2.29.2
|
|
# FIXME: en@shaw is always removed; fix it when new filesystem package is accepted in factory
|
|
Release: 1
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/2.24/%name-%version.tar.bz2
|
|
Source1: %{name}-rpmlintrc
|
|
# PATCH-FIX-UPSTREAM gdl-build-fix.patch bgo603600 vuntz@opensuse.org -- Missing return values
|
|
Patch0: gdl-build-fix.patch
|
|
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.
|
|
|
|
%package -n libgdl-1-3
|
|
License: LGPL v2.1 or later
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
|
Group: System/Libraries
|
|
Requires: %{name}-lang = %{version}
|
|
Obsoletes: gdl < %{version}
|
|
Provides: gdl = %{version}
|
|
Obsoletes: libgdl-1-0 < 2.27.2
|
|
|
|
%description -n libgdl-1-3
|
|
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: LGPL v2.1 or later
|
|
Summary: Gnome Devtool Libraries contains components and libraries
|
|
Group: System/Libraries
|
|
Requires: libgdl-1-3 = %{version}
|
|
Requires: gtk2-devel libxml2-devel
|
|
Obsoletes: gdl-doc < 2.24.0
|
|
Provides: gdl-doc = 2.24.0
|
|
|
|
%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
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
# %if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
# %endif
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
%find_lang %{name}-1
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
%post -n libgdl-1-3 -p /sbin/ldconfig
|
|
|
|
%postun -n libgdl-1-3 -p /sbin/ldconfig
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -n libgdl-1-3
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_datadir}/gdl
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/libgdl*
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/*.so
|
|
# Own these repositories to not depend on gtk-doc while building:
|
|
%dir %{_datadir}/gtk-doc
|
|
%dir %{_datadir}/gtk-doc/html
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
%files lang -f %{name}-1.lang
|
|
|
|
%changelog
|