From: Eugene Prokopiev <john@rmts.donpac.ru> To: community@altlinux.ru Subject: [Comm] Спек: имя архива с исходниками должно отличаться от имени пакета Date: Wed, 12 May 2004 09:57:59 +0400 Message-ID: <40A1BCE7.7010603@rmts.donpac.ru> (raw) Здравствуйте! Есть следующий спек для сборки ulog-acctd - более удобного для меня аналога ulogd. Основной ulog-acctd_0.4.2.orig.tar.gz исходник для сборки пакета - ulog-acctd_0.4.2.orig.tar.gz. Как модифицировать спек так, чтобы имя пакета было не ulog-acctd-0.4.2.orig-custom.i686.rpm, а ulog-acctd-0.4.2-custom.i686.rpm, и документация складывалась не в /usr/share/doc/ulog-acctd-0.4.2.orig а в /usr/share/doc/ulog-acctd-0.4.2? Спек: Summary: ulog-acctd - The userspace network accounting daemon Name: ulog-acctd Version: 0.4.2.orig Release: custom License: GPL Group: Network URL: http://alioth.debian.org/projects/pkg-ulog-acctd Source0: ulog-acctd_0.4.2.orig.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-root Packager: Eugene Prokopiev <john@rmts.donpac.ru> %description ulog-acctd is a userspace network accounting daemon which generates log files of network traffic for accounting purposes %prep %setup %build cd src make cd ../doc makeinfo --no-headers -o - ulog-acctd.texi > README makeinfo --no-split ulog-acctd.texi gzip ulog-acctd.info cd .. %install rm -rf %{buildroot} mkdir -p %{buildroot}/%{_sysconfdir} mkdir -p %{buildroot}/%{_sbindir} mkdir -p %{buildroot}/%{_infodir} mkdir -p %{buildroot}/%{_mandir}/man8 install doc/ulog-acctd.8 %{buildroot}/%{_mandir}/man8/ulog-acctd.8 install doc/ulog-acctd.info.gz %{buildroot}/%{_infodir}/ulog-acctd.info.gz install src/ulog-acctd %{buildroot}/%{_sbindir}/ulog-acctd install src/ulog-acctd.conf %{buildroot}/%{_sysconfdir}/ulog-acctd.conf %clean rm -rf %{buildroot} %files %defattr(0644,root,root,0755) %attr(0755,root,root) %{_sbindir}/ulog-acctd %{_sysconfdir}/ulog-acctd.conf %{_mandir}/man8/* %{_infodir}/* %doc doc/README %doc contrib %doc COPYING %changelog * Tue May 11 2004 Eugene Prokopiev <john@rmts.donpac.ru> - Initial RPM package -- С уважением, Прокопьев Евгений
next reply other threads:[~2004-05-12 5:57 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-05-12 5:57 Eugene Prokopiev [this message] 2004-05-12 6:25 ` Vladimir Lettiev 2004-05-12 8:17 ` Eugene Prokopiev 2004-05-12 8:59 ` Andrew Borodin 2004-05-12 10:23 ` Eugene Prokopiev 2004-05-12 10:07 ` Alexey Borovskoy 2004-05-12 10:23 ` Vladimir Lettiev
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=40A1BCE7.7010603@rmts.donpac.ru \ --to=john@rmts.donpac.ru \ --cc=community@altlinux.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 Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git