]> git.pld-linux.org Git - packages/gdl.git/blobdiff - gdl.spec
- 0.6.1, added broken_locale.patch, bleeding edge deps
[packages/gdl.git] / gdl.spec
index 50422fd8f1df90b6421767fdbad7e191d20545e3..e82a4b7565c598ccec423c0e8c7ba0cf0fab8ffc 100644 (file)
--- a/gdl.spec
+++ b/gdl.spec
@@ -1,19 +1,23 @@
-Summary:       Gnome Devtool Libraries
+Summary:       GNOME Devtool Libraries
+Summary(pl):   Biblioteki GNOME Devtool
 Name:          gdl
-Version:       0.4.0
+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
+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
-Requires(post):        GConf2
-Requires(post):        /sbin/ldconfig
+BuildRequires: pkgconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,11 +28,20 @@ browser bonobo component (symbol-browser-control), a docking widget
 (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
+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
@@ -42,7 +55,7 @@ u
 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.
@@ -52,11 +65,13 @@ Pakiet zawiera statyczne biblioteki gdl.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-glib-gettextize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
 %{__libtoolize}
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure
@@ -68,26 +83,19 @@ rm -rf $RPM_BUILD_ROOT
 %{__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
-
-%postun -p /sbin/ldconfig
+%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}/*
-%{_libdir}/bonobo/servers/*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 %{_datadir}/gdl
-%{_datadir}/gnome-2.0/ui/*
-%{_datadir}/idl/libgdl-1.0/*.idl
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.032272 seconds and 4 git commands to generate.