iso-codes/iso-codes.spec
2005-12-09 22:41:03 +00:00

70 lines
1.7 KiB
RPMSpec

Name: iso-codes
Summary: ISO code lists and translations
Version: 0.47
Release: 1.1
License: LGPL
Group: System Environment/Base
URL: http://alioth.debian.org/projects/pkg-isocodes/
Source: iso-codes_%{version}.orig.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArchitectures: noarch
%description
This package provides the ISO-639 Language code list, the ISO-3166
Territory code list, and ISO-3166-2 sub-territory lists, and all their
translations in gettext .po form.
%package devel
Summary: Files for development using %{name}
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
This package contains the pkg-config files for development
when building programs that use %{name}
%prep
%setup -q
%build
%configure
make
%install
%{__rm} -rf $RPM_BUILD_ROOT
%makeinstall
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog README COPYING
%dir %{_datadir}/iso-codes
%{_datadir}/iso-codes/*.tab
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%dir %{_datadir}/xml/iso-codes
%{_datadir}/xml/iso-codes/*.xml
%files devel
%defattr(-,root,root,-)
%{_datadir}/pkgconfig/iso-codes.pc
%changelog
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
* Fri Aug 26 2005 Christopher Aillon <caillon@redhat.com> 0.47-1
- Update to 0.47
* Mon Jun 10 2005 Christopher Aillon <caillon@redhat.com> 0.46-2
- The .pc file should be installed in %%{_datadir} instead of %%{_libdir}
since this is a noarch package. 64bit platforms will otherwise look in
the 64bit version of the %%{_libdir} and not find the .pc file and
cause them to not find iso-codes
* Fri Jun 10 2005 Christopher Aillon <caillon@redhat.com> 0.46-1
- Initial RPM