From: Mikhail Zabaluev <mhz@alt-linux.org>
To: devel@linux.iplabs.ru
Subject: [devel] Re: perl modules
Date: Fri, 23 Nov 2001 12:31:33 +0300
Message-ID: <20011123093133.GE24771@localhost.localdomain> (raw)
In-Reply-To: <20011123114150.3c2e6e23.bga@altlinux.ru>
[-- Attachment #1: Type: text/plain, Size: 887 bytes --]
Hello Grirory,
On Fri, Nov 23, 2001 at 11:41:50AM +0300, Grirory Batalov wrote:
>
> Fri, 23 Nov 2001 11:41:09 +0300
> Mikhail Zabaluev <mhz@alt-linux.org> писал:
>
> MZ> > При сборке модулей для perl, часто возникает желание ввести
> MZ> > макрос для обозначения категории (или группы) как например
> MZ> > Mail, Net и т.д
> MZ> >
> MZ> > %define module_category Mail
> MZ> > %define module_name POP3Client
> MZ> >
> MZ> > конечно никто не мешает делоть это "в тихую" в своих spec-ах
> MZ> > но думаю унификация не помешает.
> MZ>
> MZ> Я это делал в своем skeleton perl module spec. Думаю, это можно
> MZ> оставить на усмотрение автора spec.
>
> А где его (skeleton spec) можно посмотреть?
Прилагаю последнюю правку.
--
Stay tuned,
MhZ JID: mookid@jabber.org
___________
Finagle's Creed:
Science is true. Don't be misled by facts.
[-- Attachment #2: skelet-perl-module.spec --]
[-- Type: text/plain, Size: 868 bytes --]
%define module_name Some-Module
%define module_dir Some/Module
Name: perl-%module_name
Version:
Release: alt1
Summary:
Summary(ru_RU.KOI8-R):
Group: Development/Perl
License: GPL or Artistic
URL: http://www.cpan.org/modules/by-module/%module_dir/
# Uncomment if you do an architecture-independent package
#BuildArch: noarch
Source: http://www.perl.com/CPAN/modules/by-module/%module_dir/%module_name-%version.tar.bz2
%description
%prep
%setup -q -n %module_name-%version
%build
%__perl Makefile.PL PREFIX=%_prefix
%make_build OPTIMIZE="$RPM_OPT_FLAGS"
%make test
%install
%make pure_install \
PREFIX=$RPM_BUILD_ROOT%_prefix \
INSTALLMAN1DIR=$RPM_BUILD_ROOT%perl_man1dir
%files
%doc README Changes
%perl_sitearch/%module_dir/*
%perl_sitearch/auto/%module_dir/*
%docdir %perl_man1dir
%docdir %perl_man3dir
#%perl_man1dir/*
%perl_man3dir/*
%changelog
next prev parent reply other threads:[~2001-11-23 9:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-23 8:58 [devel] " Igor Homyakov
2001-11-23 8:41 ` [devel] " Mikhail Zabaluev
2001-11-23 8:41 ` [devel] " Grirory Batalov
2001-11-23 9:31 ` Mikhail Zabaluev [this message]
2001-11-23 12:43 ` [devel] " Dmitry V. Levin
2001-11-23 10:02 ` [devel] " Igor Homyakov
2001-11-23 9:20 ` Alexander Bokovoy
2001-11-23 12:41 ` Dmitry V. Levin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011123093133.GE24771@localhost.localdomain \
--to=mhz@alt-linux.org \
--cc=devel@linux.iplabs.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git