From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <40A1BCE7.7010603@rmts.donpac.ru> Date: Wed, 12 May 2004 09:57:59 +0400 From: Eugene Prokopiev User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.5b) Gecko/20031007 Thunderbird/0.3a X-Accept-Language: ru-ru, ru MIME-Version: 1.0 To: community@altlinux.ru Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Processed: rmts.donpac.ru, Wed, 12 May 2004 09:55:01 +0400 (not processed: message from valid local sender) X-MDRemoteIP: 192.168.10.5 X-Return-Path: john@rmts.donpac.ru X-MDaemon-Deliver-To: community@altlinux.ru Subject: [Comm] =?koi8-r?b?89DFyzogyc3RIMHSyMnXwSDTIMnTyM/EzsnLwc3JIMTP?= =?koi8-r?b?zNbOzyDP1MzJ3sHU2NPRIM/UIMnNxc7JINDBy8XUwQ==?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.4 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2004 05:55:57 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! Есть следующий спек для сборки 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 %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 - Initial RPM package -- С уважением, Прокопьев Евгений