Thanks in advance for any rpm sepc file examples you can share.
Background
-------------
I have a mylib-devel.rpm that installs headers (to /usr/include/) and html docs to /usr/share/doc/mylib/html. I am trying to figure out how to add program shortcuts to Appplication->Programming menu as well as add a desktop shortuct to the index.html file.
I am a Linux newbie. If I am not installing to the proper locations please correct me.
-Ed
Rpm spec file examples that install program or desktop shortcuts?
Rpm spec file examples that install program or desktop short
There are many ways to package things up It has been pointed out to me several times to use this site
https://fedoraproject.org/wiki/Packaging/Guidelines
as a starting point. You may also want to check these ones out as well
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://wiki.centos.org/PackageManagement/Rpm
https://fedoraproject.org/wiki/Packaging/Guidelines
as a starting point. You may also want to check these ones out as well
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://wiki.centos.org/PackageManagement/Rpm
Re: Rpm spec file examples that install program or desktop shortcuts?
[quote]
lostson wrote:
There are many ways to package things up It has been pointed out to me several times to use this site
https://fedoraproject.org/wiki/Packaging/Guidelines
as a starting point. You may also want to check these ones out as well
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://wiki.centos.org/PackageManagement/Rpm[/quote]
Thank you!
The https://fedoraproject.org/wiki/Packaging/Guidelines link is a great resource!
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE3}
-Ed
lostson wrote:
There are many ways to package things up It has been pointed out to me several times to use this site
https://fedoraproject.org/wiki/Packaging/Guidelines
as a starting point. You may also want to check these ones out as well
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://wiki.centos.org/PackageManagement/Rpm[/quote]
Thank you!
The https://fedoraproject.org/wiki/Packaging/Guidelines link is a great resource!
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
%{SOURCE3}
-Ed
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Rpm spec file examples that install program or desktop shortcuts?
Moved this thread to [i]Social[/i], as it does not contain a [i]CentOS[/i] specific question. ;-)
Another link to bookmark is the [url=http://docs.fedoraproject.org/drafts/rpm-guide-en/index.html]Fedora Project's RPM Guide[/url].
Another link to bookmark is the [url=http://docs.fedoraproject.org/drafts/rpm-guide-en/index.html]Fedora Project's RPM Guide[/url].