-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathyamcha.spec.in
54 lines (43 loc) · 1016 Bytes
/
yamcha.spec.in
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
%define prefix /usr
%define version @VERSION@
%define release 1
Summary: Yet Another Multipurpose CHunk Annotator
Name: yamcha
Version: %{version}
Release: %{release}
Copyright: LGPL
Group: local
Packager: Taku Kudo <[email protected]>
Source: %{name}-%{version}.tar.gz
BuildRoot: /var/tmp/%{name}
%description
Yet Another Multipurpose CHunk Annotator
(General-Purpose Tagger with SVMs)
%package devel
Summary: Libraries and header files for YamCha
Group: Development/Libraries
Requires: TinySVM >= 0.02
%description devel
Libraries and header files for YamCha
%prep
%setup
%build
./configure --prefix=%{prefix}
make CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc doc/*.html doc/*.css
%{prefix}/lib/*.so.*
%{prefix}/bin/*
%{prefix}/man/*/yamcha.1*
%{prefix}/libexec/*
%files devel
%defattr(-, root, root)
%{prefix}/include/*
%{prefix}/lib/*.so
%{prefix}/lib/*.a
%{prefix}/lib/*.la