Name: ucd Version: 5.2.0 Release: 2%{?dist} Summary: Property data for the Unicode data set Group: Development/Libraries License: UCD URL: http://www.unicode.org/Public/%{version}/%{name}/ Source0: http://www.unicode.org/Public/zipped/%{version}/UCD.zip Source1: http://www.unicode.org/Public/zipped/%{version}/Unihan.zip Source2: UCD.LICENSE BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: unzip #Requires: %description The Unicode Standard adds 6,648 characters and significantly improves the documentation of conformance requirements for the specification of normalization forms, canonical ordering, and the status of types of properties. %prep %setup -q -c -n %{name} -a 1 cp %{SOURCE2} . %build %install rm -rf %{buildroot} %{__mkdir} -p %{buildroot}%{_datadir}/%{name} %{__mkdir} %{buildroot}%{_datadir}/%{name}/auxiliary %{__mkdir} %{buildroot}%{_datadir}/%{name}/extracted %{__install} -m 644 *.txt %{buildroot}%{_datadir}/%{name} %{__install} -m 644 auxiliary/* %{buildroot}%{_datadir}/%{name}/auxiliary %{__install} -m 644 extracted/* %{buildroot}%{_datadir}/%{name}/extracted %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_datadir}/%{name}/* %doc ReadMe.txt UCD.LICENSE %changelog * Wed Oct 13 2010 Jorge Enrique Barrera - 5.2.0-2 - Corrected the .spec where folders weren't copied properly to buildroot * Wed Oct 13 2010 Jorge Enrique Barrera - 5.2.0-1 - Initial attempt at packaging