Summary: GNOME Devtool Libraries
-Summary(pl): Biblioteki GNOME Devtool
+Summary(pl.UTF-8): Biblioteki GNOME Devtool
Name: gdl
-Version: 0.6.0
+Version: 0.7.11
Release: 1
-License: GPL
+License: GPL v2+
Group: Libraries
-Source0: http://ftp.gnome.org/pub/gnome/sources/gdl/0.6/%{name}-%{version}.tar.bz2
-# Source0-md5: ae8dabe64edccfeed5ac3630a6169c88
-BuildRequires: autoconf
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gdl/0.7/%{name}-%{version}.tar.bz2
+# Source0-md5: 74f529cc2623376ee793be65439f54d6
+BuildRequires: GConf2-devel >= 2.22.0
+BuildRequires: autoconf >= 2.53
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gnome-common >= 2.8.0
-BuildRequires: intltool
-BuildRequires: libbonoboui-devel >= 2.2.0
-BuildRequires: libglade2-devel >= 2.0.0
-BuildRequires: libgnomeui-devel >= 2.2.0
+BuildRequires: gnome-vfs2-devel >= 2.22.0
+BuildRequires: gtk+2-devel >= 2:2.10.0
+BuildRequires: gtk-doc >= 1.4
+BuildRequires: intltool >= 0.36.2
+BuildRequires: libglade2-devel >= 1:2.6.2
+BuildRequires: libgnomeui-devel >= 2.22.0
BuildRequires: libtool
+BuildRequires: libxml2-devel >= 1:2.6.26
BuildRequires: pkgconfig
+# sr@Latn vs. sr@latin
+Conflicts: glibc-misc < 6:2.7
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 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
+%description -l pl.UTF-8
+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,
+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
+Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki gdl
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
+Requires: gnome-vfs2-devel >= 2.22.0
+Requires: gtk+2-devel >= 2:2.10.0
+Requires: libglade2-devel >= 1:2.6.2
+Requires: libgnomeui-devel >= 2.22.0
+Requires: libxml2-devel >= 1:2.6.26
%description devel
This package contains the header files needed to develop programs that
use these gdl.
-%description devel -l pl
-Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów
-u¿ywaj±cych bibliotek gdl.
+%description devel -l pl.UTF-8
+Pakiet zawiera pliki nagłówkowe niezbędne do kompilowania programów
+używających bibliotek gdl.
%package static
Summary: Static libraries for gdl development
-Summary(pl): Statyczne biblioteki gdl
+Summary(pl.UTF-8): Statyczne biblioteki gdl
Group: Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
This package contains the static gdl libraries.
-%description static -l pl
+%description static -l pl.UTF-8
Pakiet zawiera statyczne biblioteki gdl.
+%package apidocs
+Summary: gdl library API documentation
+Summary(pl.UTF-8): Dokumentacja API biblioteki gdl
+Group: Documentation
+Requires: gtk-doc-common
+
+%description apidocs
+gdl library API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki gdl.
+
%prep
%setup -q
%build
%{__glib_gettextize}
+%{__intltoolize}
%{__libtoolize}
%{__aclocal}
%{__autoconf}
+%{__autoheader}
%{__automake}
-%configure
+%configure \
+ --with-html-dir=%{_gtkdocdir} \
+ --enable-gtk-doc \
+ --enable-static
+
%{__make}
%install
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
-
-%find_lang %{name}-1 --with-gnome
+[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
+ mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
+%find_lang %{name}-1
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}-1.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+%attr(755,root,root) %{_libdir}/libgdl-1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgdl-1.so.0
+%attr(755,root,root) %{_libdir}/libgdl-gnome-1.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgdl-gnome-1.so.0
%{_datadir}/gdl
%files devel
%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgdl-1.so
+%attr(755,root,root) %{_libdir}/libgdl-gnome-1.so
%{_includedir}/libgdl-1.0
-%{_libdir}/lib*.la
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_pkgconfigdir}/*.pc
+%{_libdir}/libgdl-1.la
+%{_libdir}/libgdl-gnome-1.la
+%{_pkgconfigdir}/gdl-1.0.pc
+%{_pkgconfigdir}/gdl-gnome-1.0.pc
%files static
%defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libgdl-1.a
+%{_libdir}/libgdl-gnome-1.a
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/gdl