Summary: A program that wins big. Name: winner Version: 1.1.1.1 Release: 1 # Change these to fit your project. License: GPL Copyright: GPL Group: System Environment/Base #Source: ftp://ftp.gnu.org/gnu/gdb/gdb-5.1.1.tar.gz Source: http://www.winner.org/bin/%{name}-%{srcver}.tar.gz URL: http://www.winner.org/ # You can uncomment this to turn off the automatic dependency generator # so that you can manually specify the dependencies if e.g. you want to # mark certain DLLs as optional instead of required. # If you don't care about this stuff, delete up to the patches section. #Autoreq: 0 # You can uncomment this to turn off the automatic DLL provides generator # so that you can manually specify what this package provides. #Autoprov: 0 # This turns off both. #Autoreqprov: 0 # Manually specify the install requirements here. #Requires: super-winulator >= 1.5.2 # Manually specify the things this package provides here. #Provides: mega-winkulator # If you specify another package here, it will be uninstalled when you # install this package. #Conflicts: uberloser # List your patches here. You should comment them if you have a whole # bunch of patches to apply. #Patch0: win-superwin-patch #Patch1: win-double-superwin-patch #Patch2: win-triple-oversuperwin-patch #Patch3: win-5.01-hyperwin-patch #Patch4: win-5.02-megawin-patch #Patch5: win-patch BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) # You can use this to require certain packages to be installed as a hint # to the builder as to what they need to install to satisfy the build # dependencies (because the errors that make outputs may not make it # obvious what needs to be installed) #BuildRequires: winner-devel >= 1.2.3.4 %description The winner program allows the user to win big even when their operating system loses big. Install winner if you want to win. %prep # You can use -qn %{name} instead if your tarball decompresses into # a directory without the version number (like the Linux kernel). %setup -q # The -b argument to the patch command indicates that the original file # should be backed up with the given extension before the patch is # applied. This allows you to use the gendiff(1) tool to easily # modify patches by doing "gendiff myprojdir .superwin" or similar # after changing the patched file. #%patch0 -p1 -b .superwin #%patch1 -p1 -b .double #%patch2 -p1 -b .triple #%patch3 -p1 -b .hyperwin #%patch4 -p1 -b .megawin #%patch5 -p1 -b .orig # If something goes wrong during the build stage, you can do # "rpm -bc --short-circuit myfile.spec" to continue from where you left # off instead of restarting the build process. Don't forget to update # your patches before doing it, though! %build #./configure --prefix="$RPM_BUILD_ROOT"/usr %configure make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" %install rm -rf "$RPM_BUILD_ROOT" make install %clean rm -rf $RPM_BUILD_ROOT %files # defattr(mode,user,group) # example: defattr(644, chewie, wookies) %defattr(-,root,root) # Anything marked %doc gets stuck in /usr/share/doc/PKGNAME %doc README COPYING ChangeLog /usr/bin/winner /usr/man/man1/winner.1 %changelog * Tue Jul 03 2002 Jason Spence - Added more comments and sample lines. * Tue Apr 16 2002 Jason Spence - New spec file template. * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 3) * Wed Feb 24 1999 Preston Brown - Injected new description and group.