From: Stefan Schantl Date: Sat, 19 May 2012 20:20:24 +0000 (+0200) Subject: unicode-ucd: New package. X-Git-Url: http://git.ipfire.org/?p=people%2Famarx%2Fipfire-3.x.git;a=commitdiff_plain;h=f7b4d9606fda62eac86b31c25a47bedc1613de7c unicode-ucd: New package. --- diff --git a/unicode-ucd/unicode-ucd.nm b/unicode-ucd/unicode-ucd.nm new file mode 100644 index 000000000..520edece4 --- /dev/null +++ b/unicode-ucd/unicode-ucd.nm @@ -0,0 +1,50 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = unicode-ucd +version = 6.1.0 +release = 1 +arch = noarch + +groups = Development/System +url = http://www.unicode.org/ucd/ +license = MIT +summary = Unicode Character Database. + +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. +end + +source_dl = http://www.unicode.org/Public/zipped/%{version}/ +sources = UCD.zip + +build + requires + unzip>=6.0-3 + end + + prepare + # Manually create DIR_APP because the + # soucre archive doesn't contain any folder. + mkdir -pv %{DIR_APP} + + # Manually extract zip compressed source archive. + cd %{DIR_APP} && unzip %{DIR_DL}/%{sources} + end + + build = # Nothing to do + + install + # Create install folder and copy files. + mkdir -pv %{BUILDROOT}%{datadir}/unicode/ucd/ + cp -arvf . %{BUILDROOT}%{datadir}/unicode/ucd/ + end +end + +packages + package %{name} +end