Группа :: Разработка/Прочее
Пакет: tokyocabinet-lua
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_disable check
%define bname tokyocabinet
Name: %bname-lua
Version: 1.8
Release: alt2.qa1
Summary: Lua binding to the Tokyo Cabinet
License: %lgpl2plus
Group: Development/Other
URL: http://%bname.sourceforge.net
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Requires: libtokyocabinet >= 1.4.21
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: bzlib-devel liblua5-devel lua5 zlib-devel
BuildRequires: libtokyocabinet-devel >= 1.4.21
%description
Lua binding to the Tokyo Cabinet.
%package doc
Summary: Documentation for Lua binding to the Tokyo Cabinet
Group: Documentation
BuildArch: noarch
%description doc
Documentation for Lua binding to the Tokyo Cabinet.
%prep
%setup
%patch -p1
%build
%configure
%make_build
%{?_enable_check:%make check}
%install
%make_install DESTDIR=%buildroot install
install -d -m 0755 %buildroot%_docdir/%name-%version/{html/modules,example}
install -m 0644 example/* %buildroot%_docdir/%name-%version/example/
install -m 0644 overview.html %buildroot%_docdir/%name-%version/
install -m 0644 doc/modules/* %buildroot%_docdir/%name-%version/html/modules/
install -m 0644 doc/*.{css,html} %buildroot%_docdir/%name-%version/html/
%files
%_libdir/*/*.so
%files doc
%_docdir/%name-%version
%changelog
…
Полный changelog можно просмотреть здесь
%define bname tokyocabinet
Name: %bname-lua
Version: 1.8
Release: alt2.qa1
Summary: Lua binding to the Tokyo Cabinet
License: %lgpl2plus
Group: Development/Other
URL: http://%bname.sourceforge.net
Source: %name-%version.tar
Patch: %name-%version-%release.patch
Requires: libtokyocabinet >= 1.4.21
Packager: Led <led at altlinux.ru>
BuildRequires(pre): rpm-build-licenses
BuildRequires: bzlib-devel liblua5-devel lua5 zlib-devel
BuildRequires: libtokyocabinet-devel >= 1.4.21
%description
Lua binding to the Tokyo Cabinet.
%package doc
Summary: Documentation for Lua binding to the Tokyo Cabinet
Group: Documentation
BuildArch: noarch
%description doc
Documentation for Lua binding to the Tokyo Cabinet.
%prep
%setup
%patch -p1
%build
%configure
%make_build
%{?_enable_check:%make check}
%install
%make_install DESTDIR=%buildroot install
install -d -m 0755 %buildroot%_docdir/%name-%version/{html/modules,example}
install -m 0644 example/* %buildroot%_docdir/%name-%version/example/
install -m 0644 overview.html %buildroot%_docdir/%name-%version/
install -m 0644 doc/modules/* %buildroot%_docdir/%name-%version/html/modules/
install -m 0644 doc/*.{css,html} %buildroot%_docdir/%name-%version/html/
%files
%_libdir/*/*.so
%files doc
%_docdir/%name-%version
%changelog
…
Полный changelog можно просмотреть здесь