109 lines
2.8 KiB
RPMSpec
109 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package gdl (Version 0.7.7)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: gdl
|
|
BuildRequires: fdupes gconf2-devel libglade2-devel libgnomeui-devel licenses perl-libxml-perl pkg-config
|
|
License: GPL v2 only
|
|
Group: System/Libraries
|
|
AutoReqProv: on
|
|
Version: 0.7.7
|
|
Release: 2
|
|
Summary: Gnome Devtool Libraries contains componentes and libraries
|
|
Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/0.7/%name-%version.tar.bz2
|
|
Url: http://ftp.gnome.org/pub/GNOME/sources/gdl/0.7/
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Requires: %{name}-lang = %{version}
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dave Camp <dave at ximian com>
|
|
Neil Hodgson <neilh at scintilla org> (Scintilla Widget)
|
|
Gustavo Giráldez <gustavo giraldez at gmx net> (GdlDock)
|
|
|
|
%package devel
|
|
Summary: Gnome Devtool Libraries contains componentes and libraries
|
|
Group: System/Libraries
|
|
Requires: %{name} = %{version} gnome-vfs2-devel gtk2-devel libglade2-devel libgnomeui-devel libxml2-devel
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dave Camp <dave at ximian com>
|
|
Neil Hodgson <neilh at scintilla org> (Scintilla Widget)
|
|
Gustavo Giráldez <gustavo giraldez at gmx net> (GdlDock)
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
%find_lang %{name}-1
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr (-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_libdir}/*.so.*
|
|
%dir /usr/share/gdl
|
|
### %{_datadir}/locale/*
|
|
%dir %{_datadir}/gdl/glade
|
|
%{_datadir}/gdl/glade/*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%dir %{_includedir}/libgdl-1.0
|
|
%dir %{_includedir}/libgdl-1.0/gdl
|
|
%{_includedir}/libgdl-1.0/gdl/*
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/*.so
|
|
|
|
%files lang -f %{name}-1.lang
|
|
%changelog
|
|
* Wed Oct 03 2007 - maw@suse.de
|
|
- Package cleanups:
|
|
+ Remove unnecessary explicit requirements
|
|
+ Split off a -devel subpackage
|
|
+ Fix build on biarch platforms
|
|
+ Trim and alphabetize build requirements
|
|
+ Add a -lang subpackage.
|
|
* Tue Sep 25 2007 - mauro@suse.de
|
|
- Version 0.7.7 added to openSUSE
|