~ubuntu-branches/ubuntu/natty/freecell-solver/natty

« back to all changes in this revision

Viewing changes to freecell-solver.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): RISKO Gergely
  • Date: 2009-07-15 17:42:19 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090715174219-2rlyyvse0kezacly
Tags: 2.34.0-1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Name: freecell-solver
2
2
Version: @VERSION@
3
3
Release: 1 
4
 
License: Public Domain
 
4
License: MIT
5
5
Group: Amusement/Games
6
 
Source: http://download.berlios.de/fc-solve/freecell-solver-%{version}.tar.gz
 
6
Source: http://download.berlios.de/fc-solve/freecell-solver-%{version}.tar.bz2
7
7
Buildroot: %{_tmppath}/freecell-solver-root
8
8
URL: http://fc-solve.berlios.de/
9
9
Requires: libfreecell-solver0 = %{PACKAGE_VERSION}
41
41
You should install it if you are a game developer who would like to use 
42
42
Freecell Solver from within your programs.
43
43
 
 
44
%package -n libfreecell-solver0-static
 
45
Summary: The Freecell Solver static libraries
 
46
Group: Amusement/Games
 
47
Requires: libfreecell-solver0 = %{PACKAGE_VERSION}
 
48
 
 
49
%description -n libfreecell-solver0-static
 
50
Freecell Solver is a library for automatically solving boards of Freecell and
 
51
similar variants of card Solitaire. This package contains the static libraries.
 
52
 
 
53
It is not generally required.
 
54
 
44
55
%prep
45
56
%setup
46
57
# This is a hack that is meant to make sure the README of the board
55
66
 
56
67
 
57
68
%build
58
 
%cmake -DLOCALE_INSTALL_DIR=%{_datadir}/locale -DLIB_INSTALL_DIR=%{_libdir} -DMAX_NUM_FREECELLS=8 -DMAX_NUM_STACKS=12 -DSTATES_TYPE=indirect
 
69
%cmake -DLOCALE_INSTALL_DIR=%{_datadir}/locale -DLIB_INSTALL_DIR=%{_libdir} -DMAX_NUM_FREECELLS=8 -DMAX_NUM_STACKS=12
59
70
%make
60
71
 
61
72
%install
74
85
/usr/share/freecell-solver/presetrc
75
86
/usr/share/freecell-solver/presets/*
76
87
 
 
88
%files -n libfreecell-solver0-static
 
89
/usr/lib/libfreecell-solver.a
 
90
 
77
91
%files
78
92
%defattr(-,root,root)
79
93
%doc AUTHORS INSTALL README README.win32.txt TODO ChangeLog USAGE board_gen/doc/board_gen
89
103
%defattr(-,root,root)
90
104
/usr/include/freecell-solver/*.h
91
105
/usr/bin/freecell-solver-config
 
106
/usr/lib/pkgconfig/*.pc
92
107
 
93
108
%clean
94
109
rm -rf $RPM_BUILD_ROOT
95
110
 
96
111
%changelog
 
112
* Tue Mar 31 2009 Shlomi Fish <shlomif@iglu.org.il> 2.21.2-1
 
113
- Adapted to the CMake build system.
 
114
- Changed the license from "Public Domain" to "MIT".
 
115
 
97
116
* Mon Oct 24 2005 Shlomi Fish <shlomif@iglu.org.il> 2.8.11-1
98
117
- Changed "Copyright" to "License"
99
118