File: treedict.spec

package info (click to toggle)
stardict 3.0.6-0.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 28,072 kB
  • sloc: cpp: 74,453; xml: 20,424; sh: 16,098; ansic: 3,883; python: 1,086; makefile: 1,069; php: 308; perl: 223
file content (39 lines) | stat: -rw-r--r-- 861 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
%define ver      2.4.2
%define rel      1
%define prefix   /usr
%define dictname infoBrowse-zh_CN


Summary: %{dictname} tree dictionary data files for StarDict2
Name: stardict-treedict-%{dictname}
Version: %ver
Release: %rel
License:	GPL
Group: 		Applications/System
Source: stardict-treedict-%{dictname}-%{ver}.tar.bz2
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildArchitectures: noarch

URL: http://www.stardict.org

Requires: stardict >= 2.4.2

%description
%{dictname} tree dictionary data files for StarDict2.

%prep
%setup

%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{prefix}/share/stardict/treedict/stardict-treedict-%{dictname}-%{ver}
cp -rf . $RPM_BUILD_ROOT%{prefix}/share/stardict/treedict/stardict-treedict-%{dictname}-%{ver}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)

%{prefix}/share/stardict/treedict