1 |
# $Id: iso-codes.spec,v 1.2 2010/02/24 16:47:40 slords Exp $ |
2 |
# Authority: slords |
3 |
# Name: Shad L. Lords |
4 |
|
5 |
%define find_lang /usr/lib/rpm/find-lang.sh %{buildroot} |
6 |
|
7 |
Name: iso-codes |
8 |
Summary: ISO code lists and translations |
9 |
|
10 |
Version: 3.13 |
11 |
Release: 1%{?dist} |
12 |
License: LGPLv2+ |
13 |
Group: System Environment/Base |
14 |
URL: http://alioth.debian.org/projects/pkg-isocodes/ |
15 |
Source: ftp://pkg-isocodes.alioth.debian.org/pub/pkg-isocodes/iso-codes-%{version}.tar.bz2 |
16 |
BuildRequires: gettext |
17 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
18 |
BuildArch: noarch |
19 |
# for /usr/share/xml |
20 |
Requires: xml-common |
21 |
|
22 |
%description |
23 |
This package provides the ISO 639 Language code list, the ISO 4217 |
24 |
Currency code list, the ISO 3166 Territory code list, and ISO 3166-2 |
25 |
sub-territory lists, and all their translations in gettext format. |
26 |
|
27 |
%package devel |
28 |
Summary: Files for development using %{name} |
29 |
Group: Development/Libraries |
30 |
Requires: %{name} = %{version}-%{release} |
31 |
# for /usr/share/pkgconfig |
32 |
Requires: pkgconfig |
33 |
|
34 |
%description devel |
35 |
This package contains the pkg-config files for development |
36 |
when building programs that use %{name}. |
37 |
|
38 |
|
39 |
%prep |
40 |
%setup -q |
41 |
|
42 |
%build |
43 |
%configure |
44 |
make %{_smp_mflags} |
45 |
|
46 |
%install |
47 |
%{__rm} -rf $RPM_BUILD_ROOT |
48 |
make install DESTDIR=$RPM_BUILD_ROOT |
49 |
|
50 |
%find_lang iso-codes --all-name |
51 |
|
52 |
%clean |
53 |
%{__rm} -rf $RPM_BUILD_ROOT |
54 |
|
55 |
%files -f iso-codes.lang |
56 |
%defattr(-,root,root,-) |
57 |
%doc ChangeLog README LICENSE |
58 |
%dir %{_datadir}/xml/iso-codes |
59 |
%{_datadir}/xml/iso-codes/*.xml |
60 |
|
61 |
%files devel |
62 |
%defattr(-,root,root,-) |
63 |
%{_datadir}/pkgconfig/iso-codes.pc |
64 |
|
65 |
%changelog |
66 |
* Tue Feb 02 2010 Parag Nemade <pnemade AT redhat.com> - 3.13-1 |
67 |
- Update to 3.13 |
68 |
|
69 |
* Tue Jan 12 2010 Parag Nemade <pnemade AT redhat.com> - 3.12.1-1 |
70 |
- Update to 3.12.1 |
71 |
|
72 |
* Wed Dec 02 2009 Parag Nemade <pnemade AT redhat.com> - 3.12-1 |
73 |
- Update to 3.12 |
74 |
|
75 |
* Mon Nov 02 2009 Parag Nemade <pnemade@redhat.com> - 3.11.1-1 |
76 |
- Update to 3.11.1 |
77 |
|
78 |
* Fri Oct 23 2009 Parag Nemade <pnemade@redhat.com> - 3.11-1 |
79 |
- Update to 3.11 |
80 |
|
81 |
* Thu Sep 17 2009 Parag Nemade <pnemade@redhat.com> - 3.10.3-1 |
82 |
- Update to 3.10.3 |
83 |
|
84 |
* Wed Aug 05 2009 Parag Nemade <pnemade@redhat.com> - 3.10.2-1 |
85 |
- Update to 3.10.2 |
86 |
|
87 |
* Tue Aug 04 2009 Parag Nemade <pnemade@redhat.com> - 3.10.1-1 |
88 |
- Update to 3.10.1 |
89 |
|
90 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-3 |
91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
92 |
|
93 |
* Tue Jun 02 2009 Parag Nemade <pnemade@redhat.com> - 3.10-2 |
94 |
- Upstream stopped providing iso_639.tab file since 3.9 release, |
95 |
so remove it from %%files. |
96 |
|
97 |
* Tue Jun 02 2009 Parag Nemade <pnemade@redhat.com> - 3.10-1 |
98 |
- Update to 3.10 |
99 |
|
100 |
* Mon Apr 27 2009 Christopher Aillon <caillon@redhat.com> - 3.8-1 |
101 |
- Update to 3.8 |
102 |
|
103 |
* Sun Mar 22 2009 Christopher Aillon <caillon@redhat.com> - 3.7-1 |
104 |
- Update to 3.7 |
105 |
|
106 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-2 |
107 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
108 |
|
109 |
* Mon Feb 2 2009 Christopher Aillon <caillon@redhat.com> - 3.6-1 |
110 |
- Update to 3.6 |
111 |
|
112 |
* Mon Jan 5 2009 Christopher Aillon <caillon@redhat.com> - 3.5.1-1 |
113 |
- Update to 3.5.1 |
114 |
|
115 |
* Tue Dec 9 2008 Christopher Aillon <caillon@redhat.com> - 3.5-1 |
116 |
- Update to 3.5 |
117 |
|
118 |
* Sat Sep 20 2008 Ville Skyttä <ville.skytta at iki.fi> - 3.3-1 |
119 |
- Update to 3.3. |
120 |
- Address minor issues in merge review (#225918): update %%description, |
121 |
don't use %%makeinstall, drop unneeded %%debug_package override, use |
122 |
parallel build. |
123 |
|
124 |
* Wed Jul 2 2008 Christopher Aillon <caillon@redhat.com> - 3.1-1 |
125 |
- Update to 3.1 |
126 |
|
127 |
* Wed May 7 2008 Christopher Aillon <caillon@redhat.com> 2.1-1 |
128 |
- Update to 2.1 |
129 |
|
130 |
* Sun Mar 9 2008 Christopher Aillon <caillon@redhat.com> 2.0-1 |
131 |
- Update to 2.0 |
132 |
|
133 |
* Wed Feb 27 2008 Christopher Aillon <caillon@redhat.com> 1.9-1 |
134 |
- Update to 1.9 |
135 |
|
136 |
* Tue Feb 5 2008 Matthias Clasen <mclasen@redhat.com> 1.8-2 |
137 |
- Bump gettext BR |
138 |
- Use the smaller .bz2 tarball |
139 |
|
140 |
* Sat Feb 2 2008 Matthias Clasen <mclasen@redhat.com> 1.8-1 |
141 |
- Update to 1.8 |
142 |
|
143 |
* Sat Dec 29 2007 Christopher Aillon <caillon@redhat.com> 1.7-1 |
144 |
- Update to 1.7 |
145 |
|
146 |
* Tue Dec 4 2007 Christopher Aillon <caillon@redhat.com> 1.6-1 |
147 |
- Update to 1.6 |
148 |
|
149 |
* Fri Oct 26 2007 Christopher Aillon <caillon@redhat.com> 1.5-1 |
150 |
- Update to 1.5 |
151 |
|
152 |
* Wed Sep 5 2007 Christopher Aillon <caillon@redhat.com> 1.4-1 |
153 |
- Update to 1.4 |
154 |
|
155 |
* Wed Aug 8 2007 Matthias Clasen <mclasen@redhat.com> 1.3-1 |
156 |
- Update to 1.3 |
157 |
- Update the license field |
158 |
- Use %%find_lang for translations |
159 |
- Don't create debuginfo |
160 |
|
161 |
* Tue Jul 24 2007 Parag Nemade <pnemade@redhat.com> |
162 |
- Update to 1.2 |
163 |
|
164 |
* Wed Mar 7 2007 Christopher Aillon <caillon@redhat.com> 1.0-1 |
165 |
- Update to 1.0 |
166 |
|
167 |
* Fri Oct 20 2006 Christopher Aillon <caillon@redhat.com> 0.56-1 |
168 |
- Update to 0.56 |
169 |
|
170 |
* Mon Aug 28 2006 Christopher Aillon <caillon@redhat.com> 0.53-1 |
171 |
- Update to 0.53 |
172 |
|
173 |
* Sat Jun 24 2006 Jesse Keating <jkeating@redhat.com> 0.49-2 |
174 |
- Missing BR gettext |
175 |
|
176 |
* Sun Jan 1 2006 Christopher Aillon <caillon@redhat.com> 0.49-1 |
177 |
- Update to 0.49 |
178 |
|
179 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> |
180 |
- rebuilt |
181 |
|
182 |
* Fri Aug 26 2005 Christopher Aillon <caillon@redhat.com> 0.47-1 |
183 |
- Update to 0.47 |
184 |
|
185 |
* Mon Jun 10 2005 Christopher Aillon <caillon@redhat.com> 0.46-2 |
186 |
- The .pc file should be installed in %%{_datadir} instead of %%{_libdir} |
187 |
since this is a noarch package. 64bit platforms will otherwise look in |
188 |
the 64bit version of the %%{_libdir} and not find the .pc file and |
189 |
cause them to not find iso-codes |
190 |
|
191 |
* Fri Jun 10 2005 Christopher Aillon <caillon@redhat.com> 0.46-1 |
192 |
- Initial RPM |