]> git.pld-linux.org Git - packages/ots.git/blame - ots.spec
- up to 0.5.0
[packages/ots.git] / ots.spec
CommitLineData
ca0df6ce 1Summary: Open Text Summarizer
cc6faad8 2Summary(pl.UTF-8): Otwarte narzędzie do streszczania tekstu
ca0df6ce 3Name: ots
eea2b41d
WF
4Version: 0.5.0
5Release: 1
ca0df6ce
JB
6License: GPL
7Group: Libraries
eea2b41d
WF
8Source0: http://downloads.sourceforge.net/libots/%{name}-%{version}.tar.gz
9# Source0-md5: 1e140a4bf9d720b4339a5c2bdf4976e8
10Patch0: dic.patch
11Patch1: gtkdoc.patch
ca0df6ce 12URL: http://libots.sourceforge.net/
eea2b41d
WF
13BuildRequires: autoconf
14BuildRequires: automake
17e7c478 15BuildRequires: glib2-devel >= 1:2.12.0
16BuildRequires: gtk-doc >= 1.6
eea2b41d 17BuildRequires: libtool
17e7c478 18BuildRequires: libxml2-devel >= 1:2.6.26
ca0df6ce
JB
19BuildRequires: pkgconfig
20BuildRequires: popt-devel >= 1.5
17e7c478 21Requires: glib2 >= 1:2.12.0
22Requires: libxml2 >= 1:2.6.26
ca0df6ce
JB
23Requires: popt >= 1.5
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27The open text summarizer is an open source tool for summarizing texts.
28The program reads a text and decides which sentences are important and
29which are not.
30
31The program can either print the summarized text in text format or in
32HTML form where the important sentences are highlighted in red. The
33program is multi lingual and work with UTF-8 code; at the moment only
34English and Hebrew are supported.
35
246cb425
JR
36%description -l pl.UTF-8
37OTS (Open Text Summarizer) to wolnodostępne narzędzie do streszczania
38tekstów. Program czyta tekst i decyduje, które zdania są ważne, a
39które nie.
ca0df6ce 40
246cb425
JR
41Program może wypisać streszczenie w formacie tekstowym lub w postaci
42HTML, gdzie ważne zdania są oznaczone na czerwono. Program jest
43wielojęzyczny i działa z kodem UTF-8; aktualnie obsługiwane są tylko
ca0df6ce
JB
44angielski i hebrajski.
45
46%package devel
47Summary: Header files for ots library
cc6faad8 48Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ots
ca0df6ce 49Group: Development/Libraries
af056e00 50Requires: %{name} = %{version}-%{release}
17e7c478 51Requires: glib2-devel >= 1:2.12.0
ca0df6ce 52Requires: gtk-doc-common
17e7c478 53Requires: libxml2-devel >= 1:2.6.26
ca0df6ce
JB
54
55%description devel
56Header files for ots library.
57
246cb425
JR
58%description devel -l pl.UTF-8
59Pliki nagłówkowe biblioteki ots.
ca0df6ce
JB
60
61%package static
62Summary: Static ots library
cc6faad8 63Summary(pl.UTF-8): Statyczna biblioteka ots
ca0df6ce 64Group: Development/Libraries
af056e00 65Requires: %{name}-devel = %{version}-%{release}
ca0df6ce
JB
66
67%description static
68Static ots library.
69
246cb425 70%description static -l pl.UTF-8
ca0df6ce
JB
71Statyczna biblioteka ots.
72
73%prep
74%setup -q
af056e00 75%patch0 -p1
ef4836ee 76%patch1 -p1
ca0df6ce
JB
77
78%build
eea2b41d
WF
79%{__libtoolize}
80%{__aclocal}
81%{__autoconf}
82%{__autoheader}
83%{__automake}
84# documentation build fails
ca0df6ce 85%configure \
eea2b41d 86 --disable-gtk-doc \
ca0df6ce
JB
87 --with-html-dir=%{_gtkdocdir}/libots
88
eea2b41d 89%{__make}
ca0df6ce
JB
90
91%install
92rm -rf $RPM_BUILD_ROOT
93
94%{__make} install \
95 DESTDIR=$RPM_BUILD_ROOT
96
97%clean
98rm -rf $RPM_BUILD_ROOT
99
100%post -p /sbin/ldconfig
101%postun -p /sbin/ldconfig
102
103%files
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.*.*.*
eea2b41d 108%attr(755,root,root) %ghost %{_libdir}/lib*.so.0
ca0df6ce 109%{_datadir}/%{name}
eea2b41d 110#%{_mandir}/man1/ots.1*
ca0df6ce
JB
111
112%files devel
113%defattr(644,root,root,755)
114%attr(755,root,root) %{_libdir}/lib*.so
115%{_libdir}/lib*.la
116%{_includedir}/libots*
117%{_pkgconfigdir}/*.pc
eea2b41d 118#%{_gtkdocdir}/libots
ca0df6ce
JB
119
120%files static
121%defattr(644,root,root,755)
122%{_libdir}/lib*.a
This page took 0.058384 seconds and 4 git commands to generate.