/[packages]/cauldron/zemberek/current/SPECS/zemberek.spec
ViewVC logotype

Contents of /cauldron/zemberek/current/SPECS/zemberek.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 406939 - (show annotations) (download)
Mon Apr 1 08:40:12 2013 UTC (9 years, 8 months ago) by zezinho
File size: 2554 byte(s)
imported package zemberek
1
2 Summary: Turkish spell checker library
3 Name: zemberek
4 Version: 2.1.1
5 Release: %mkrel 1
6 License: MPLv1.1
7 Group: Development/Java
8 URL: http://zemberek.googlecode.com
9 Source: http://zemberek.googlecode.com/files/%{name}-%{version}-src.zip
10 Source1: zemberek-demo
11 BuildRequires: ant
12 BuildRequires: java-devel
13 BuildRequires: jpackage-utils
14 BuildRequires: java-rpmbuild
15 BuildRequires: xml-commons-jaxp-1.3-apis
16
17 Requires: java
18
19 %description
20 Zemberek is an open source, platform independent,
21 general purpose Natural Language Processing
22 library and toolset designed for Turkic languages,
23 especially Turkish.
24
25 %package javadoc
26 Summary: Javadocs for %{name}
27 Group: Development/Java
28 Requires: %{name} = %{version}-%{release}
29 Requires: jpackage-utils
30
31 %description javadoc
32 This package contains the API documentation for %{name}.
33
34 %package docs
35 Summary: Documentation for %{name}
36 Group: Development/Java
37 Requires: %{name} = %{version}-%{release}
38
39 %description docs
40 This package contains %{name} documentation for developers.
41
42
43 %prep
44 %setup -q -n %{name}-%{version}-src
45
46 find . -type f -name "*.class" | xargs %{__rm} -f
47 find . -type f -name "*.jar" | xargs %{__rm} -f
48
49 %build
50
51 %{ant} dist \
52 javadocs
53
54 %install
55
56 %{__mkdir_p} %{buildroot}%{_javadir}/%{name}
57
58
59 %{__install} -D -m 655 dagitim/jar/zemberek-az-%{version}.jar %{buildroot}%{_javadir}/%{name}/zemberek-az.jar
60 %{__install} -D -m 655 dagitim/jar/zemberek-cekirdek-%{version}.jar %{buildroot}%{_javadir}/%{name}/zemberek-cekirdek.jar
61 %{__install} -D -m 655 dagitim/jar/zemberek-demo-%{version}.jar %{buildroot}%{_javadir}/%{name}/zemberek-demo.jar
62 %{__install} -D -m 655 dagitim/jar/zemberek-tk-%{version}.jar %{buildroot}%{_javadir}/%{name}/zemberek-tk.jar
63 %{__install} -D -m 655 dagitim/jar/zemberek-tr-%{version}.jar %{buildroot}%{_javadir}/%{name}/zemberek-tr.jar
64
65
66 # javadoc
67 %{__mkdir_p} %{buildroot}%{_javadocdir}/%{name}
68 %{__cp} -a build/java-docs/* %{buildroot}%{_javadocdir}/%{name}
69
70 #docs
71 %{__mkdir_p} %{buildroot}%{_docdir}/%{name}-docs
72 %{__cp} -a dokuman/%{name}* %{buildroot}%{_docdir}/%{name}-docs/
73 %{__cp} -a dokuman/*txt %{buildroot}%{_docdir}/%{name}-docs/
74 %{__cp} -R dokuman/dil-gelistirme/* %{buildroot}%{_docdir}/%{name}-docs/
75
76 # examples (demo)
77 %{__install} -D -m 655 %{_sourcedir}/zemberek-demo %{buildroot}%_bindir/%{name}-demo
78
79
80 %files
81 %doc surumler.txt dokuman/lisanslar/zemberek-license.txt
82 %{_javadir}/*
83 %{_bindir}/*
84
85 %files javadoc
86 %{_javadocdir}/%{name}
87
88 %files docs
89 %{_docdir}/%{name}-docs/*
90

  ViewVC Help
Powered by ViewVC 1.1.28