From 5bea3a8978d133f8a56b491197760fd93d4c15b3 Mon Sep 17 00:00:00 2001 From: kloczek Date: Thu, 23 Aug 2001 20:25:10 +0000 Subject: [PATCH] - updated to 0.0.20, - added using %%find_lang macro. - spec ac 2.5x ready. Changed files: gb.spec -> 1.10 --- gb.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gb.spec b/gb.spec index 4759c8b..a2d9298 100644 --- a/gb.spec +++ b/gb.spec @@ -1,20 +1,20 @@ Summary: GB - Gnome Basic Summary: GB - Gnome Basic Name: gb -Version: 0.0.18 -Release: 2 +Version: 0.0.20 +Release: 1 License: GPL Group: X11/Libraries Group(de): X11/Libraries Group(pl): X11/Biblioteki Source0: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/gb/%{name}-%{version}.tar.gz Patch0: %{name}-am_fixes.patch -Patch1: %{name}-ac_fix.patch URL: http://www.gnome.org/gb/ BuildRequires: automake BuildRequires: flex BuildRequires: gnome-libs-devel BuildRequires: gnome-print-devel >= 0.28 +BuildRequires: libtool BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _prefix /usr/X11R6 @@ -60,10 +60,12 @@ Biblioteki statyczne do Gnome Basic. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build -aclocal +sed -e s/AM_GNOME_GETTEXT/AM_GNU_GETTEXT/ configure.in > configure.in.tmp +mv -f configure.in.tmp configure.in +libtoolize --copy --force +aclocal -I %{_aclocaldir}/gnome autoconf automake -a -c %configure @@ -77,11 +79,14 @@ rm -rf $RPM_BUILD_ROOT gzip -9nf ChangeLog NEWS README TODO docs/*.txt +%find_lang %{name} + %clean rm -rf $RPM_BUILD_ROOT -%files +%files -f %{name}.lang %defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/gb %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel -- 2.44.0