Re: rpm spec file

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

 



Hi,

> %define version 1.22
> %define rel     1
> %define prefix /usr/

None of these are required

> Summary: VICE, the Versatile Commodore Emulator
> Name: vice
> Version: %version

Version 1.22

> Release: %rel

Release 1?{%dist}

> License: GPL
> Group: X11/Applications/Emulators

Please remember that for emulators, you cannot redistribute the ROMS

> %build
> CFLAGS="$RPM_OPT_FLAGS -DNO_REGPARM" ./configure --prefix=%{prefix}
> --enable-gnomeui make

Unless there is something seriously up with the configure script, prefix
should not be needed
 
> %install
> rm -rf $RPM_BUILD_ROOT
> mkdir -p $RPM_BUILD_ROOT%{prefix}

You don't usually need this

%make DESTDIR=$RPM_BUILD_ROOT install

does the trick

> 
> %clean
> rm -rf $RPM_BUILD_ROOT
> 
> %files
> 
> %doc AUTHORS FEEDBACK INSTALL README
> 
> %{prefix}/bin/x64
%{_bindir}/x64

> %{prefix}/lib/vice/

Bad idea - what happens if you're not on x86?

%{_libdir}/vice/

> %{prefix}/man/man1/*

%{_mandir}/man1/

> %{prefix}/include/resid/*

%{_includedir}/resid/*

--
Get your free @ukpost.com account now
http://www.ukpost.com/

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux