[packages/gtkspell3] GtkSpell API version 3.0
glen
glen at pld-linux.org
Thu Feb 14 20:00:31 CET 2013
commit 85efd45e5816e8c1326dfdb84ad4dbb0e704642f
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Feb 14 20:59:55 2013 +0200
GtkSpell API version 3.0
based on gtkspell package
gtkspell.spec => gtkspell3.spec | 56 +++++++++++++++++++++++------------------
1 file changed, 31 insertions(+), 25 deletions(-)
---
diff --git a/gtkspell.spec b/gtkspell3.spec
similarity index 68%
rename from gtkspell.spec
rename to gtkspell3.spec
index c95e1f8..0930f71 100644
--- a/gtkspell.spec
+++ b/gtkspell3.spec
@@ -1,20 +1,21 @@
+# TODO
+# - gtk+2 bindings possible besides gtk+3 as well
Summary: GTK+ Spell Checker Interface Library
Summary(pl.UTF-8): Biblioteka z interfejsem do narzędzia sprawdzającego pisownię dla GTK+
-Name: gtkspell
-Version: 2.0.16
-Release: 4
-Epoch: 1
+Name: gtkspell3
+Version: 3.0.1
+Release: 1
License: GPL
Group: X11/Libraries
Source0: http://gtkspell.sourceforge.net/download/%{name}-%{version}.tar.gz
-# Source0-md5: f75dcc9338f182c571b321d37c606a94
+# Source0-md5: 861c7188dbcc89dc24744d47102c4b18
URL: http://gtkspell.sourceforge.net/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: docbook-dtd42-xml
BuildRequires: enchant-devel >= 0.4.0
BuildRequires: gettext-devel
-BuildRequires: gtk+2-devel >= 2:2.10.0
+BuildRequires: gtk+3-devel
BuildRequires: gtk-doc >= 1.6
BuildRequires: intltool >= 0.35.0
BuildRequires: libtool
@@ -33,45 +34,45 @@ błędnie napisanych słów w widgecie GtkTextView. Kliknięcie prawym
przyciskiem na błędne słowo otwiera menu z sugerowanymi poprawkami.
%package devel
-Summary: Header files for gtkspell
+Summary: Header files for GtkSpell API version 3.0
Summary(pl.UTF-8): Pliki nagłówkowe dla gtkspella
Group: X11/Development/Libraries
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name} = %{version}-%{release}
Requires: enchant-devel >= 0.4.0
-Requires: gtk+2-devel >= 2:2.10.0
+Requires: gtk+3-devel
%description devel
-Header files for gtkspell.
+Header files for GtkSpell API version 3.0.
%description devel -l pl.UTF-8
Pliki nagłówkowe dla gtkspella.
%package static
-Summary: Static libraries for gtkspell
+Summary: Static libraries for GtkSpell
Summary(pl.UTF-8): Biblioteki statyczne dla gtkspella
Group: X11/Development/Libraries
-Requires: %{name}-devel = %{epoch}:%{version}-%{release}
+Requires: %{name}-devel = %{version}-%{release}
%description static
-Static libraries for gtkspell.
+Static libraries for GtkSpell.
%description static -l pl.UTF-8
Biblioteki statyczne dla gtkspella.
%package apidocs
-Summary: gtkspell API documentation
+Summary: GtkSpell API documentation
Summary(pl.UTF-8): Dokumentacja API gtkspell
Group: Documentation
Requires: gtk-doc-common
%description apidocs
-gtkspell API documentation.
+GtkSpell API documentation.
%description apidocs -l pl.UTF-8
Dokumentacja API gtkspell.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}
%build
%{__gtkdocize}
@@ -81,18 +82,21 @@ Dokumentacja API gtkspell.
%{__autoheader}
%{__automake}
%configure \
+ --disable-silent-rules \
--enable-gtk-doc \
--with-html-dir=%{_gtkdocdir}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
pkgconfigdir=%{_pkgconfigdir}
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspell.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkspell3-3.la
+
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ak
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/son
%find_lang %{name}
@@ -105,19 +109,21 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_libdir}/libgtkspell.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgtkspell.so.0
+%attr(755,root,root) %{_libdir}/libgtkspell3-3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgtkspell3-3.so.0
+%{_libdir}/girepository-1.0/GtkSpell-3.0.typelib
%files devel
%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libgtkspell.so
-%{_includedir}/gtkspell-2.0
-%{_pkgconfigdir}/gtkspell-2.0.pc
+%{_libdir}/libgtkspell3-3.so
+%{_includedir}/gtkspell-3.0
+%{_pkgconfigdir}/gtkspell3-3.0.pc
+%{_datadir}/gir-1.0/GtkSpell-3.0.gir
%files static
%defattr(644,root,root,755)
-%{_libdir}/libgtkspell.a
+%{_libdir}/libgtkspell3-3.a
%files apidocs
%defattr(644,root,root,755)
-%{_gtkdocdir}/gtkspell
+%{_gtkdocdir}/gtkspell3
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtkspell3.git/commitdiff/85efd45e5816e8c1326dfdb84ad4dbb0e704642f
More information about the pld-cvs-commit
mailing list