]> git.pld-linux.org Git - SPECS.git/blob - techne.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / techne.spec
1 #
2 # TODO: pl
3 #
4 Summary:        Programmable physical simulator and renderer
5 Name:           techne
6 Version:        0.2.3
7 Release:        1
8 License:        GPL v3+
9 Group:          Applications
10 Source0:        http://mirror.lihnidos.org/GNU/savannah/techne/%{name}-%{version}.tar.gz
11 # Source0-md5:  9fbe50271929fa2aad7235baf9df93a9
12 Patch0:         %{name}-bin.patch
13 URL:            http://savannah.nongnu.org/projects/techne/
14 BuildRequires:  ImageMagick-devel
15 BuildRequires:  OpenAL-devel
16 BuildRequires:  OpenGL-GLU-devel
17 BuildRequires:  OpenGL-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gcc-objc
21 BuildRequires:  gtk+2-devel
22 BuildRequires:  gtk-webkit-devel
23 BuildRequires:  gtkglext-devel
24 BuildRequires:  libgomp-devel
25 BuildRequires:  libmicrohttpd-devel
26 BuildRequires:  lua51
27 BuildRequires:  lua51-devel
28 BuildRequires:  ode-devel
29 BuildRequires:  pkgconfig
30 BuildRequires:  plplot-devel
31 BuildRequires:  sed >= 4.0
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Techne is a general purpose, programmable physical simulator and
36 renderer. It reads in a set of scripts wherein every aspect of a
37 physical system is specified and then proceeds to simulate and render
38 the system onscreen. This is the general idea. The main goal is to
39 decouple computer programming, in its involved low-level form at
40 least, from digital art creation, shifting effort away from worrying
41 about graphics library quirks and memory allocation and towards
42 understanding and modeling the physical and aesthetic aspects of a
43 given system.
44
45 %prep
46 %setup -q
47 %patch0 -p1
48 %{__sed} -i 's/\[lua5.1\]/\[lua51\]/' configure.ac
49
50 %build
51 %{__aclocal}
52 %{__autoconf}
53 %{__automake}
54 %configure
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 cp -a src/techne.bin $RPM_BUILD_ROOT%{_bindir}
64 cp -a src/browser.bin $RPM_BUILD_ROOT%{_bindir}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS README
72 %attr(755,root,root) %{_bindir}/techne.bin
73 %attr(755,root,root) %{_bindir}/techne
74 %attr(755,root,root) %{_bindir}/techne-browser
75 %attr(755,root,root) %{_bindir}/browser.bin
76 %{_datadir}/%{name}
77 %dir %{_libdir}/%{name}
78 %{_libdir}/%{name}/*.so
79 %{_mandir}/man1/*.1*
This page took 0.778979 seconds and 3 git commands to generate.