rpms/mythes-de/devel mythes-de.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Caolan McNamara (caolanm)
fedora-extras-commits at redhat.com
Fri Nov 30 07:59:39 UTC 2007
Author: caolanm
Update of /cvs/pkgs/rpms/mythes-de/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22160/devel
Modified Files:
.cvsignore sources
Added Files:
mythes-de.spec
Log Message:
--- NEW FILE mythes-de.spec ---
Name: mythes-de
Summary: German thesarus
%define upstreamid 20071128
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://www.openthesaurus.de/download/thes_de_DE_v2.zip
Group: Applications/Text
URL: http://www.openthesaurus.de
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python, perl
License: LGPLv2+
BuildArch: noarch
%description
German thesarus.
%prep
%setup -q -c
%build
iconv -f ISO-8859-1 -t UTF-8 README_th_de_DE_v2.txt > README_th_de_DE_v2.txt.new
mv -f README_th_de_DE_v2.txt.new README_th_de_DE_v2.txt
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
cp -p th_de_DE_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/
de_DE_aliases="de_AT de_BE de_CH de_LI de_LU"
for lang in $de_DE_aliases; do
ln -s th_de_DE_v2.idx "th_"$lang"_v2.idx"
ln -s th_de_DE_v2.dat "th_"$lang"_v2.dat"
done
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README_th_de_DE_v2.txt
%dir %{_datadir}/mythes
%{_datadir}/mythes/*
%changelog
* Wed Nov 28 2007 Caolan McNamara <caolanm at redhat.com> - 0.20071128-1
- initial version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mythes-de/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 Nov 2007 20:11:59 -0000 1.1
+++ .cvsignore 30 Nov 2007 07:59:06 -0000 1.2
@@ -0,0 +1 @@
+thes_de_DE_v2.zip
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mythes-de/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Nov 2007 20:11:59 -0000 1.1
+++ sources 30 Nov 2007 07:59:06 -0000 1.2
@@ -0,0 +1 @@
+2920972804a3f06bfab8a97f3eb1c999 thes_de_DE_v2.zip
More information about the fedora-extras-commits
mailing list