]> git.pld-linux.org Git - SPECS.git/blob - malaga.spec
SPECS updated Sun 1 Aug 11:02:02 CEST 2021
[SPECS.git] / malaga.spec
1 Summary:        Malaga - a Natural Language Analysis System
2 Summary(pl.UTF-8):      Malaga - system analizy języków naturalnych
3 Name:           malaga
4 Version:        7.12
5 Release:        6
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://home.arcor.de/bjoern-beutel/malaga/%{name}-%{version}.tgz
9 # Source0-md5:  873b292d923e2d1c0643769aa58c1882
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-verbose.patch
12 Patch2:         link.patch
13 URL:            http://home.arcor.de/bjoern-beutel/malaga/
14 BuildRequires:  glib2-devel >= 2.0
15 BuildRequires:  gtk+2-devel >= 2:2.8
16 BuildRequires:  pkgconfig
17 BuildRequires:  readline-devel
18 BuildRequires:  texinfo
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Malaga is a software package for the development and application of
23 grammars that are used for the analysis of words and sentences of
24 natural languages. It is a language-independent system that offers a
25 programming language for the modelling of the language-dependent
26 grammatical information. This language is also called Malaga.
27
28 Malaga is based on the grammatical theory of the "Left Associative
29 Grammar" (LAG), developed by Roland Hausser, professor for Computational
30 Linguistics at University of Erlangen, Germany.
31
32 %description -l pl.UTF-8
33 Malaga to pakiet do programowania i stosowania gramatyk używawnych
34 przy analizie słów i zdań w językach naturalnych. Jest to system
35 niezależny od języka, oferujący język programowania do modelowania
36 informacji gramatycznych zależnych od języka. Ten język programowania
37 także nazywa się Malaga.
38
39 Malaga jest oparta na teorii gramatycznej LAG (Left Associative
40 Grammar - gramatyka wiązana lewostronnie), opracowanej przez Rolanda
41 Haussera, profesora lingwistyki obliczeniowej na uniwersytecie w
42 Erlagen w Niemczech.
43
44 %package devel
45 Summary:        Header files for Malaga library
46 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Malaga
47 Group:          Development/Libraries
48 Requires:       %{name} = %{version}-%{release}
49 Requires:       glib2-devel >= 2.0
50
51 %description devel
52 Header files for Malaga library.
53
54 %description devel -l pl.UTF-8
55 Pliki nagłówkowe biblioteki Malaga.
56
57 %package static
58 Summary:        Static Malaga library
59 Summary(pl.UTF-8):      Statyczna biblioteka Malaga
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 Static Malaga library.
65
66 %description static -l pl.UTF-8
67 Statyczna biblioteka Malaga.
68
69 %package gtk
70 Summary:        GUI to display Malaga results or debugging states
71 Summary(pl.UTF-8):      Graficzny interfejs wyświetlający wyniki i stany diagnostyczne Malagi
72 Group:          X11/Applications
73 Requires:       %{name} = %{version}-%{release}
74 Requires:       gtk+2 >= 2:2.8
75
76 %description gtk
77 GUI to display Malaga results or debugging states.
78
79 %description gtk -l pl.UTF-8
80 Graficzny interfejs wyświetlający wyniki i stany diagnostyczne Malagi.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85 %patch1 -p1
86 %patch2 -p1
87
88 %build
89 %configure
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT \
97         INSTALL_INFO=true
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/postshell
103 /sbin/ldconfig
104 -/usr/sbin/fix-info-dir -c %{_infodir}
105
106 %postun -p /sbin/postshell
107 /sbin/ldconfig
108 -/usr/sbin/fix-info-dir -c %{_infodir}
109
110 %files
111 %defattr(644,root,root,755)
112 %doc CHANGES.txt README.txt
113 %attr(755,root,root) %{_bindir}/malaga
114 %attr(755,root,root) %{_bindir}/mallex
115 %attr(755,root,root) %{_bindir}/malmake
116 %attr(755,root,root) %{_bindir}/malrul
117 %attr(755,root,root) %{_bindir}/malsym
118 %attr(755,root,root) %{_libdir}/libmalaga.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libmalaga.so.7
120 %{_datadir}/malaga
121 %{_mandir}/man1/malaga.1*
122 %{_mandir}/man1/mallex.1*
123 %{_mandir}/man1/malmake.1*
124 %{_mandir}/man1/malrul.1*
125 %{_mandir}/man1/malsym.1*
126 %{_infodir}/malaga.info*
127
128 %files devel
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_libdir}/libmalaga.so
131 %{_libdir}/libmalaga.la
132 %{_includedir}/malaga.h
133
134 %files static
135 %defattr(644,root,root,755)
136 %{_libdir}/libmalaga.a
137
138 %files gtk
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_bindir}/malshow
141 %{_mandir}/man1/malshow.1*
This page took 0.323699 seconds and 3 git commands to generate.