File: evolvotron.spec

package info (click to toggle)
evolvotron 0.6.1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,140 kB
  • ctags: 1,359
  • sloc: cpp: 9,512; python: 163; sh: 157; makefile: 48
file content (53 lines) | stat: -rw-r--r-- 1,255 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Summary: Evolvotron Interactive Art Generator
Name: evolvotron
Version: 0.5.1
Release: 1
License: GPL
URL: http://sourceforge.net/projects/evolvotron
Packager: <wickedsmoke@users.sf.net>
Group: Applications/Graphics
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?fedora_version}
BuildRequires: gcc-c++ boost-devel python qt-devel 
%else
BuildRequires: gcc-c++ boost-devel python qt3-devel 
%endif

%description
Evolvotron is interactive "generative art" software to evolve images/textures/patterns through an iterative process of random mutation and user-selection driven evolution. 

%prep
%setup -q -n %{name}

%build
%if 0%{?fedora_version}
source /etc/profile.d/qt.sh
%endif
%if 0%{?mandriva_version}
export QTDIR=%{_prefix}/lib/qt3
export PATH=$QTDIR/bin:$PATH  
%endif
%if 0%{?suse_version}
export QTDIR=/usr/%{_lib}/qt3
export PATH=$QTDIR/bin:$PATH  
%endif
./configure
make

%install
# make install
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -s -m 755 evolvotron/evolvotron $RPM_BUILD_ROOT/usr/bin

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/usr/bin/evolvotron
%doc README USAGE CHANGES

%changelog
* Fri Mar 28 2008 Karl Robillard <wickedsmoke@users.sf.net>
  - Initial package release.