ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Спек: имя архива с исходниками должно отличаться от имени пакета
@ 2004-05-12  5:57 Eugene Prokopiev
  2004-05-12  6:25 ` Vladimir Lettiev
  0 siblings, 1 reply; 7+ messages in thread
From: Eugene Prokopiev @ 2004-05-12  5:57 UTC (permalink / raw)
  To: community

Здравствуйте!

Есть следующий спек для сборки 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


-- 
С уважением, Прокопьев Евгений



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-05-12 10:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-12  5:57 [Comm] Спек: имя архива с исходниками должно отличаться от имени пакета Eugene Prokopiev
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

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