forked from pool/gettext-runtime
- use https for urls
- spec-cleaner run - use https for urls OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=173
This commit is contained in:
parent
8385a86ecf
commit
314450d13d
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 22 22:06:46 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use https for urls
|
||||
- spec-cleaner run
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 10:33:41 UTC 2020 - Christian Vögl <christian.voegl@suse.com>
|
||||
|
||||
|
@ -16,7 +16,26 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} <= 600 || 0%{?scilin_version} <= 600 || 0%{?rhel_version} <= 600
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
Name: gettext-csharp
|
||||
Version: 0.21
|
||||
Release: 0
|
||||
Summary: Native Language Support (NLS) for C#
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Tools/Other
|
||||
URL: https://www.gnu.org/software/gettext/
|
||||
Source0: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz
|
||||
Source1: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig
|
||||
Source2: suse-start-po-mode.el
|
||||
Source3: gettext-linkdupes.sh
|
||||
Source4: gettext-rpmlintrc
|
||||
Source5: %{name}.keyring
|
||||
Patch0: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: glib2-devel
|
||||
@ -27,27 +46,6 @@ BuildRequires: mono-devel
|
||||
BuildRequires: perl-libintl-perl
|
||||
BuildRequires: tcl
|
||||
Requires: mono
|
||||
URL: http://www.gnu.org/software/gettext/
|
||||
Version: 0.21
|
||||
Release: 0
|
||||
Summary: Native Language Support (NLS) for C#
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Tools/Other
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz
|
||||
Source1: gettext-rpmlintrc
|
||||
Source2: suse-start-po-mode.el
|
||||
Source3: gettext-linkdupes.sh
|
||||
Source4: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig
|
||||
Source5: %name.keyring
|
||||
Patch: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
Patch4: gettext-po-mode.diff
|
||||
Patch5: gettext-initialize_vars.patch
|
||||
|
||||
%if 0%{?fedora_version} || 0%{?centos_version} <= 600 || 0%{?scilin_version} <= 600 || 0%{?rhel_version} <= 600
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Mono with its 'resgen' program uses a design that Microsoft created and
|
||||
@ -70,10 +68,9 @@ The included GNU.Gettext.dll gives the user this freedom back and the
|
||||
also included msgfmt.net.exe and msgunfmt.net.exe handle PO files more
|
||||
reliably than 'resgen'.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n gettext-%{version}
|
||||
%patch
|
||||
%patch0
|
||||
%patch2
|
||||
%patch4
|
||||
%patch5
|
||||
@ -85,11 +82,11 @@ export CXXFLAGS="%{optflags} -pipe -W -Wall -Dgcc_is_lint"
|
||||
#autoreconf -fiv
|
||||
#sh autogen.sh
|
||||
%configure --enable-shared --enable-csharp
|
||||
make %{?_smp_mflags} GMSGFMT=../src/msgfmt V=1
|
||||
%make_build GMSGFMT=../src/msgfmt
|
||||
|
||||
%install
|
||||
export LC_CTYPE=ISO-8859-15
|
||||
%makeinstall
|
||||
%make_install
|
||||
mkdir examples
|
||||
mv %{buildroot}/%{_datadir}/doc/gettext/examples/*csharp* examples
|
||||
mv %{buildroot}/%{_datadir}/doc/gettext/csharpdoc csharpdoc
|
||||
@ -109,24 +106,20 @@ mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
|
||||
mv examples %{buildroot}/%{_defaultdocdir}/%{name}
|
||||
mv csharpdoc %{buildroot}/%{_defaultdocdir}/%{name}
|
||||
# exclude files packaged via other spec files
|
||||
rm -Rf %{buildroot}/%_bindir
|
||||
rm -f %{buildroot}/%_libdir/lib*
|
||||
rm -f %{buildroot}/%_libdir/gettext/hostname
|
||||
rm -f %{buildroot}/%_libdir/gettext/project-id
|
||||
rm -f %{buildroot}/%_libdir/gettext/urlget
|
||||
rm -f %{buildroot}/%_libdir/gettext/user-email
|
||||
rm -f %{buildroot}/%_libdir/gettext/cldr-plurals
|
||||
rm -Rf %{buildroot}/%_includedir
|
||||
rm -f %{buildroot}/%_libdir/preloadable_libintl.so
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
rm -Rf %{buildroot}/%{_bindir}
|
||||
rm -f %{buildroot}/%{_libdir}/lib*
|
||||
rm -f %{buildroot}/%{_libdir}/gettext/hostname
|
||||
rm -f %{buildroot}/%{_libdir}/gettext/project-id
|
||||
rm -f %{buildroot}/%{_libdir}/gettext/urlget
|
||||
rm -f %{buildroot}/%{_libdir}/gettext/user-email
|
||||
rm -f %{buildroot}/%{_libdir}/gettext/cldr-plurals
|
||||
rm -Rf %{buildroot}/%{_includedir}
|
||||
rm -f %{buildroot}/%{_libdir}/preloadable_libintl.so
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_defaultdocdir}/%{name}
|
||||
%_libdir/GNU.Gettext.dll
|
||||
%_libdir/gettext/msgfmt.net.exe
|
||||
%_libdir/gettext/msgunfmt.net.exe
|
||||
%{_libdir}/GNU.Gettext.dll
|
||||
%{_libdir}/gettext/msgfmt.net.exe
|
||||
%{_libdir}/gettext/msgunfmt.net.exe
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 22 22:06:58 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use https for urls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 28 10:20:58 UTC 2020 - Christian Vögl <christian.voegl@suse.com>
|
||||
|
||||
|
@ -22,12 +22,12 @@ Release: 0
|
||||
Summary: Java Support for Native Language Support (NLS)
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Tools/Other
|
||||
URL: http://www.gnu.org/software/gettext/
|
||||
Source0: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz
|
||||
Source1: gettext-rpmlintrc
|
||||
URL: https://www.gnu.org/software/gettext/
|
||||
Source0: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz
|
||||
Source1: https://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig
|
||||
Source2: suse-start-po-mode.el
|
||||
Source3: gettext-linkdupes.sh
|
||||
Source4: http://ftp.gnu.org/gnu/gettext/gettext-%{version}.tar.xz.sig
|
||||
Source4: gettext-rpmlintrc
|
||||
Source5: %{name}.keyring
|
||||
Patch0: gettext-0.12.1-sigfpe.patch
|
||||
Patch2: gettext-0.12.1-gettextize.patch
|
||||
|
Loading…
Reference in New Issue
Block a user