- correct license tag from GPLv3 to GPLv3+
- subpackage autopoint which requires git (#574031) - no longer require cvs (#606746) - add bcond for git
This commit is contained in:
parent
3b767ca68c
commit
a9bfcf6a23
43
gettext.spec
43
gettext.spec
@ -1,12 +1,13 @@
|
|||||||
%bcond_with jar
|
%bcond_with jar
|
||||||
%bcond_with java
|
%bcond_with java
|
||||||
%bcond_without check
|
%bcond_without check
|
||||||
|
%bcond_without git
|
||||||
|
|
||||||
Summary: GNU libraries and utilities for producing multi-lingual messages
|
Summary: GNU libraries and utilities for producing multi-lingual messages
|
||||||
Name: gettext
|
Name: gettext
|
||||||
Version: 0.18.1.1
|
Version: 0.18.1.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv3 and LGPLv2+
|
License: GPLv3+ and LGPLv2+
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
URL: http://www.gnu.org/software/gettext/
|
URL: http://www.gnu.org/software/gettext/
|
||||||
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/gnu/gettext/%{name}-%{version}.tar.gz
|
||||||
@ -30,11 +31,12 @@ BuildRequires: zip, unzip
|
|||||||
Buildrequires: expat-devel
|
Buildrequires: expat-devel
|
||||||
# for po-mode.el
|
# for po-mode.el
|
||||||
BuildRequires: emacs
|
BuildRequires: emacs
|
||||||
|
%if %{with git}
|
||||||
|
# for autopoint:
|
||||||
BuildRequires: git
|
BuildRequires: git
|
||||||
|
%endif
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
# for autopoint:
|
|
||||||
Requires: cvs
|
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun): info
|
Requires(preun): info
|
||||||
|
|
||||||
@ -51,6 +53,17 @@ catalogs and is a powerful and simple method for internationalizing
|
|||||||
programs.
|
programs.
|
||||||
|
|
||||||
|
|
||||||
|
%package autopoint
|
||||||
|
Summary: gettext autopoint tool
|
||||||
|
Group: Development/Tools
|
||||||
|
License: GPLv3+
|
||||||
|
BuildArch: noarch
|
||||||
|
Requires: git
|
||||||
|
|
||||||
|
%description autopoint
|
||||||
|
Autopoint is a utility to setup standard gettext files in a source tree.
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -60,7 +73,6 @@ Requires: %{name}-libs = %{version}-%{release}
|
|||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun): info
|
Requires(preun): info
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains all development related files necessary for
|
This package contains all development related files necessary for
|
||||||
developing or compiling applications/libraries that needs
|
developing or compiling applications/libraries that needs
|
||||||
@ -76,6 +88,7 @@ License: LGPLv2+
|
|||||||
%description libs
|
%description libs
|
||||||
This package contains libraries used internationalization support.
|
This package contains libraries used internationalization support.
|
||||||
|
|
||||||
|
|
||||||
%package -n emacs-%{name}
|
%package -n emacs-%{name}
|
||||||
Summary: Support for editing po files within GNU Emacs
|
Summary: Support for editing po files within GNU Emacs
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
@ -87,6 +100,7 @@ Requires: emacs(bin) >= %{_emacs_version}
|
|||||||
%description -n emacs-%{name}
|
%description -n emacs-%{name}
|
||||||
This package provides a major mode for editing po files within GNU Emacs.
|
This package provides a major mode for editing po files within GNU Emacs.
|
||||||
|
|
||||||
|
|
||||||
%package -n emacs-%{name}-el
|
%package -n emacs-%{name}-el
|
||||||
Summary: Elisp source files for editing po files within GNU Emacs
|
Summary: Elisp source files for editing po files within GNU Emacs
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
@ -117,7 +131,10 @@ export JAR=fastjar
|
|||||||
%else
|
%else
|
||||||
--disable-java --disable-native-java \
|
--disable-java --disable-native-java \
|
||||||
%endif
|
%endif
|
||||||
--enable-git
|
%if %{without git}
|
||||||
|
--disable-git \
|
||||||
|
%endif
|
||||||
|
%{nil}
|
||||||
|
|
||||||
make %{?_smp_mflags} %{?with_java:GCJFLAGS="-findirect-dispatch"}
|
make %{?_smp_mflags} %{?with_java:GCJFLAGS="-findirect-dispatch"}
|
||||||
|
|
||||||
@ -240,19 +257,25 @@ fi
|
|||||||
%doc gettext-runtime/man/*.1.html
|
%doc gettext-runtime/man/*.1.html
|
||||||
%doc gettext-runtime/intl/COPYING*
|
%doc gettext-runtime/intl/COPYING*
|
||||||
/bin/*
|
/bin/*
|
||||||
|
%exclude %{_bindir}/autopoint
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_infodir}/gettext*
|
%{_infodir}/gettext*
|
||||||
|
%exclude %{_mandir}/man1/autopoint.1*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_libdir}/%{name}
|
%{_libdir}/%{name}
|
||||||
%if %{with java}
|
%if %{with java}
|
||||||
%exclude %{_libdir}/%{name}/gnu.gettext.*
|
%exclude %{_libdir}/%{name}/gnu.gettext.*
|
||||||
%endif
|
%endif
|
||||||
%dir %{_datadir}/%{name}
|
%dir %{_datadir}/%{name}
|
||||||
%{_datadir}/%{name}/archive.*.tar.gz
|
|
||||||
%{_datadir}/%{name}/intl
|
%{_datadir}/%{name}/intl
|
||||||
%{_datadir}/%{name}/po
|
%{_datadir}/%{name}/po
|
||||||
%{_datadir}/%{name}/styles
|
%{_datadir}/%{name}/styles
|
||||||
|
|
||||||
|
%files autopoint
|
||||||
|
%{_bindir}/autopoint
|
||||||
|
%{_datadir}/%{name}/archive.*.tar.gz
|
||||||
|
%{_mandir}/man1/autopoint.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc gettext-runtime/man/*.3.html ChangeLog
|
%doc gettext-runtime/man/*.3.html ChangeLog
|
||||||
@ -297,6 +320,12 @@ fi
|
|||||||
%{_emacs_sitelispdir}/%{name}/*.el
|
%{_emacs_sitelispdir}/%{name}/*.el
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 23 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-2
|
||||||
|
- correct license tag from GPLv3 to GPLv3+
|
||||||
|
- subpackage autopoint which requires git (#574031)
|
||||||
|
- no longer require cvs (#606746)
|
||||||
|
- add bcond for git
|
||||||
|
|
||||||
* Fri May 21 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-1
|
* Fri May 21 2010 Jens Petersen <petersen@redhat.com> - 0.18.1.1-1
|
||||||
- update to 0.18.1.1 release (#591044)
|
- update to 0.18.1.1 release (#591044)
|
||||||
- gettext-0.17-autopoint-CVS-441481.patch, gettext-0.17-long-long-int-m4.patch
|
- gettext-0.17-autopoint-CVS-441481.patch, gettext-0.17-long-long-int-m4.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user