1 Summary: Open Text Summarizer
2 Summary(pl.UTF-8): Otwarte narzędzie do streszczania tekstu
8 Source0: http://dl.sourceforge.net/libots/%{name}-%{version}.tar.gz
9 # Source0-md5: bb02a56a3bf2d5ebf9ffd064992d0ae4
10 Patch0: %{name}-docs.patch
11 Patch1: %{name}-gcc4.patch
12 URL: http://libots.sourceforge.net/
13 BuildRequires: glib2-devel >= 1:2.12.0
14 BuildRequires: gtk-doc >= 1.6
15 BuildRequires: libxml2-devel >= 1:2.6.26
16 BuildRequires: pkgconfig
17 BuildRequires: popt-devel >= 1.5
18 Requires: glib2 >= 1:2.12.0
19 Requires: libxml2 >= 1:2.6.26
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The open text summarizer is an open source tool for summarizing texts.
25 The program reads a text and decides which sentences are important and
28 The program can either print the summarized text in text format or in
29 HTML form where the important sentences are highlighted in red. The
30 program is multi lingual and work with UTF-8 code; at the moment only
31 English and Hebrew are supported.
33 %description -l pl.UTF-8
34 OTS (Open Text Summarizer) to wolnodostępne narzędzie do streszczania
35 tekstów. Program czyta tekst i decyduje, które zdania są ważne, a
38 Program może wypisać streszczenie w formacie tekstowym lub w postaci
39 HTML, gdzie ważne zdania są oznaczone na czerwono. Program jest
40 wielojęzyczny i działa z kodem UTF-8; aktualnie obsługiwane są tylko
41 angielski i hebrajski.
44 Summary: Header files for ots library
45 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ots
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
48 Requires: glib2-devel >= 1:2.12.0
49 Requires: gtk-doc-common
50 Requires: libxml2-devel >= 1:2.6.26
53 Header files for ots library.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki ots.
59 Summary: Static ots library
60 Summary(pl.UTF-8): Statyczna biblioteka ots
61 Group: Development/Libraries
62 Requires: %{name}-devel = %{version}-%{release}
67 %description static -l pl.UTF-8
68 Statyczna biblioteka ots.
76 cp -f /usr/share/automake/config.sub .
77 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
80 --with-html-dir=%{_gtkdocdir}/libots
82 # hack for proper linking - remove when in sources
84 libots_1_la_LIBADD="\$(OTS_LIBS)"
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
93 rm -rf $RPM_BUILD_ROOT
95 %post -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
99 %defattr(644,root,root,755)
100 %doc AUTHORS ChangeLog NEWS README TODO
101 %attr(755,root,root) %{_bindir}/ots
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
104 %{_mandir}/man1/ots.1*
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/lib*.so
110 %{_includedir}/libots*
111 %{_pkgconfigdir}/*.pc
115 %defattr(644,root,root,755)