From eb34f14ac81a89f476ec7a207ea362f1e2f3adae Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sat, 3 Apr 2010 19:21:39 +0000 Subject: [PATCH] *** empty log message *** --- .cvsignore | 1 + import.log | 1 + mythes.spec | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 69 insertions(+) create mode 100644 import.log create mode 100644 mythes.spec diff --git a/.cvsignore b/.cvsignore index e69de29..3dbf4e5 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +mythes-1.2.0.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..f911ea0 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +mythes-1_2_0-1_fc13:HEAD:mythes-1.2.0-1.fc13.src.rpm:1270322466 diff --git a/mythes.spec b/mythes.spec new file mode 100644 index 0000000..dde48e0 --- /dev/null +++ b/mythes.spec @@ -0,0 +1,66 @@ +Name: mythes +Summary: A thesaurus library +Version: 1.2.0 +Release: 1%{?dist} +Source: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz +Group: System Environment/Libraries +URL: http://hunspell.sourceforge.net/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: BSD +BuildRequires: hunspell-devel + +%description +MyThes is a simple thesaurus that uses a structured text data file and an +index file with binary search to look up words and phrases and return +information on part of speech, meanings, and synonyms. + +%package devel +Requires: mythes = %{version}-%{release}, pkgconfig +Summary: Files for developing with mythes +Group: Development/Libraries + +%description devel +Includes and definitions for developing with mythes + +%prep +%setup -q + +%build +%configure --disable-rpath --disable-static +make %{?_smp_mflags} + +%check +./example th_en_US_new.idx th_en_US_new.dat checkme.lst +./example morph.idx morph.dat morph.lst morph.aff morph.dic + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc README COPYING AUTHORS +%{_libdir}/*.so.* +%{_datadir}/mythes + +%files devel +%defattr(-,root,root,-) +%doc data_layout.txt +%{_includedir}/mythes.hxx +%{_libdir}/*.so +%{_libdir}/pkgconfig/mythes.pc +%{_bindir}/th_gen_idx.pl + +%changelog +* Thu Mar 11 2010 Caolan McNamara - 1.2.0-1 +- initial version diff --git a/sources b/sources index e69de29..5b6892d 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +067201ea8b126597670b5eff72e1f66c mythes-1.2.0.tar.gz