142 lines
4.1 KiB
RPMSpec
142 lines
4.1 KiB
RPMSpec
Name: langpacks
|
|
Version: 1.0
|
|
Release: 2mamba
|
|
Summary: Langpacks meta-package
|
|
Group: System/Internationalization
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://openmamba.org
|
|
Source: org.openmamba.LangPacks.xml
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
## AUTOBUILDREQ-END
|
|
BuildArch: noarch
|
|
BuildRequires: libappstream-glib
|
|
BuildRequires: shared-mime-info
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Langpack meta-package to provide individual langpacks packages.
|
|
|
|
%define langpacks_subpkg() \
|
|
%package %{1}\
|
|
Summary: %{2} langpacks meta-package\
|
|
\
|
|
%description %{1}\
|
|
This package provides %{2} langpacks meta-package.\
|
|
\
|
|
%files %{1}\
|
|
%defattr(-,root,root)\
|
|
%{_datadir}/metainfo/org.openmamba.LangPack-%{1}.metainfo.xml
|
|
|
|
%langpacks_subpkg af Afrikaans
|
|
%langpacks_subpkg am Amharic
|
|
%langpacks_subpkg ar Arabic
|
|
%langpacks_subpkg as Assamese
|
|
%langpacks_subpkg ast Asturian
|
|
%langpacks_subpkg be Belarusian
|
|
%langpacks_subpkg bg Bulgarian
|
|
%langpacks_subpkg bn Bengali
|
|
%langpacks_subpkg bo Tibetan
|
|
%langpacks_subpkg br Breton
|
|
%langpacks_subpkg bs Bosnian
|
|
%langpacks_subpkg ca Catalan
|
|
%langpacks_subpkg cs Czech
|
|
%langpacks_subpkg cy Welsh
|
|
%langpacks_subpkg da Danish
|
|
%langpacks_subpkg de German
|
|
%langpacks_subpkg dz Bhutanese
|
|
%langpacks_subpkg el Greek
|
|
%langpacks_subpkg en English
|
|
%langpacks_subpkg en_GB %{quote:English (United Kingdom)}
|
|
%langpacks_subpkg eo Esperanto
|
|
%langpacks_subpkg es Spanish
|
|
%langpacks_subpkg et Estonian
|
|
%langpacks_subpkg eu Basque
|
|
%langpacks_subpkg fa Persian
|
|
%langpacks_subpkg fi Finnish
|
|
%langpacks_subpkg fr French
|
|
%langpacks_subpkg ga Irish
|
|
%langpacks_subpkg gl Galician
|
|
%langpacks_subpkg gu Gujarati
|
|
%langpacks_subpkg he Hebrew
|
|
%langpacks_subpkg hi Hindi
|
|
%langpacks_subpkg hr Croatian
|
|
%langpacks_subpkg hu Hungarian
|
|
%langpacks_subpkg ia Interlingua
|
|
%langpacks_subpkg id Indonesian
|
|
%langpacks_subpkg is Icelandic
|
|
%langpacks_subpkg it Italian
|
|
%langpacks_subpkg ja Japanese
|
|
%langpacks_subpkg ka Georgian
|
|
%langpacks_subpkg kk Kazakh
|
|
%langpacks_subpkg km Khmer
|
|
%langpacks_subpkg kn Kannada
|
|
%langpacks_subpkg ko Korean
|
|
%langpacks_subpkg ku Kurdish
|
|
%langpacks_subpkg lt Lithuanian
|
|
%langpacks_subpkg lv Latvian
|
|
%langpacks_subpkg mai Maithili
|
|
%langpacks_subpkg mk Macedonian
|
|
%langpacks_subpkg ml Malayalam
|
|
%langpacks_subpkg mr Marathi
|
|
%langpacks_subpkg ms Malay
|
|
%langpacks_subpkg my Burmese
|
|
%langpacks_subpkg nb %{quote:Norwegian Bokmål}
|
|
%langpacks_subpkg ne Nepali
|
|
%langpacks_subpkg nl Dutch
|
|
%langpacks_subpkg nn Nynorsk
|
|
%langpacks_subpkg nr %{quote:Southern Ndebele}
|
|
%langpacks_subpkg nso %{quote:Northern Sotho}
|
|
%langpacks_subpkg or Oriya
|
|
%langpacks_subpkg pa Punjabi
|
|
%langpacks_subpkg pl Polish
|
|
%langpacks_subpkg pt_BR %{quote:Portuguese (Brazil)}
|
|
%langpacks_subpkg pt Portuguese
|
|
%langpacks_subpkg ro Romanian
|
|
%langpacks_subpkg ru Russian
|
|
%langpacks_subpkg si Sinhala
|
|
%langpacks_subpkg sk Slovak
|
|
%langpacks_subpkg sl Slovenian
|
|
%langpacks_subpkg sq Albanian
|
|
%langpacks_subpkg sr Serbian
|
|
%langpacks_subpkg ss Swati
|
|
%langpacks_subpkg sv Swedish
|
|
%langpacks_subpkg ta Tamil
|
|
%langpacks_subpkg te Telugu
|
|
%langpacks_subpkg th Thai
|
|
%langpacks_subpkg tn Tswana
|
|
%langpacks_subpkg tr Turkish
|
|
%langpacks_subpkg ts Tsonga
|
|
%langpacks_subpkg uk Ukrainian
|
|
%langpacks_subpkg ur Urdu
|
|
%langpacks_subpkg ve Venda
|
|
%langpacks_subpkg vi Vietnamese
|
|
%langpacks_subpkg xh Xhosa
|
|
%langpacks_subpkg yi Yiddish
|
|
%langpacks_subpkg zh_CN %{quote:Simplified Chinese}
|
|
%langpacks_subpkg zh_TW %{quote:Traditional Chinese}
|
|
%langpacks_subpkg zu Zulu
|
|
|
|
%prep
|
|
|
|
%build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
# Explode the metainfo files into the subpackages so they get added to the
|
|
# distro-specific AppStream metadata (from Fedora)
|
|
mkdir -p %{buildroot}/usr/share/metainfo
|
|
DESTDIR=%{buildroot} appstream-util split-appstream %{SOURCE0}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%changelog
|
|
* Sat Sep 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-2mamba
|
|
- rebuilt as noarch
|
|
|
|
* Sat Sep 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
|
- package created by autospec
|