Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
cedict
cedict.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cedict.spec of Package cedict
# # spec file for package cedict # # Copyright (c) 2012 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/ # Name: cedict BuildRequires: dos2unix Provides: locale(gjiten:zh) Version: 20090227 Release: 0 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 License: CC-BY-SA-3.0 and GPL-2.0+ Group: System/I18n/Chinese %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. %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 %files %defattr(-, root, root) %doc README.SUSE %dir /usr/share/edict/ /usr/share/edict/cedict_ts.u8 %changelog
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