summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 08:19:41 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-05 08:19:41 -0800
commit6ffc33620b33cd6bbb8afe408dab0b01b451fa3c (patch)
tree1f64f22e073dd6cf513558560f3ac2b8d4b2eed3
parent457f5361d6376e1fc16332420ab9b62b15b93fd5 (diff)
downloadhunspell-6ffc33620b33cd6bbb8afe408dab0b01b451fa3c.tar.gz
hunspell-6ffc33620b33cd6bbb8afe408dab0b01b451fa3c.tar.bz2
hunspell-6ffc33620b33cd6bbb8afe408dab0b01b451fa3c.zip
add packaging
-rw-r--r--packaging/hunspell.spec18
1 files changed, 5 insertions, 13 deletions
diff --git a/packaging/hunspell.spec b/packaging/hunspell.spec
index f7a9a3e..a7a5636 100644
--- a/packaging/hunspell.spec
+++ b/packaging/hunspell.spec
@@ -14,7 +14,6 @@ BuildRequires: libtool
BuildRequires: ncurses-devel >= 5.0
BuildRequires: pkg-config
BuildRequires: readline-devel
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Hunspell is a spell checker and morphological analyzer library and
@@ -64,6 +63,7 @@ make check
%make_install
rm -f %{buildroot}%{_bindir}/example
install -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
+rm -rf %{buildroot}%{_mandir}/hu
%find_lang %{name}
@@ -71,22 +71,15 @@ install -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
%postun -p /sbin/ldconfig -p /sbin/ldconfig
+
+%docs_package
+
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc README README.myspell AUTHORS AUTHORS.myspell COPYING THANKS license.hunspell license.myspell
+%doc COPYING license.hunspell license.myspell
%attr(755,root,root) %{_bindir}/hunspell
%attr(755,root,root) %{_libdir}/libhunspell*.so*
%exclude %{_libdir}/libhunspell*.so
-%dir %{_mandir}/hu
-%dir %{_mandir}/hu/man1
-%dir %{_mandir}/hu/man4
-%{_mandir}/man1/hunspell.1*
-%{_mandir}/man4/hunspell.4*
-%{_mandir}/man1/hunzip.1*
-%{_mandir}/man1/hzip.1*
-%{_mandir}/man3/hunspell.3*
-%lang(hu) %{_mandir}/hu/man1/hunspell.1*
-%lang(hu) %{_mandir}/hu/man4/hunspell.4*
%files tools
%defattr(644,root,root,755)
@@ -110,7 +103,6 @@ install -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
%{_includedir}/%{name}
%{_includedir}/munch.h
%{_includedir}/unmunch.h
-#%{_pkgconfigdir}/hunspell.pc
%{_libdir}/pkgconfig/hunspell.pc
%files static