unicode-ucd/unicode-ucd.spec

53 lines
1.3 KiB
RPMSpec

# for other future directories from http://www.unicode.org/Public
%global unicodedir %{_datadir}/unicode
%global ucddir %{unicodedir}/ucd
Name: unicode-ucd
Version: 6.0.0
Release: 2%{?dist}
Summary: Unicode Character Database
# https://fedoraproject.org/wiki/Licensing/MIT#Modern_Style_without_sublicense_.28Unicode.29
License: MIT
URL: http://www.unicode.org/ucd/
Source0: http://www.unicode.org/Public/zipped/%{version}/UCD.zip
Source1: http://www.unicode.org/copyright.html
BuildArch: noarch
%description
The Unicode Character Database (UCD) consists of a number of data files listing
Unicode character properties and related data. It also includes data files
containing test data for conformance to several important Unicode algorithms.
%prep
%setup -q -c
cp -p %{SOURCE1} .
%build
%{nil}
%install
mkdir -p %{buildroot}%{ucddir}
cp -ar . %{buildroot}%{ucddir}
rm %{buildroot}%{ucddir}/copyright.html
%files
%doc ReadMe.txt copyright.html
%dir %{unicodedir}
%{ucddir}
%changelog
* Tue Nov 29 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-2
- fix duplicate copyright file (#757290)
- drop superfluous BR on unzip
* Sat Nov 26 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-1
- package Unicode 6.0 UCD
- MIT license