]> git.pld-linux.org Git - packages/gal.git/blobdiff - gal.spec
- 2.4.3, R: libgnomecanvas >= 2.10.2
[packages/gal.git] / gal.spec
index fc3424211ed1524eae23b01631d02366a69ebff9..23f89050659d64a8ebb6de164a23f1e85288799a 100644 (file)
--- a/gal.spec
+++ b/gal.spec
@@ -6,28 +6,30 @@ Summary(pt_BR):       G App Libs: Biblioteca para uso em aplicativos GNOME
 Summary(ru):   âÉÂÌÉÏÔÅËÁ ÄÌÑ ÓÏÓÔÁ×ÎÙÈ ÄÏËÕÍÅÎÔÏ× × GNOME
 Summary(uk):   â¦Â̦ÏÔÅËÁ ÄÌÑ ËÏÍÐÏÎÅÎÔÎÉÈ ÄÏËÕÍÅÎԦננGNOME
 Name:          gal
-Version:       2.1.9
+Version:       2.4.3
 Release:       1
 Epoch:         1
 License:       LGPL
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
-# Source0-md5: 0eb17b023b6f1fe5793ad0680334c3b4
-Patch0:                %{name}-locale-names.patch
-Patch1:                %{name}-iconv-in-glibc.patch
+Source0:       http://ftp.gnome.org/pub/gnome/sources/gal/2.4/%{name}-%{version}.tar.bz2
+# Source0-md5: de9ef290fd614a1057e26e31bc294142
+Patch0:                %{name}-iconv-in-glibc.patch
+Patch1:                %{name}-gcc-3.4.patch
 BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 BuildRequires: gettext-devel
-BuildRequires: gnome-common >= 2.4.0
-BuildRequires: gtk+2-devel >= 2:2.4.1
-BuildRequires: gtk-doc >= 1.0
-BuildRequires: intltool >= 0.27.1
-BuildRequires: libglade2-devel >= 1:2.4.0
-BuildRequires: libgnomeprintui-devel >= 2.6.1
-BuildRequires: libgnomeui-devel >= 2.6.1
+BuildRequires: gnome-common >= 2.8.0
+BuildRequires: gtk+2-devel >= 2:2.6.4
+BuildRequires: gtk-doc >= 1.3
+BuildRequires: intltool >= 0.33
+BuildRequires: libglade2-devel >= 1:2.5.1
+BuildRequires: libgnomeprintui-devel >= 2.10.2
+BuildRequires: libgnomeui-devel >= 2.10.0-2
 BuildRequires: libtool
 BuildRequires: libxml2-devel
 BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.197
+Requires:      libgnomecanvas >= 2.10.2
 Obsoletes:     gal2
 Obsoletes:     libgal19
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -76,9 +78,9 @@ Summary(ru):  
 Summary(uk):   â¦Â̦ÏÔÅËÉ ÔÁ ÈÅÄÅÒÉ ÄÌÑ gal
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      libglade2-devel >= 1:2.4.0
-Requires:      libgnomeprintui-devel >= 2.6.1
-Requires:      libgnomeui-devel >= 2.6.1
+Requires:      libglade2-devel >= 1:2.5.1
+Requires:      libgnomeprintui-devel >= 2.10.2
+Requires:      libgnomeui-devel >= 2.10.0-2
 Obsoletes:     gal2-devel
 Obsoletes:     libgal19-devel
 
@@ -128,15 +130,13 @@ Bibliotecas est
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
-
-mv -f po/{no,nb}.po
+%patch1 -p0
 
 %build
-glib-gettextize --copy --force
-intltoolize --copy --force
+%{__glib_gettextize}
+%{__intltoolize}
 %{__libtoolize}
-%{__aclocal} -I %{_aclocaldir}/gnome2-macros
+%{__aclocal}
 %{__autoheader}
 %{__autoconf}
 %{__automake}
@@ -144,7 +144,6 @@ intltoolize --copy --force
        --enable-static \
        --disable-gtk-doc \
        --with-html-dir=%{_gtkdocdir}/%{name}
-
 %{__make}
 
 %install
@@ -156,7 +155,9 @@ rm -rf $RPM_BUILD_ROOT
 # shutup check-files
 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a}
 
-%find_lang %{name}-2.2
+rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
+
+%find_lang %{name}-2.4
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -164,11 +165,11 @@ rm -rf $RPM_BUILD_ROOT
 %post  -p /sbin/ldconfig
 %postun        -p /sbin/ldconfig
 
-%files -f %{name}-2.2.lang
+%files -f %{name}-2.4.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_datadir}/gal-2.2
+%{_datadir}/gal-2.4
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.097447 seconds and 4 git commands to generate.