]> git.pld-linux.org Git - packages/vislcg3.git/blob - vislcg3.spec
- updated to 0.9.7.7823
[packages/vislcg3.git] / vislcg3.spec
1 Summary:        VISL CG-3 constraint grammar system
2 Summary(pl.UTF-8):      VISL CG-3 - system ograniczonej gramatyki
3 Name:           vislcg3
4 Version:        0.9.7.7823
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Text
8 Source0:        http://beta.visl.sdu.dk/download/vislcg3/%{name}-%{version}.tar.gz
9 # Source0-md5:  a74e87f4b19dc39172674b37ce27aa5a
10 URL:            http://beta.visl.sdu.dk/cg3.html
11 BuildRequires:  cmake >= 2.6.4
12 BuildRequires:  boost-devel >= 1.36.0
13 BuildRequires:  libicu-devel >= 3.6
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  rpmbuild(macros) >= 1.603
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 VISL CG-3 constraint grammar system.
20
21 %description -l pl.UTF-8
22 VISL CG-3 - system ograniczonej gramatyki.
23
24 %prep
25 %setup -q
26
27 sed -i -e 's#DESTINATION lib#DESTINATION %{_lib}#g' \
28         -e 's#GOOGLE_TCMALLOC_LIB tcmalloc#GOOGLE_TCMALLOC_LIB tcmalloc_disabled#' \
29         src/CMakeLists.txt
30
31 %build
32 %cmake .
33
34 %{__make}
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 %{__make} install \
40         DESTDIR=$RPM_BUILD_ROOT
41
42 # "improved" cmake scripts don't install it
43 install -d $RPM_BUILD_ROOT%{_mandir}/man1
44 install src/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
45
46 # API not installed
47 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libcg3.a
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc APERTIUM_FORMAT AUTHORS README TODO
55 %attr(755,root,root) %{_bindir}/cg-comp
56 %attr(755,root,root) %{_bindir}/cg-conv
57 %attr(755,root,root) %{_bindir}/cg-proc
58 %attr(755,root,root) %{_bindir}/cg3-autobin.pl
59 %attr(755,root,root) %{_bindir}/vislcg3
60 %attr(755,root,root) %{_libdir}/libcg3.so
61 %{_mandir}/man1/cg-comp.1*
62 %{_mandir}/man1/cg-proc.1*
63 %{_mandir}/man1/vislcg3.1*
This page took 0.113676 seconds and 4 git commands to generate.