-Summary: Gnome Devtool Libraries
+Summary: GNOME Devtool Libraries
+Summary(pl): Biblioteki GNOME Devtool
Name: gdl
-Version: 0.4.0
-Release: 2
+Version: 0.6.1
+Release: 1
License: GPL
Group: Libraries
-Source0: http://ftp.gnome.org/pub/gnome/sources/gdl/0.4/%{name}-%{version}.tar.bz2
-# Source0-md5: eb4dfd9def266e4e5cd1e9883b5bdf2a
-Patch0: %{name}-locale.patch
+Source0: http://ftp.gnome.org/pub/gnome/sources/gdl/0.6/%{name}-%{version}.tar.bz2
+# Source0-md5: 6d902981efe30950af8f5033d937c270
+Patch0: %{name}-broken_locale.patch
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gnome-common >= 2.12.0
+BuildRequires: intltool
BuildRequires: libbonoboui-devel >= 2.2.0
-BuildRequires: libglade2-devel >= 2.0.0
-BuildRequires: libgnomeui-devel >= 2.2.0
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeui-devel >= 2.15.1
BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
the symbol browser and text editor components (gdl, idl).
%description -l pl
-Ten pakiet zawieka komponenty i biblioteki dzielone miêdzy narzêdziami
-programistycznymi GNOME, takimi jak gnome-debug, gnome-build i
-anjuta2. Aktualnie GDL zawiera: przegl±darkê symboli jako komponent
-bonobo (symbol-browser-control), dokowany element interfejsu
-graficznego (gdl), bibliotekê narzêdzi zawiêraj±c± tak¿e szkielety dla
-przegl±darki symboli i komponentów edytora tekstu (gdl, idl).
+Ten pakiet zawiera komponenty i biblioteki zaprojektowane jako wspólne
+dla ró¿nych narzêdzi programistycznych GNOME, takich jak: gnome-debug,
+gnome-build i anjuta2. Aktualnie GDL zawiera: przegl±darkê symboli
+jako komponent bonobo (symbol-browser-control), dokowany element
+interfejsu graficznego (gdl), bibliotekê narzêdzi zawieraj±c± tak¿e
+szkielety dla przegl±darki symboli i komponentów edytora tekstu (gdl,
+idl).
%package devel
Summary: Header files for gdl development
Summary(pl): Pliki nag³ówkowe do biblioteki gdl
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description devel
This package contains the header files needed to develop programs that
Summary: Static libraries for gdl development
Summary(pl): Statyczne biblioteki gdl
Group: Development/Libraries
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{version}-%{release}
%description static
This package contains the static gdl libraries.
%patch0 -p1
%build
-glib-gettextize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
%{__libtoolize}
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__aclocal}
%{__autoconf}
%{__automake}
%configure
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files -f %{name}-1.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
-%{_libdir}/bonobo/servers/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%{_datadir}/gdl
-%{_datadir}/gnome-2.0/ui/*
-%{_datadir}/idl/libgdl-1.0
%files devel
%defattr(644,root,root,755)