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

Группа :: Разработка/Ruby
Пакет: ruby-paginator

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

%define pkgname paginator

Name: ruby-%pkgname
Version: 1.1.0
Release: alt1
Summary: A generic paginator object for use in any Ruby program
License: MIT/X Consortium
Group: Development/Ruby
Url: http://rubyforge.org/projects/paginator/

Packager: Ruby Maintainers Team <ruby at packages.altlinux.org>

Source: %pkgname-%version.tar
Patch: %name-%version-%release.patch

BuildArch: noarch

Requires: libruby ruby-module-patterns

BuildRequires(pre): rpm-build-ruby
# Automatically added by buildreq on Tue Jan 08 2008 (-bi)
BuildRequires: ruby ruby-module-etc ruby-tool-rdoc ruby-tool-setup

%description
Paginator doesn't make any assumptions as to how data is retrieved;
you just have to provide it with the total number of objects and a
way to pull a specific set of objects based on the offset and number
of objects per page.

%package doc
Summary: Documentation files for %name
Group: Documentation

%description doc
Documentation files for %name

%prep
%setup -n %pkgname-%version
%patch -p1
cp %_datadir/ruby-setup/setup.rb .

%build
%ruby_config
%ruby_build
ruby -Ilib test/test_paginator.rb

%install
%ruby_install
%rdoc lib/

%files
%doc History.txt README.txt
%ruby_sitelibdir/*

%files doc
%ruby_ri_sitedir/Paginator*

%changelog

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

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