Re: packaging rpm

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

 



MGandra@xxxxxxxxxxxxx wrote:
>
> HI
>
> I want to create an rpm package and all I have is the files. I don’t 
> have the source code. How do I modify the spec file to only include 
> the files. Do I have to modify the %files macro to include the files 
> from different folders.
>
> Any help would be appreciated.
>
> Thanks
>
> *Madhukar Gandra**
> */Product Assembly In Charge/
>
> *Diskeeper Corporation
> *7590 N. Glenoaks Blvd.
> Burbank, CA 91504
>
> 818-771-1600 x1434
> Mgandra@xxxxxxxxxxxxx
> <mailto:Mgandra@xxxxxxxxxxxxx>*
> Innovators in Performance and Reliability Technologies^® *
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus 
> signature database 4959 (20100319) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
> ------------------------------------------------------------------------
>
> --
> packaging mailing list
> packaging@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/packaging
If it's for inclusion in Fedora, you don't. :)

If it's not, you put the files in the buildroot in %install.

If you want /usr/bin, for example, you do something like

%install
install -m 755 foo %{buildroot}%{_bindir}/foo

%files
<snip>
%{_bindir}/foo


-J

-- 
in your fear, seek only peace
in your fear, seek only love

-d. bowie

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux