Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
cedict
cedict.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cedict.spec of Package cedict
# # spec file for package cedict (Version 20090227) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: cedict BuildRequires: dos2unix License: Creative Commons Attribution-Share Alike 3.0 Group: System/I18n/Chinese AutoReqProv: on Provides: locale(gjiten:zh) Version: 20090227 Release: 1 Url: http://www.mdbg.net/chindict/chindict.php?page=cedict # original archive is at http://www.mdbg.net/chindict/export/cedict/cedictu8.zip Source0: cedict-%{version}.bz2 Source10: cedict-format.pl Source11: README.SUSE BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: Free Chinese-English Dictionary in EDICT Format %description This is a free Chinese-English dictionary that can be used, for example, with Gjiten. The objective of the CEDICT project is to create an online, downloadable (as opposed to searchable-only) public-domain Chinese-English dictionary. For the most part, the project is modelled on Jim Breen's highly successful EDICT (Japanese-English dictionary) project and is intended to be a collaborative effort with users providing entries and corrections to the main file. Authors: -------- Erik Peterson <cedict@chinesetools.com> Erik Peterson <erik@mandarintools.com> "Dennis MDBG free online Chinese-English dictionary" <cedict@mdbg.net> %prep cp $RPM_SOURCE_DIR/README.SUSE . cp $RPM_SOURCE_DIR/cedict-20090227.bz2 . bunzip2 cedict-20090227.bz2 mv cedict-20090227 cedict_ts.u8 chmod 755 $RPM_SOURCE_DIR/cedict-format.pl %build %install mkdir -p $RPM_BUILD_ROOT/usr/share/edict dos2unix < cedict_ts.u8 | $RPM_SOURCE_DIR/cedict-format.pl > $RPM_BUILD_ROOT/usr/share/edict/cedict_ts.u8 chmod 644 $RPM_BUILD_ROOT/usr/share/edict/cedict_ts.u8 %clean %files %defattr(-, root, root) %doc README.SUSE %dir /usr/share/edict/ /usr/share/edict/cedict_ts.u8 %changelog * Fri Feb 27 2009 anicka@suse.cz - update to 20090227 * Tue Jun 19 2007 mfabian@suse.de - update to 20070331 tracking current additions * Wed Sep 06 2006 mfabian@suse.de - add "Provides: locale(gjiten:zh)". * Wed Sep 06 2006 mfabian@suse.de - use dos2unix to convert dos line endings and change the Emacs coding cookie at the top of the file accordingly. * Wed Sep 06 2006 mfabian@suse.de - update to 20060830. (website changed from http://www.mandarintools.com/cedict.html to http://www.mdbg.net/chindict/chindict.php). * Wed Sep 06 2006 mfabian@suse.de - add "chmod 755 $RPM_SOURCE_DIR/cedict-format.pl" to make it build in the openSUSE build service. Permissions for any file in $RPM_SOURCE_DIR are nowhere guaranteed to be preserved. * Wed Sep 06 2006 mfabian@suse.de - update to 20051221. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Thu May 19 2005 mfabian@suse.de - new package cedict, version 20050411.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor