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