Add a thesaurus subpackage

This commit is contained in:
Matthias Clasen 2009-07-30 13:10:19 +00:00
commit f085ea2ea8

View file

@ -1,6 +1,6 @@
Name: aiksaurus
Version: 1.2.1
Release: 20%{?dist}
Release: 21%{?dist}
Summary: An English-language thesaurus library
Epoch: 1
@ -39,15 +39,14 @@ Includes and definitions for developing with aiksaurus.
%package gtk
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
Summary: A GTK+ frontend to aiksaurus
Summary: A GTK+ interface for aiksaurus
Group: System Environment/Libraries
%description gtk
AiksaurusGTK is a GTK+ interface to the Aiksaurus library.
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.
in GTK+ projects, notably AbiWord.
%package gtk-devel
@ -62,6 +61,14 @@ Group: Development/Libraries
gtk includes and definitions for developing with aiksaurus.
%package thesaurus
Requires: %{name}-gtk = %{?epoch:%{epoch}:}%{version}-%{release}
Summary: A GTK+ frontend to aiksaurus
Group: Applications/Productivity
%description thesaurus
A standalone thesaurus program base on aiksaurus-gtk.
%prep
%setup -q
%patch0 -p1
@ -96,13 +103,17 @@ rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%post gtk
/sbin/ldconfig
%post gtk -p /sbin/ldconfig
%postun gtk -p /sbin/ldconfig
%post thesaurus
update-desktop-database &> /dev/null ||:
%postun gtk
/sbin/ldconfig
%postun thesaurus
update-desktop-database &> /dev/null ||:
@ -126,10 +137,7 @@ update-desktop-database &> /dev/null ||:
%files gtk
%defattr(-, root, root)
%{_bindir}/gaiksaurus
%{_libdir}/*GTK*.so.*
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%files gtk-devel
@ -139,7 +147,17 @@ update-desktop-database &> /dev/null ||:
%{_libdir}/pkgconfig/gaiksaurus-1.0.pc
%files thesaurus
%defattr(-, root, root)
%{_bindir}/gaiksaurus
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog
* Thu Jul 30 2009 Matthias Clasen <mclasen@redhat.com> - 1:1.2.1-21
- Split off a thesaurus subpackage
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild