ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] SPEC-файл....
@ 2005-04-28  6:06 Anton Gorlov
  0 siblings, 0 replies; only message in thread
From: Anton Gorlov @ 2005-04-28  6:06 UTC (permalink / raw)
  To: community

Здравствуйте, community.

Господа --просветите пожалуста меня тёмного по акому вопросу.

Есть некий спек программы. В нём встречаются такие строки (см ниже.)
После заворачивания в пакет  всё раскидывается примерно так:

/etc/security/pam_mount.conf
/lib/security/*.so (*.a,*.la)
/usr/bin/*
/usr/sbin/*
/usr/share/doc (man).

Сам вопрос --как же собранная программа находит свои либы\конфиг, если
мы преффикс при конфигурации не задали и она собирается с дефолтным
(/usr/*)?

=====
%build
%configure
%make_build
%install
make install DESTDIR=%buildroot moduledir=/lib/security
%__install -pD -m644 config/pam_mount.conf %buildroot%_sysconfdir/security/pam_mount.conf
%__rm -f %buildroot%_lib/security/pam_mount.a
%files
/lib/security/*.so
%_sbindir/*
%_bindir/*
%_man8dir/*
%config(noreplace) %_sysconfdir/security/pam_mount.conf
====


-- 
С уважением,
 Anton                          mailto:Pnz.Stalker@mail.ru



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-04-28  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28  6:06 [Comm] SPEC-файл Anton Gorlov

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