From f085ea2ea85bef1bdb05b110cc4ece663729a153 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Jul 30 2009 13:10:19 +0000 Subject: Add a thesaurus subpackage --- diff --git a/aiksaurus.spec b/aiksaurus.spec index 9f6a2e5..3db6e04 100644 --- a/aiksaurus.spec +++ b/aiksaurus.spec @@ -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 - 1:1.2.1-21 +- Split off a thesaurus subpackage + * Fri Jul 24 2009 Fedora Release Engineering - 1:1.2.1-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild