File gnome-build.spec of Package gnome-build
#
# spec file for package gnome-build (Version 2.24.1)
#
# Copyright (c) 2008 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: gnome-build
BuildRequires: fdupes libbonobo-devel libglade2-devel libgnome-devel
BuildRequires: gdl-devel intltool libgnomeui-devel perl-gettext
License: GPL v2 or later
Group: System/Libraries
AutoReqProv: on
Version: 2.24.1
Release: 1
Summary: Gnome Build provides the management components of the development
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-build/0.2/%name-%version.tar.bz2
Patch0: build-fix.patch
Url: http://ftp.gnome.org/pub/GNOME/sources/gnome-build/0.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if %suse_version >= 1020
Requires: %{name}-lang = %{version}
%endif
%description
gnome-build will provide the project management components of the
development environment. This includes management of source-code
resources, generation of makefiles, and build management.
Authors:
--------
JP Rosevear <jpr@helixcode.com>
Dave Camp <dave@helixcode.com>
Jeroen Zwartepoorte <jeroen@xs4all.nl>
Gustavo Giraldez <gustavo.giraldez@gmx.net>
Naba Kumar <naba@gnome.org>
Eric Greveson <ejg45@cam.ac.uk>
Johannes Schmid <jhs@gnome.org>
%package devel
License: LGPL v2.1 only
Summary: Gnome Build provides the management components of the development
Group: System/Libraries
Requires: %{name} = %{version} gdl-devel gtk2-devel libbonobo-devel libgnome-devel libxml2-devel
%description devel
gnome-build will provide the project management components of the
development environment. This includes management of source-code
resources, generation of makefiles, and build management.
Authors:
--------
JP Rosevear <jpr@helixcode.com>
Dave Camp <dave@helixcode.com>
Jeroen Zwartepoorte <jeroen@xs4all.nl>
Gustavo Giraldez <gustavo.giraldez@gmx.net>
Naba Kumar <naba@gnome.org>
Eric Greveson <ejg45@cam.ac.uk>
Johannes Schmid <jhs@gnome.org>
%lang_package
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j%jobs}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
%find_lang gbf-1
%if %suse_version >= 1020
%fdupes -s $RPM_BUILD_ROOT
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%dir %{_datadir}/gnome-build
%dir %{_datadir}/gnome-build/glade
%dir %{_datadir}/gnome-build/GBF
%{_bindir}/*
%{_libdir}/*.so.*
%dir %{_libdir}/gnome-build-1.0
%dir %{_libdir}/gnome-build-1.0/backends
%{_libdir}/gnome-build-1.0/backends/*
%{_datadir}/gnome-build/glade/*
%{_datadir}/gnome-build/GBF/*
%{_datadir}/pixmaps/*
%files devel
%defattr(-, root, root)
%dir %{_includedir}/gnome-build-1.0
%dir %{_includedir}/gnome-build-1.0/gbf/
%{_includedir}/gnome-build-1.0/gbf/*
%{_libdir}/pkgconfig/gnome-build-1.0.pc
%{_libdir}/*.so
%files lang -f gbf-1.lang
%changelog
* Thu Oct 23 2008 maw@suse.de
- Update to version 2.24.1:
+ Bug fixed: bgo#541694
+ Updated translations.
* Tue Sep 23 2008 mboman@suse.de
- Update to version 2.24.0:
+ Removed gdl-gnome dependency
+ Fix format string bugs
+ Translation updates
* Wed Sep 03 2008 mboman@novell.com
- Update to version 2.23.90
+ Bugs fixed: bgo#517047, bgo#393679, bgo#538952, bgo#522715,
bgo#475244, bgo#515997, bgo#503526, bgo#476315, bgo#475280,
bgo#474617, bgo#463408, bgo#450604, bgo#450604, bgo#510351
+ Bumped version to be consistent with gnome releases.
+ Replace deprecated INCLUDES with AM_CPPFLAGS
+ Added methods to access the list of pkg-config packages required for
building the project (to be used for symbol autocompletion for example).
+ Added a conveniece check for the returned packages
+ Fixed two mem-leaks.
+ Check for Locale::gettext which is required.
+ Added support for SRC_SUBDIRS like it's used in gtk+
+ Added localisation through gettext()
+ Updated translations
* Wed Oct 17 2007 maw@suse.de
- Don't require oaf-devel in gnome-build's -devel subpackage.
* Wed Oct 17 2007 maw@suse.de
- Package cleanups:
+ Create a -lang subpackage
+ Don't use globs so liberally: don't package directories owned
by the distro
+ Move several files to -devel subpackage
+ Fix the -devel subpackage's dependencies
- Add build-fix.patch, to make it actually build.
* Tue Oct 16 2007 mauro@suse.de
- Implemented suggested changes in %%post -p /sbin/ldconfig and
"%%postun -p /sbin/ldconfig"
* Thu Oct 04 2007 mauro@suse.de
- Version 0.2.0 added to openSUSE