Fix EPM list file and games programs.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2006-01-15 20:33:10 +00:00
parent 9b12d18155
commit 89d3f74435

View File

@ -33,13 +33,11 @@
%license COPYING %license COPYING
%readme README %readme README
%version @FL_MAJOR_VERSION@.@FL_MINOR_VERSION@.@FL_PATCH_VERSION@ %version @FL_MAJOR_VERSION@.@FL_MINOR_VERSION@.@FL_PATCH_VERSION@
%description << EOF %description The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a
The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a %description cross-platform C++ GUI toolkit for UNIX(r)/Linux(r) (X11),
cross-platform C++ GUI toolkit for UNIX(r)/Linux(r) (X11), %description Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides modern
Microsoft(r) Windows(r), and MacOS(r) X. FLTK provides modern %description GUI functionality without the bloat and supports 3D graphics via
GUI functionality without the bloat and supports 3D graphics via %description OpenGL(r) and its built-in GLUT emulation.
OpenGL(r) and its built-in GLUT emulation.
EOF
$prefix=@prefix@ $prefix=@prefix@
$exec_prefix=@exec_prefix@ $exec_prefix=@exec_prefix@
@ -111,11 +109,9 @@ f 0555 root sys $libdir/libfltk_gl.so.@FL_API_VERSION@ src/libfltk_gl.so.@FL_API
%subpackage devel %subpackage devel
%description FLTK Development Environment %description FLTK Development Environment
%description << EOF %description Install fltk-devel if you need to develop FLTK applications.
Install fltk-devel if you need to develop FLTK applications. %description You'll need to install the fltk package if you plan to run
You'll need to install the fltk package if you plan to run %description dynamically linked applications.
dynamically linked applications.
EOF
%system darwin %system darwin
f 0444 root sys $includedir/FL/mac.r FL/mac.r f 0444 root sys $includedir/FL/mac.r FL/mac.r
@ -362,41 +358,40 @@ f 0444 root sys $docdir/examples/ test/*.fl
f 0444 root sys $docdir/examples/ test/*.h f 0444 root sys $docdir/examples/ test/*.h
%subpackage games %subpackage games
%description <<EOF %description FLTK Games
Install fltk-games to play checkers or Sudoku on your computer. %description Install fltk-games to play checkers or Sudoku on your computer.
EOF
%system darwin %system darwin
d 0555 root sys /Applications/checkers.app - d 0555 root sys /Applications/checkers.app -
d 0555 root sys /Applications/checkers.app/Contents - d 0555 root sys /Applications/checkers.app/Contents -
f 0444 root sys /Applications/checkers.app/Contents/Info.plist checkers/checkers.app/Contents/Info.plist f 0444 root sys /Applications/checkers.app/Contents/Info.plist test/checkers.app/Contents/Info.plist
f 0444 root sys /Applications/checkers.app/Contents/PkgInfo checkers/checkers.app/Contents/PkgInfo f 0444 root sys /Applications/checkers.app/Contents/PkgInfo test/checkers.app/Contents/PkgInfo
d 0555 root sys /Applications/checkers.app/Contents/MacOS - d 0555 root sys /Applications/checkers.app/Contents/MacOS -
f 0555 root sys /Applications/checkers.app/Contents/MacOS/checkers test/checkers f 0555 root sys /Applications/checkers.app/Contents/MacOS/checkers test/checkers
d 0555 root sys /Applications/checkers.app/Contents/Resources - d 0555 root sys /Applications/checkers.app/Contents/Resources -
f 0444 root sys /Applications/checkers.app/Contents/Resources/checkers.icns checkers/checkers.app/Contents/Resources/checkers.icns f 0444 root sys /Applications/checkers.app/Contents/Resources/checkers.icns test/checkers.app/Contents/Resources/checkers.icns
%postremove /bin/rm -rf /Applications/checkers.app %postremove /bin/rm -rf /Applications/checkers.app
d 0555 root sys /Applications/sudoku.app - d 0555 root sys /Applications/sudoku.app -
d 0555 root sys /Applications/sudoku.app/Contents - d 0555 root sys /Applications/sudoku.app/Contents -
f 0444 root sys /Applications/sudoku.app/Contents/Info.plist sudoku/sudoku.app/Contents/Info.plist f 0444 root sys /Applications/sudoku.app/Contents/Info.plist test/sudoku.app/Contents/Info.plist
f 0444 root sys /Applications/sudoku.app/Contents/PkgInfo sudoku/sudoku.app/Contents/PkgInfo f 0444 root sys /Applications/sudoku.app/Contents/PkgInfo test/sudoku.app/Contents/PkgInfo
d 0555 root sys /Applications/sudoku.app/Contents/MacOS - d 0555 root sys /Applications/sudoku.app/Contents/MacOS -
f 0555 root sys /Applications/sudoku.app/Contents/MacOS/sudoku test/sudoku f 0555 root sys /Applications/sudoku.app/Contents/MacOS/sudoku test/sudoku
d 0555 root sys /Applications/sudoku.app/Contents/Resources - d 0555 root sys /Applications/sudoku.app/Contents/Resources -
f 0444 root sys /Applications/sudoku.app/Contents/Resources/sudoku.icns sudoku/sudoku.app/Contents/Resources/sudoku.icns f 0444 root sys /Applications/sudoku.app/Contents/Resources/sudoku.icns test/sudoku.app/Contents/Resources/sudoku.icns
%postremove /bin/rm -rf /Applications/sudoku.app %postremove /bin/rm -rf /Applications/sudoku.app
%system !darwin %system !darwin
f 0555 root sys $bindir/checkers test/checkers f 0555 root sys $bindir/checkers test/checkers
f 0444 root sys /usr/share/applnk/Games/checkers.desktop test/checkers.desktop
f 0444 root sys /usr/share/icons/hicolor/32x32/apps/checkers.png checkers/checkers-32.png
f 0444 root sys /usr/share/icons/hicolor/128x128/apps/checkers.png checkers/checkers-128.png
f 0555 root sys $bindir/sudoku test/sudoku f 0555 root sys $bindir/sudoku test/sudoku
f 0444 root sys /usr/share/applnk/Development/fluid.desktop fluid/fluid.desktop f 0444 root sys /usr/share/applnk/Games/sudoku.desktop test/sudoku.desktop
f 0444 root sys /usr/share/icons/hicolor/16x16/apps/fluid.png fluid/icons/fluid-16.png f 0444 root sys /usr/share/icons/hicolor/32x32/apps/sudoku.png sudoku/sudoku-32.png
f 0444 root sys /usr/share/icons/hicolor/32x32/apps/fluid.png fluid/icons/fluid-32.png f 0444 root sys /usr/share/icons/hicolor/128x128/apps/sudoku.png sudoku/sudoku-128.png
f 0444 root sys /usr/share/icons/hicolor/48x48/apps/fluid.png fluid/icons/fluid-48.png
f 0444 root sys /usr/share/icons/hicolor/64x64/apps/fluid.png fluid/icons/fluid-64.png
f 0444 root sys /usr/share/icons/hicolor/128x128/apps/fluid.png fluid/icons/fluid-128.png
f 0444 root sys /usr/share/mimelnk/application/x-fluid.desktop fluid/x-fluid.desktop
%system all %system all
f 0444 root sys $mandir/cat6/checkers.$CAT6EXT documentation/checkers.$CAT6EXT f 0444 root sys $mandir/cat6/checkers.$CAT6EXT documentation/checkers.$CAT6EXT