]> git.pld-linux.org Git - packages/iso-codes.git/blame - iso-codes.spec
- updated to 4.11.0
[packages/iso-codes.git] / iso-codes.spec
CommitLineData
ae3a1848 1Summary: List of country and language names
cb6d5c15 2Summary(pl.UTF-8): Lista nazw krajów i języków
ae3a1848 3Name: iso-codes
4bc58973
JB
4Version: 4.11.0
5Release: 1
e66a0058 6License: LGPL v2+
ae3a1848 7Group: Applications/Text
9cff5400 8#Source0Download: https://salsa.debian.org/iso-codes-team/iso-codes/tags
002fc2d7 9Source0: https://salsa.debian.org/iso-codes-team/iso-codes/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
4bc58973 10# Source0-md5: c2bef0fba0d8f9d32474ae57dbebee75
9cff5400 11URL: https://salsa.debian.org/iso-codes-team/iso-codes
e66a0058 12BuildRequires: autoconf >= 2.50
bd81866a 13BuildRequires: automake
bc299d36 14BuildRequires: gettext-tools
e66a0058 15BuildRequires: rpmbuild(macros) >= 1.446
b676fb3e
ŁK
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
f3aca64e 18Requires: FHS >= 2.3-16
b5dd71ee
JB
19Conflicts: pkgconfig < 1:0.19
20BuildArch: noarch
ae3a1848
JB
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This package aims to provide the list of the country and language (and
25currency) names in one place, rather than repeated in many programs.
26
5cb027c8
JR
27%description -l pl.UTF-8
28Celem tego pakietu jest dostarczenie list nazw krajów i języków (oraz
ae3a1848
JB
29walut) w jednym miejscu, zamiast powtarzania ich w wielu programach.
30
31%prep
002fc2d7 32%setup -q -n %{name}-v%{version}
ae3a1848
JB
33
34%build
bd81866a
JB
35%{__aclocal}
36%{__autoconf}
37%{__automake}
74261d19 38%configure
ae3a1848
JB
39%{__make}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
74261d19 45 DESTDIR=$RPM_BUILD_ROOT
ae3a1848 46
13d2b30e
JB
47# unify
48%{__mv} -n $RPM_BUILD_ROOT%{_localedir}/{nb_NO,nb}/LC_MESSAGES/iso_3166-2.mo
4bc58973 49%{__mv} -n $RPM_BUILD_ROOT%{_localedir}/{nb_NO,nb}/LC_MESSAGES/iso_3166_2.mo
13d2b30e 50%{__mv} -n $RPM_BUILD_ROOT%{_localedir}/{nb_NO,nb}/LC_MESSAGES/iso_639-5.mo
4bc58973 51%{__mv} -n $RPM_BUILD_ROOT%{_localedir}/{nb_NO,nb}/LC_MESSAGES/iso_639_5.mo
e90a7ff2
JB
52# exists only in bn_BD
53%{__mv} -n $RPM_BUILD_ROOT%{_localedir}/{bn_BD,bn}/LC_MESSAGES/iso_15924.mo
54# the rest is less complete in bn_BD than in bn
55%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/bn_BD
13d2b30e 56
e2d87163 57# not supported yet by glibc
e90a7ff2 58%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ace,ach,bar,ch,frp,gn,haw,io,jam,ki,kmr,kv,mo,na,nah,nv,pi,son,tzm,zh_Hans,zh_Hant}
ae3a1848
JB
59
60%find_lang %{name} --all-name
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files -f %{name}.lang
66%defattr(644,root,root,755)
002fc2d7 67%doc CHANGELOG*.md README.md TODO
460280d4 68%{_datadir}/iso-codes
74261d19 69%{_datadir}/xml/iso-codes
e66a0058 70%{_npkgconfigdir}/iso-codes.pc
This page took 0.096288 seconds and 4 git commands to generate.