diff --git a/README.md b/README.md index 6c6e240..eb8f633 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libots +The Open Text Summarizer is an open source tool for summarizing texts. +The program reads a text and decides which sentences are important and which are not. + diff --git a/libots.spec b/libots.spec new file mode 100644 index 0000000..22f8a61 --- /dev/null +++ b/libots.spec @@ -0,0 +1,86 @@ +Name: libots +Version: 0.5.0 +Release: 2mamba +Summary: The Open Text Summarizer is an open source tool for summarizing texts +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libots.sourceforge.net/ +Source: http://downloads.sourceforge.net/sourceforge/libots/ots-%{version}.tar.gz +License: GPL +BuildRequires: gtk-doc +BuildRequires: pkgconfig +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +BuildRequires: libpopt-devel +BuildRequires: libselinux-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The Open Text Summarizer is an open source tool for summarizing texts. +The program reads a text and decides which sentences are important and which are not. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{version} + +%description devel +The Open Text Summarizer is an open source tool for summarizing texts. +The program reads a text and decides which sentences are important and which are not. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n ots-%{version} + +%build +%configure --with-html-dir=%{_datadir}/gtk-doc/html/ots + +# XXX: Disgusting ... to fix upstream's broken package. +touch ./gtk-doc.make +%{__make} LIBTOOL=%{_bindir}/libtool + + + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_libdir}/*.so.* +%dir %{_datadir}/ots/ +%{_datadir}/ots/* +%doc AUTHORS BUGS COPYING ChangeLog NEWS README TODO + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libots-1/ots +%{_includedir}/libots-1/ots/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + +%changelog +* Wed Aug 28 2013 Automatic Build System 0.5.0-2mamba +- automatic rebuild by autodist + +* Thu Oct 30 2008 gil 0.5.0-1mamba +- update to 0.5.0 + +* Tue Aug 09 2005 Alessandro Ramazzina 0.4.2-1qilnx +- package created by autospec