]>
Commit | Line | Data |
---|---|---|
ae3a1848 | 1 | Summary: List of country and language names |
cb6d5c15 | 2 | Summary(pl.UTF-8): Lista nazw krajów i języków |
ae3a1848 | 3 | Name: iso-codes |
4e7377c3 | 4 | Version: 3.63 |
96f161a6 | 5 | Release: 1 |
e66a0058 | 6 | License: LGPL v2+ |
ae3a1848 | 7 | Group: Applications/Text |
b676fb3e | 8 | Source0: http://pkg-isocodes.alioth.debian.org/downloads/%{name}-%{version}.tar.xz |
4e7377c3 | 9 | # Source0-md5: 129f822fd64c9bf80931cccc269ccb95 |
832e3f86 | 10 | URL: http://pkg-isocodes.alioth.debian.org/ |
e66a0058 | 11 | BuildRequires: autoconf >= 2.50 |
bd81866a | 12 | BuildRequires: automake |
bc299d36 | 13 | BuildRequires: gettext-tools |
e66a0058 | 14 | BuildRequires: rpmbuild(macros) >= 1.446 |
b676fb3e ŁK |
15 | BuildRequires: tar >= 1:1.22 |
16 | BuildRequires: xz | |
f3aca64e | 17 | Requires: FHS >= 2.3-16 |
b5dd71ee JB |
18 | Conflicts: pkgconfig < 1:0.19 |
19 | BuildArch: noarch | |
ae3a1848 JB |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | This package aims to provide the list of the country and language (and | |
24 | currency) names in one place, rather than repeated in many programs. | |
25 | ||
5cb027c8 JR |
26 | %description -l pl.UTF-8 |
27 | Celem tego pakietu jest dostarczenie list nazw krajów i języków (oraz | |
ae3a1848 JB |
28 | walut) w jednym miejscu, zamiast powtarzania ich w wielu programach. |
29 | ||
30 | %prep | |
74261d19 | 31 | %setup -q |
ae3a1848 JB |
32 | |
33 | %build | |
bd81866a JB |
34 | %{__aclocal} |
35 | %{__autoconf} | |
36 | %{__automake} | |
74261d19 | 37 | %configure |
ae3a1848 JB |
38 | %{__make} |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
74261d19 | 44 | DESTDIR=$RPM_BUILD_ROOT |
ae3a1848 | 45 | |
e2d87163 JB |
46 | # not supported yet by glibc |
47 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/haw | |
ae3a1848 JB |
48 | |
49 | %find_lang %{name} --all-name | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files -f %{name}.lang | |
55 | %defattr(644,root,root,755) | |
56 | %doc ChangeLog README TODO | |
74261d19 | 57 | %{_datadir}/xml/iso-codes |
e66a0058 | 58 | %{_npkgconfigdir}/iso-codes.pc |