Группа :: Разработка/Прочее
Пакет: xaira
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable check
%def_disable static
Name: xaira
Version: 1.25
Release: alt1
Summary: XML Aware Indexing and Retrieval Application
License: GPLv2+
Group: Development/Other
Url: http://www.xaira.org
Packager: Kirill Maslinsky <kirill at altlinux.org>
Source0: %name-%version.tar
Patch0: alt-x86_64.patch
Patch1: alt-termcap.patch
Patch2: alt-destdir.patch
Patch3: alt-linking.patch
BuildRequires: gcc-c++ libxerces-c-devel libicu-devel libreadline-devel zlib-devel libtinfo-devel
%description
Xaira is the current name for a new version of SARA, the text
searching software originally developed at OUCS for use with the British
National Corpus. This new version has been entirely re-written as a general
purpose XML search engine, which will operate on any corpus of well-formed XML
documents. It is however best used with TEI-conformant documents.
Xaira has full Unicode support. This means you can use it to search and display
text in any language, provided you have a suitable Unicode font installed on
your system.
%package -n lib%name
Summary: Shared libs for %name
Group: Development/C
%description -n lib%name
Shared libs for %name
%package -n lib%name-devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release
%description -n lib%name-devel
Headers for building software that uses %name
%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
find -name Makefile.am -exec sed -i '/AM_CPPFLAGS/s/-w//' {} \;
%build
%autoreconf -fisv
%configure
%make_build
%install
%makeinstall_std
%find_lang %name
%check
%make_build check
%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README docs/*
%_bindir/*
%_sbindir/*
%_datadir/%name
%_logdir/%name
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_includedir/*.h
%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib%name.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
%def_disable static
Name: xaira
Version: 1.25
Release: alt1
Summary: XML Aware Indexing and Retrieval Application
License: GPLv2+
Group: Development/Other
Url: http://www.xaira.org
Packager: Kirill Maslinsky <kirill at altlinux.org>
Source0: %name-%version.tar
Patch0: alt-x86_64.patch
Patch1: alt-termcap.patch
Patch2: alt-destdir.patch
Patch3: alt-linking.patch
BuildRequires: gcc-c++ libxerces-c-devel libicu-devel libreadline-devel zlib-devel libtinfo-devel
%description
Xaira is the current name for a new version of SARA, the text
searching software originally developed at OUCS for use with the British
National Corpus. This new version has been entirely re-written as a general
purpose XML search engine, which will operate on any corpus of well-formed XML
documents. It is however best used with TEI-conformant documents.
Xaira has full Unicode support. This means you can use it to search and display
text in any language, provided you have a suitable Unicode font installed on
your system.
%package -n lib%name
Summary: Shared libs for %name
Group: Development/C
%description -n lib%name
Shared libs for %name
%package -n lib%name-devel
Summary: Headers for %name
Group: Development/C
Requires: %name = %version-%release
%description -n lib%name-devel
Headers for building software that uses %name
%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
find -name Makefile.am -exec sed -i '/AM_CPPFLAGS/s/-w//' {} \;
%build
%autoreconf -fisv
%configure
%make_build
%install
%makeinstall_std
%find_lang %name
%check
%make_build check
%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README docs/*
%_bindir/*
%_sbindir/*
%_datadir/%name
%_logdir/%name
%files -n lib%name
%_libdir/*.so.*
%files -n lib%name-devel
%_libdir/*.so
%_includedir/*.h
%if_enabled static
%files -n lib%name-devel-static
%_libdir/lib%name.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь