forked from pool/intltool
This commit is contained in:
parent
5fdbb56449
commit
348af1a9eb
11
intltool-extract-check-hack.patch
Normal file
11
intltool-extract-check-hack.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- intltool-update.in.in
|
||||||
|
+++ intltool-update.in.in
|
||||||
|
@@ -569,7 +569,7 @@
|
||||||
|
|
||||||
|
## Generate the .h header files, so we can allow glade and
|
||||||
|
## xml translation support
|
||||||
|
- if (! -x "$EXTRACT")
|
||||||
|
+ if (0)
|
||||||
|
{
|
||||||
|
print STDERR "\n *** The intltool-extract script wasn't found!"
|
||||||
|
."\n *** Without it, intltool-update can not generate files.\n";
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 22 18:15:38 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Worked around bad intltool-extract check.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 21 13:37:06 CST 2007 - maw@suse.de
|
Wed Mar 21 13:37:06 CST 2007 - maw@suse.de
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Name: intltool
|
|||||||
BuildRequires: perl-XML-Parser
|
BuildRequires: perl-XML-Parser
|
||||||
Summary: Internationalization Tool Collection
|
Summary: Internationalization Tool Collection
|
||||||
Version: 0.35.5
|
Version: 0.35.5
|
||||||
Release: 1
|
Release: 2
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
BuildArchitectures: noarch
|
BuildArchitectures: noarch
|
||||||
Requires: gettext-devel perl-XML-Parser
|
Requires: gettext-devel perl-XML-Parser
|
||||||
@ -22,7 +22,8 @@ Provides: xml-i18n-tools
|
|||||||
Obsoletes: xml-i18n-tools
|
Obsoletes: xml-i18n-tools
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
URL: http://www.gnome.org
|
URL: http://www.gnome.org
|
||||||
Source0: ftp://ftp.gnome.org/pub/gnome/sources/intltool/%{version}/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.gnome.org/pub/gnome/sources/intltool/%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
Patch: intltool-extract-check-hack.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -39,42 +40,35 @@ Authors:
|
|||||||
Rodney Dawes <dobey@novell.com>
|
Rodney Dawes <dobey@novell.com>
|
||||||
Danilo Šegan <danilo@gnome.org>
|
Danilo Šegan <danilo@gnome.org>
|
||||||
|
|
||||||
%define INSTALL install -m755 -s
|
|
||||||
%define INSTALL_SCRIPT install -m755
|
|
||||||
%define INSTALL_DIR install -d -m755
|
|
||||||
%define INSTALL_DATA install -m644
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
autoreconf -f -i
|
# Quick hack! Upstream must provide better check.
|
||||||
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
autoreconf -f -i
|
||||||
./configure \
|
%configure
|
||||||
--mandir=%{_mandir} \
|
make %{?jobs:-j%jobs}
|
||||||
--prefix=%{_prefix} \
|
#make check
|
||||||
--infodir=%{_infodir} \
|
|
||||||
--sysconfdir=%{_sysconfdir}
|
|
||||||
make
|
|
||||||
make check
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -fr $RPM_BUILD_ROOT
|
%makeinstall
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -fr $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
||||||
%defattr(0555, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%defattr (0444, root, root)
|
%{_datadir}/aclocal/*.m4
|
||||||
%{_mandir}/man8/*
|
%{_datadir}/%{name}
|
||||||
%attr(0755,root,root) %{_datadir}/%{name}
|
%doc %{_mandir}/man8/*.*
|
||||||
%{_datadir}/aclocal/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 22 2007 - sbrabec@suse.cz
|
||||||
|
- Worked around bad intltool-extract check.
|
||||||
* Wed Mar 21 2007 - maw@suse.de
|
* Wed Mar 21 2007 - maw@suse.de
|
||||||
- Update to version 0.35.5.
|
- Update to version 0.35.5.
|
||||||
* Don't hardcode fallback path to intltool-extract -- bug #399476
|
* Don't hardcode fallback path to intltool-extract -- bug #399476
|
||||||
|
Loading…
Reference in New Issue
Block a user