]> git.pld-linux.org Git - packages/enchant.git/blobdiff - enchant.spec
- rel 2 for aspell 0.50 rebuild
[packages/enchant.git] / enchant.spec
index 1c50f1bcbf345b4beaa816b97b8807f04d772784..e9605b0d6264e08b545ca4bb59be94d091df6878 100644 (file)
@@ -1,17 +1,20 @@
 Summary:       libenchant - generic spell checking library
 Summary(pl):   libenchant - ogólna biblioteka sprawdzania pisowni
 Name:          enchant
-Version:       1.1.1
-Release:       1
+Version:       1.1.5
+Release:       2
 License:       LGPL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/abiword/%{name}-%{version}.tar.gz
-# Source0-md5: 491d6aa3e93f6f0f6bf6108efbb54d73
+# Source0-md5: b7f266ca9241797839929972395a76cf
 URL:           http://www.abisource.com/enchant/
-BuildRequires: aspell-devel >= 0.50.0
+BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: libtool
+BuildRequires: aspell-devel >= 2:0.50.0
 BuildRequires: glib2-devel >= 2.0
-#BuildRequires:        libuspell-devel >= 1.1.0
 BuildRequires: pkgconfig
+BuildRequires: uspell-devel >= 1.1.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,7 +63,7 @@ takie znajdzie.
 Summary:       Header files for enchant library
 Summary(pl):   Pliki nag³ówkowe biblioteki enchant
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 Requires:      glib2-devel >= 2.0
 
 %description devel
@@ -73,7 +76,7 @@ Pliki nag
 Summary:       Static enchant library
 Summary(pl):   Statyczna biblioteka enchant
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Static enchant library.
@@ -85,8 +88,8 @@ Statyczna biblioteka enchant.
 Summary:       aspell provider module for Enchant
 Summary(pl):   Modu³ obs³uguj±cy aspella dla Enchanta
 Group:         Libraries
-Requires:      %{name} = %{version}
-Requires:      aspell >= 0.50.0
+Requires:      %{name} = %{version}-%{release}
+Requires:      aspell >= 2:0.50.0
 
 %description aspell
 aspell provider module for Enchant.
@@ -98,7 +101,7 @@ Modu
 Summary:       ispell provider module for Enchant
 Summary(pl):   Modu³ obs³uguj±cy ispella dla Enchanta
 Group:         Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description ispell
 ispell provider module for Enchant.
@@ -110,7 +113,7 @@ Modu
 Summary:       myspell provider module for Enchant
 Summary(pl):   Modu³ obs³uguj±cy myspella dla Enchanta
 Group:         Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description myspell
 myspell provider module for Enchant.
@@ -122,7 +125,7 @@ Modu
 Summary:       uspell provider module for Enchant
 Summary(pl):   Modu³ obs³uguj±cy uspella dla Enchanta
 Group:         Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description uspell
 uspell provider module for Enchant.
@@ -134,10 +137,14 @@ Modu
 %setup -q
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
-       --with-ispell-dir=/usr/lib/ispell
+       --with-ispell-dir=/usr/lib/ispell \
+       --with-uspell-dir=/usr/share/uspell
 # --with-myspell-dir=/some/where
-# --with-uspell-dir=/some/where
 
 %{__make}
 
@@ -188,6 +195,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/enchant/libenchant_myspell.so*
 
-#%files uspell
-#%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so*
+%files uspell
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/enchant/libenchant_uspell.so*
This page took 0.113941 seconds and 4 git commands to generate.