devel@ where you _can_ ask
 help / color / mirror / Atom feed
* [newbies] подойдет ли такая секция %install в спеке?
@ 2022-09-28 10:28 ximper
  2022-09-28 10:41 ` Michael Shigorin
  2022-09-28 12:47 ` Michael Shigorin
  0 siblings, 2 replies; 4+ messages in thread
From: ximper @ 2022-09-28 10:28 UTC (permalink / raw)
  To: devel-newbies

Доброго времени суток. Появился такой вопрос: подойдет ли такая секция
%install в спеке, или ее нужно доработать?
------------------------------------------------------------------
%install
mkdir -p %buildroot%_datadir/applications
cat > %buildroot%_datadir/applications/%name.desktop << EOF
[Desktop Entry]
Type=Application
Name=PortProton
Name[ru]=PortProton
Comment=Installer PortProton for Windows games
Comment[ru]=Установщик PortProton для Windows игр
Exec=%{name} %F
Icon=port_proton
StartupNotify=false
Terminal=false
Categories=Game;
MimeType=application/x-wine-extension-msp;application/x-
msi;application/x-ms-dos-executable;
EOF

mkdir -p %buildroot%_bindir/
install -m755 %SOURCE0 %buildroot%_bindir/%name

mkdir -p %buildroot%_datadir/pixmaps
install -m644 %SOURCE1 %buildroot%_datadir/pixmaps/
------------------------------------------------------------------
Просто программа не собирается, ибо состоит из bash скриптов
Пропустят ли такое в репозитории?


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

end of thread, other threads:[~2022-09-29 15:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 10:28 [newbies] подойдет ли такая секция %install в спеке? ximper
2022-09-28 10:41 ` Michael Shigorin
2022-09-28 12:47 ` Michael Shigorin
2022-09-29 15:27   ` Andrey Savchenko

devel@ where you _can_ ask

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
		devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
	public-inbox-index devel-newbies

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git