Dominique Leuenberger 2018-03-01 11:02:54 +00:00 committed by Git OBS Bridge
commit 9d493d5bc8
2 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Feb 28 16:40:38 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Mon Feb 26 11:38:25 UTC 2018 - dimstar@opensuse.org
- Use SPDX3.0 license tags and package COPYING as %license.
-------------------------------------------------------------------
Wed Jun 21 13:57:57 UTC 2017 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package unicode-ucd
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,14 +24,14 @@ Version: 10.0.0
Release: 0
Summary: Unicode Character Database
License: Unicode-TOU
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: System/I18n
Url: http://www.unicode.org/ucd/
URL: http://www.unicode.org/ucd/
Source0: http://www.unicode.org/Public/zipped/%{version}/UCD.zip
# http://www.unicode.org/terms_of_use.html referenced in ReadMe.txt redirects to:
Source1: http://www.unicode.org/copyright.html
Source2: http://www.unicode.org/Public/zipped/%{version}/Unihan.zip
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
@ -42,6 +42,7 @@ containing test data for conformance to several important Unicode algorithms.
%package unihan
Summary: Unicode Han Database
# for the license and dirs
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: System/I18n
Requires: %{name} = %{version}-%{release}
@ -65,14 +66,12 @@ cp -p %{SOURCE2} %{buildroot}%{ucddir}
cp -p %{SOURCE1} .
%files
%defattr(-,root,root)
%doc copyright.html
%license copyright.html
%dir %{unicodedir}
%{ucddir}
%exclude %{ucddir}/Unihan.zip
%files unihan
%defattr(-,root,root)
%{ucddir}/Unihan.zip
%changelog