]> git.pld-linux.org Git - packages/hspell.git/blobdiff - hspell.spec
- updated to 1.0
[packages/hspell.git] / hspell.spec
index 94631e5225464ef55a13f3eef1ad9bbf97a50ff4..141d4dfc812fb45d3ea3b28b476b0651238a8958 100644 (file)
@@ -2,15 +2,17 @@
 Summary:       Hspell - a free Hebrew spell checker
 Summary(pl):   Hspell - wolnodostêpny program do kontroli pisowni hebrajskiej
 Name:          hspell
-Version:       0.8
+Version:       1.0
 Release:       1
 License:       GPL
 Group:         Applications/Text
 # Source0Download: http://ivrix.org.il/projects/spell-checker/download.html
 Source0:       http://ivrix.org.il/projects/spell-checker/%{name}-%{version}.tar.gz
-# Source0-md5: 67f402162bdb4f5e7b3099572de1342e
+# Source0-md5: 3e12fa383c2cfd430918d115f33f9841
 URL:           http://ivrix.org.il/projects/spell-checker/
+BuildRequires: awk
 BuildRequires: rpm-perlprov
+BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,14 +32,29 @@ hspell to program do kontroli pisowni w j
 w wiêkszo¶ci zgodny ze spellem interfejs (podaj±cy listê b³êdnych s³ów
 w tek¶cie wej¶ciowym), ale mo¿e tak¿e sugerowaæ poprawki (-c).
 
+%package devel
+Summary:       Header files and static hspell library
+Summary(pl):   Pliki nag³ówkowe i biblioteka statyczna hspell
+Group:         Development/Libraries
+Requires:      zlib-devel
+# doesn't require base (until shared library is made)
+
+%description devel
+Header files and static hspell (Hebrew SPELLer) library.
+
+%description devel -l pl
+Pliki nag³ówkowe i biblioteka statyczna hspell (do kontroli
+pisowni w jêzyku hebrajskim).
+
 %prep
 %setup -q
+sed -i -e 's|#!.*|#!/bin/awk -f|g' wzip
 
 %build
 %configure
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags} -DDICTIONARY_BASE=\\\"%{_datadir}/hebrew.wgz\\\"" \
+       CFLAGS="%{rpmcflags} -fPIC -DDICTIONARY_BASE=\\\"%{_datadir}/hebrew.wgz\\\"" \
        LDFLAGS="%{rpmldflags}"
 
 %install
@@ -57,4 +74,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/%{name}
 %{_mandir}/man1/*
-%{_mandir}/man3/*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libhspell.a
+%{_includedir}/*.h
+%{_mandir}/man3/hspell.3*
This page took 0.062574 seconds and 4 git commands to generate.