Re: Binary-only RPMs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is possible to simply make a tar.gz file containing the files you want to install and then write a spec file that will untar &  copy those into an install directory and make an RPM out of the target directory.   The spec file that people use to re-package the microsoft true type fonts would be an example.  I'm pretty sure I could think of a couple of other examples, but just search for the spec file that goes with msttcorefonts.spec.  Google to get that, notice you don't have to do any of the build stuff. Just prep & setup, and then install just copies files. Here's what msttcorefont has--just an ordinary "cd" and "cp" to install files....
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
cd %{name}/fonts
mkdir -p $RPM_BUILD_ROOT/%{fontdir}
cp *.ttf fonts.dir $RPM_BUILD_ROOT/%{fontdir}

.....

%files
%attr(-,root,root) %{fontdir}
%dir %{fontdir}

pj

On 1/17/07, R. Tyler Ballance <tyler@xxxxxxxxxxxxx > wrote:
My project uses NAnt as a build system, and is primarily Mono-based. Do I necessarily need to use RPM to build the project so I can package it in an RPM?

Ideally I would like to be able to just package up a shadow directory (/usr/local/ansa) and install it via RPM, since my build system is a bit less than standard :)


Ideas? 


Cheers
R. Tyler Ballance: Lead Mac Developer at bleep. software
contact: tyler@xxxxxxxxxxxxx | jabber: tyler@xxxxxxxxxxxxxxxxxx


_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list




--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux