File: treedict.spec

package info (click to toggle)
stardict 2.4.3-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,148 kB
  • ctags: 1,199
  • sloc: cpp: 12,526; sh: 8,680; xml: 2,442; ansic: 2,167; makefile: 288; python: 114
file content (39 lines) | stat: -rw-r--r-- 871 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
Copyright: GPL
Group: 		Applications/System
Source: stardict-treedict-%{dictname}-%{ver}.tar.bz2
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildArchitectures: noarch

URL: http://stardict.sourceforge.net

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