48 lines
1.1 KiB
RPMSpec
48 lines
1.1 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: 1%{?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
|
||
|
BuildRequires: unzip
|
||
|
|
||
|
%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}
|
||
|
|
||
|
|
||
|
%files
|
||
|
%doc ReadMe.txt copyright.html
|
||
|
%dir %{unicodedir}
|
||
|
%{ucddir}
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Sat Nov 26 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-1
|
||
|
- package Unicode 6.0 UCD
|
||
|
- MIT license
|