Репозитории 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 |
Группа :: Система/Библиотеки
Пакет: libots
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable static
Name: libots
Summary: A text summarizer
Version: 0.4.2
Release: alt3
License: GPL
Group: System/Libraries
URL: http://libots.sourceforge.net/
Source: http://dl.sourceforge.net/libots/ots-%version.tar.gz
Patch1: libots-gcc4.patch
# Automatically added by buildreq on Tue May 23 2006
BuildRequires: glib2-devel libpopt-devel libxml2-devel pkg-config 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
%patch1 -p1
%build
%configure --disable-gtk-doc %{subst_enable static}
# we use dirty hack for proper linking of library: libots_1_la_LIBADD="\$(OTS_LIBS)"
# this is quick but not perfect hack, so needed another build with proper solution
# SMP unsafe build, but we can use trick (second run of make):
%make_build libots_1_la_LIBADD="\$(OTS_LIBS)" || make libots_1_la_LIBADD="\$(OTS_LIBS)"
%install
%make_install install DESTDIR=%buildroot
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
%_pkgconfigdir/*.pc
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
Name: libots
Summary: A text summarizer
Version: 0.4.2
Release: alt3
License: GPL
Group: System/Libraries
URL: http://libots.sourceforge.net/
Source: http://dl.sourceforge.net/libots/ots-%version.tar.gz
Patch1: libots-gcc4.patch
# Automatically added by buildreq on Tue May 23 2006
BuildRequires: glib2-devel libpopt-devel libxml2-devel pkg-config 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
%patch1 -p1
%build
%configure --disable-gtk-doc %{subst_enable static}
# we use dirty hack for proper linking of library: libots_1_la_LIBADD="\$(OTS_LIBS)"
# this is quick but not perfect hack, so needed another build with proper solution
# SMP unsafe build, but we can use trick (second run of make):
%make_build libots_1_la_LIBADD="\$(OTS_LIBS)" || make libots_1_la_LIBADD="\$(OTS_LIBS)"
%install
%make_install install DESTDIR=%buildroot
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
%_pkgconfigdir/*.pc
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь