]> git.pld-linux.org Git - SPECS.git/blob - sphereEversion.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / sphereEversion.spec
1 Summary:        Sphere undergoing the Thurston eversion
2 Summary(pl.UTF-8):      Sfera podlegająca wynicowaniu Thurstona
3 Name:           sphereEversion
4 Version:        0.3.6
5 Release:        1
6 License:        unknown
7 Group:          X11/Applications/Graphics
8 Source0:        http://downloads.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.bz2
9 # Source0-md5:  f58b1235d2828d7f53244d48716876a7
10 URL:            http://www.dgp.toronto.edu/~mjmcguff/eversion/
11 BuildRequires:  OpenGL-devel
12 BuildRequires:  libstdc++-devel
13 BuildRequires:  xorg-lib-libX11-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This program displays a sphere undergoing the Thurston eversion.
18
19 %description -l pl.UTF-8
20 Ten program wyświetla sferę podlegająca wynicowaniu Thurstona.
21
22 %prep
23 %setup -q
24
25 %build
26 %{__make} \
27         CCXX="%{__cxx}" \
28         CFLAGS="%{rpmcxxflags} %{rpmcppflags}" \
29         LIBS="%{rpmldflags} -lGL -lX11 -lm"
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
34
35 install sphereEversion $RPM_BUILD_ROOT%{_bindir}
36 cp -p sphere_eversion.desktop $RPM_BUILD_ROOT%{_desktopdir}
37 cp -p sphere_eversion.png $RPM_BUILD_ROOT%{_pixmapsdir}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc readme.txt
45 %attr(755,root,root) %{_bindir}/sphereEversion
46 %{_desktopdir}/sphere_eversion.desktop
47 %{_pixmapsdir}/sphere_eversion.png
This page took 0.578361 seconds and 3 git commands to generate.