Summary: Gnome Devtool Libraries
Name: gdl
Version: 0.4.0
-Release: 1
+Release: 2
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
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libbonoboui-devel >= 2.2.0
BuildRequires: libglade2-devel >= 2.0.0
BuildRequires: libgnomeui-devel >= 2.2.0
BuildRequires: libtool
-Requires(post): GConf2
-Requires(post): /sbin/ldconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
(gdl), a utility library that also contains the stubs and skels for
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).
+
%package devel
Summary: Header files for gdl development
Summary(pl): Pliki nag³ówkowe do biblioteki gdl
%prep
%setup -q
+%patch0 -p1
%build
glib-gettextize --copy --force
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%find_lang gdl-1 --with-gnome
+%find_lang %{name}-1 --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-/sbin/ldconfig
-%gconf_schema_install
-
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%files -f gdl-1.lang
+%files -f %{name}-1.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%{_datadir}/gdl
%{_datadir}/gnome-2.0/ui/*
-%{_datadir}/idl/libgdl-1.0/*.idl
+%{_datadir}/idl/libgdl-1.0
%files devel
%defattr(644,root,root,755)