-
Notifications
You must be signed in to change notification settings - Fork 5
/
aiksaurus.spec.in
66 lines (56 loc) · 1.57 KB
/
aiksaurus.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
55
56
57
58
59
60
61
62
63
64
65
66
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Summary: An English-language thesaurus library.
License: GPL
Group: System Environment/Libraries
Source: @PACKAGE@-@[email protected]
BuildRoot: /var/tmp/%{name}-buildroot
%description
Aiksaurus is an English-language thesaurus library that can be
embedded in word processors, email composers, and other authoring
software to provide thesaurus capabilities. A basic command line
thesaurus program is also included.
Install Aiksaurus if you want to have a thesaurus available on
your computer.
%prep
%setup
%build
./configure --prefix=%{_prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
make install-strip DESTDIR=$RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(0755, root, root)
%{_bindir}/aiksaurus
%{_bindir}/caiksaurus
%defattr(0644, root, root, 0755)
%doc ChangeLog README COPYING AUTHORS
%{_includedir}/Aiksaurus/Aiksaurus.h
%{_includedir}/Aiksaurus/AiksaurusC.h
%{_libdir}/*Aiksaurus.*
%{_libdir}/*Aiksaurus-*
%{_libdir}/pkgconfig/aiksaurus-1.0.pc
%{_datadir}/*
%package gtk
Summary: A GTK+ frontend to aiksaurus.
Group: System Environment/Libraries
Requires: aiksaurus
%description gtk
AiksaurusGTK is a GTK+ interface to the Aiksaurus library.
It provides an attractive thesaurus interface, and can be embedded
in GTK+ projects, notably AbiWord. A standalone thesaurus program
is also provided.
%files gtk
%defattr(0755, root, root)
%{_bindir}/gaiksaurus
%defattr(0644, root, root, 0755)
%{_includedir}/Aiksaurus/AiksaurusGTK*.h
%{_libdir}/*GTK*
%{_libdir}/pkgconfig/gaiksaurus-1.0.pc