Package init
This commit is contained in:
commit
924f71a8f2
BIN
iso-codes-iso-codes-3.79.tar.gz
Normal file
BIN
iso-codes-iso-codes-3.79.tar.gz
Normal file
Binary file not shown.
60
iso-codes.spec
Normal file
60
iso-codes.spec
Normal file
@ -0,0 +1,60 @@
|
||||
Name: iso-codes
|
||||
Version: 3.79
|
||||
Release: 4
|
||||
Summary: lists of various ISO standards
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://salsa.debian.org/iso-codes-team/iso-codes
|
||||
Source0: https://salsa.debian.org/iso-codes-team/iso-codes/uploads/ef8de8bc12e0512d26ed73436a477871/%{name}-%{name}-%{version}.tar.gz
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: git gettext python3
|
||||
Requires: sgml-common
|
||||
|
||||
%description
|
||||
This project provides lists of various ISO standards (e.g. country,
|
||||
language, language scripts, and currency names) in one place, rather
|
||||
than repeated in many programs throughout the system.
|
||||
|
||||
%package devel
|
||||
Summary: pkg-config configuration file for iso-codes
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description devel
|
||||
pkg-config configuration file for iso-codes
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{name}-%{version} -p1 -Sgit
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
rm -rf %RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc ChangeLog README.md
|
||||
%license COPYING
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/locale/*/LC_MESSAGES/iso_*.mo
|
||||
%{_datadir}/xml/%{name}
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/pkgconfig/iso-codes.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 24 2019 shenyangyang<shenyangyang4@huawei.com> - 3.79-4
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:revise requires
|
||||
|
||||
* Mon Aug 19 2019 openEuler Builteam <buildteam@openeuler.org> - 3.79-3
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user