unicode-ucd/unicode-ucd.spec

126 lines
3.9 KiB
RPMSpec
Raw Normal View History

2011-11-29 07:04:19 +00:00
# for other future directories from http://www.unicode.org/Public
%global unicodedir %{_datadir}/unicode
%global ucddir %{unicodedir}/ucd
Name: unicode-ucd
2016-06-21 08:14:25 +00:00
Version: 9.0.0
2016-07-26 01:45:11 +00:00
Release: 2%{?dist}
2011-11-29 07:04:19 +00:00
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
2012-11-26 06:24:55 +00:00
# http://www.unicode.org/terms_of_use.html referenced in ReadMe.txt redirects to:
2011-11-29 07:04:19 +00:00
Source1: http://www.unicode.org/copyright.html
2016-07-26 01:45:11 +00:00
Source2: http://www.unicode.org/Public/zipped/%{version}/Unihan.zip
2011-11-29 07:04:19 +00:00
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.
2016-07-26 01:45:11 +00:00
%package unihan
Summary: Unicode Han Database
# for the license and dirs
Requires: %{name} = %{version}-%{release}
%description unihan
This package contains Unihan.zip which contains the data files for the Unified
Han database of Hanzi/Kanji/Hanja Chinese characters.
2011-11-29 07:04:19 +00:00
%prep
%setup -q -c
grep -q "%{version}" ReadMe.txt || (echo "zip file seems not %{version}" ; exit 1)
2011-11-29 07:04:19 +00:00
%build
%{nil}
%install
mkdir -p %{buildroot}%{ucddir}
cp -ar . %{buildroot}%{ucddir}
2016-07-26 01:45:11 +00:00
cp -p %{SOURCE2} %{buildroot}%{ucddir}
2011-11-29 07:04:19 +00:00
cp -p %{SOURCE1} .
2011-11-29 07:04:19 +00:00
%files
%doc copyright.html
2011-11-29 07:04:19 +00:00
%dir %{unicodedir}
%{ucddir}
2016-07-26 01:45:11 +00:00
%exclude %{ucddir}/Unihan.zip
%files unihan
%{ucddir}/Unihan.zip
2011-11-29 07:04:19 +00:00
%changelog
2016-07-26 01:45:11 +00:00
* Tue Jul 26 2016 Jens Petersen <petersen@redhat.com> - 9.0.0-2
- add unihan subpackage (#1357769)
2016-06-21 08:14:25 +00:00
* Tue Jun 21 2016 Jens Petersen <petersen@redhat.com> - 9.0.0-1
- update to Unicode 9.0
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 8.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2015-06-18 05:15:41 +00:00
* Thu Jun 18 2015 Jens Petersen <petersen@redhat.com> - 8.0.0-1
- version 8.0
2014-06-18 01:41:49 +00:00
* Wed Jun 18 2014 Jens Petersen <petersen@redhat.com> - 7.0.0-1
- update to 7.0
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Jan 24 2014 Jens Petersen <petersen@redhat.com> - 6.3.0-2
- only install one copy of copyright.html
- update to latest 2014 copyright.html from website
* Tue Oct 1 2013 Jens Petersen <petersen@redhat.com>
- add a version check to prevent packaging a version mismatch
2013-09-30 01:53:08 +00:00
* Mon Sep 30 2013 Jens Petersen <petersen@redhat.com> - 6.3.0-1
- update to 6.3
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-10-24 09:42:12 +00:00
* Wed Oct 24 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-3
- do not use macro in comment
* Wed Oct 24 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-2
- update to latest copyright file from the website
2012-09-26 01:46:15 +00:00
* Wed Sep 26 2012 Jens Petersen <petersen@redhat.com> - 6.2.0-1
- update to Unicode 6.2
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2012-03-02 01:24:03 +00:00
* Fri Mar 2 2012 Jens Petersen <petersen@redhat.com> - 6.1.0-1
- update to Unicode 6.1
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-11-30 07:53:19 +00:00
* Wed Nov 30 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-3
- do not duplicate ReadMe.txt in doc files
* Tue Nov 29 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-2
- fix duplicate copyright file (#757290)
- drop superfluous BR on unzip
2011-11-29 07:04:19 +00:00
* Sat Nov 26 2011 Jens Petersen <petersen@redhat.com> - 6.0.0-1
- package Unicode 6.0 UCD
- MIT license