Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37705760
en ru br
Репозитории ALT
5.1: 0.5.0-alt3
4.1: 0.4.2-alt3
4.0: 0.4.2-alt3
3.0: 0.4.2-alt1
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: libots

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable static

Name: libots
Summary: A text summarizer
Version: 0.4.2
Release: alt1
License: GPL
Group: System/Libraries

URL: http://libots.sourceforge.net/
Source: http://dl.sourceforge.net/libots/ots-%{version}.tar.gz

# Automatically added by buildreq on Fri Jun 10 2005

BuildRequires: glib2-devel libpopt-devel libxml2-devel pkgconfig zlib-devel

%description
Open Text Summarizer is an open source tool for summarizing texts.
It reads a text stream and decides which sentences are important and
which are not.

%package devel
Summary: Libraries and include files for developing with libots.
Group: Development/C
Requires: %name = %version

%description devel
This package provides the necessary development libraries and include
files to allow you to develop with libots.

%package devel-static
Summary: Libots static library
Group: Development/C
Requires: %name-devel = %version

%description devel-static
This package provides static library needed to build statically linked
applications with %name.

%prep
%setup -q -n ots-%version

%build
%configure --disable-gtk-doc %{subst_enable static}
# SMP unsafe build, but we can use trick:
%make_build || make

%install
%makeinstall
rm -f $RPM_BUILD_ROOT%_libdir/*.la
rm -rf $RPM_BUILD_ROOT%_datadir/doc/libots

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%doc AUTHORS ChangeLog README
%_bindir/ots
%_libdir/*.so.*
%_datadir/ots
%_man1dir/*

%files devel
%_libdir/*.so
%_includedir/libots-1
%_libdir/pkgconfig/*.pc

%if_enabled static
%files devel-static
%_libdir/*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin