From 6f36959d580c38c0c59454d5a559a6049ad68b8b Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Fri, 23 Nov 2007 17:29:21 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + hyphen.spec | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 58 insertions(+) create mode 100644 hyphen.spec diff --git a/.cvsignore b/.cvsignore index e69de29..7eb714f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +hyphen-2.3.tar.gz diff --git a/hyphen.spec b/hyphen.spec new file mode 100644 index 0000000..9badb27 --- /dev/null +++ b/hyphen.spec @@ -0,0 +1,56 @@ +Name: hyphen +Summary: A text hyphenation library +Version: 2.3 +Release: 1%{?dist} +Source: http://downloads.sourceforge.net/hunspell/hyphen-%{version}.tar.gz +Group: System Environment/Libraries +URL: http://hunspell.sourceforge.net/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: LGPLv2+ or MPLv1.1 +BuildRequires: perl, patch + +%description +Hyphen is a library for high quality hyphenation and justification. + +%package devel +Requires: hyphen = %{version}-%{release} +Summary: Files for developing with hyphen +Group: Development/Libraries + +%description devel +Includes and definitions for developing with hyphen + +%prep +%setup -q + +%build +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog README README.hyphen README.nonstandard TODO +%{_libdir}/*.so.* +%{_datadir}/hyphen/ + +%files devel +%defattr(-,root,root,-) +%{_includedir}/hyphen.h +%{_libdir}/*.so +%{_bindir}/substrings.pl + +%changelog +* Mon Nov 12 2007 Caolan McNamara - 2.3-1 +- initial version diff --git a/sources b/sources index e69de29..ab5cc2e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f0a2f9368253850b1b29e45bbc780f1f hyphen-2.3.tar.gz