1 Summary: Open Text Summarizer
2 Summary(pl.UTF-8): Otwarte narzędzie do streszczania tekstu
8 Source0: http://downloads.sourceforge.net/libots/%{name}-%{version}.tar.gz
9 # Source0-md5: 1e140a4bf9d720b4339a5c2bdf4976e8
12 URL: http://libots.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: glib2-devel >= 1:2.12.0
16 BuildRequires: gtk-doc >= 1.6
17 BuildRequires: libtool
18 BuildRequires: libxml2-devel >= 1:2.6.26
19 BuildRequires: pkgconfig
20 BuildRequires: popt-devel >= 1.5
21 Requires: glib2 >= 1:2.12.0
22 Requires: libxml2 >= 1:2.6.26
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 The open text summarizer is an open source tool for summarizing texts.
28 The program reads a text and decides which sentences are important and
31 The program can either print the summarized text in text format or in
32 HTML form where the important sentences are highlighted in red. The
33 program is multi lingual and work with UTF-8 code; at the moment only
34 English and Hebrew are supported.
36 %description -l pl.UTF-8
37 OTS (Open Text Summarizer) to wolnodostępne narzędzie do streszczania
38 tekstów. Program czyta tekst i decyduje, które zdania są ważne, a
41 Program może wypisać streszczenie w formacie tekstowym lub w postaci
42 HTML, gdzie ważne zdania są oznaczone na czerwono. Program jest
43 wielojęzyczny i działa z kodem UTF-8; aktualnie obsługiwane są tylko
44 angielski i hebrajski.
47 Summary: Header files for ots library
48 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ots
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
51 Requires: glib2-devel >= 1:2.12.0
52 Requires: gtk-doc-common
53 Requires: libxml2-devel >= 1:2.6.26
56 Header files for ots library.
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki ots.
62 Summary: Static ots library
63 Summary(pl.UTF-8): Statyczna biblioteka ots
64 Group: Development/Libraries
65 Requires: %{name}-devel = %{version}-%{release}
70 %description static -l pl.UTF-8
71 Statyczna biblioteka ots.
84 # documentation build fails
87 --with-html-dir=%{_gtkdocdir}/libots
92 rm -rf $RPM_BUILD_ROOT
95 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README TODO
106 %attr(755,root,root) %{_bindir}/ots
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
108 %attr(755,root,root) %ghost %{_libdir}/lib*.so.0
110 #%{_mandir}/man1/ots.1*
113 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/lib*.so
116 %{_includedir}/libots*
117 %{_pkgconfigdir}/*.pc
118 #%{_gtkdocdir}/libots
121 %defattr(644,root,root,755)