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

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

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

# vim: set ft=spec: -*- rpm-spec -*-

%define pkgname tmail

Name: ruby-%pkgname
Version: 1.2.2
Release: alt1

Summary: Mail handling library for Ruby
License: GPL
Group: Development/Ruby
URL: http://tmail.rubyforge.org/

Packager: Sir Raorn <raorn at altlinux.ru>

BuildRequires(pre): rpm-build-ruby
# Automatically added by buildreq on Mon Dec 03 2007 (-bi)
BuildRequires: libruby-devel ruby-module-debug ruby-module-digest ruby-module-etc ruby-module-iconv ruby-module-nkf ruby-module-openssl ruby-module-racc-runtime ruby-module-test-unit ruby-racc

# http://rubyforge.org/frs/?group_id=4512

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

%description
TMail is mail handling library for Ruby. TMail can extract data from mail,
and write data to mail following by RFC procedures.

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

%description doc
Documentation files for %name

%prep
%setup -q -n %pkgname-%version
%patch -p1

# leftovers of indeterminate origin

rm -f lib/tmail/require_arch.rb
# will regenerate
rm -f lib/tmail/parser.rb

%build
%ruby_config --verbose --without_ext yes
%ruby_build --verbose
pushd lib/tmail
%make_build parser.rb
popd
pushd ext/tmailscanner/tmail
%ruby_configure
%make_build
popd
%ruby_setup_rb test

%install
%ruby_install --verbose
pushd ext/tmailscanner/tmail
%make_install DESTDIR=%buildroot install
popd
%rdoc lib/ ext/

%files
%doc CHANGES LICENSE NOTES README
%ruby_sitearchdir/*
%ruby_sitelibdir/*

%files doc
%doc sample
%ruby_ri_sitedir/TMail*

%changelog

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

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