]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - check for BR-s | |
3 | # - check configure options | |
4 | # - create devel and static subpackages | |
5 | # - package boinc script into separate package | |
6 | # - package BOINC server in separate package | |
7 | # - build files section | |
8 | # - maybe BOINC.spec | |
9 | # - find out license | |
10 | # - fix linking for amd64 arch | |
11 | # - wxGTK2-devel or wxGTK2-unicode-devel or wxGTK2-univ-devel or wxGTK2-univ-unicode-devel ?? | |
12 | ||
13 | Summary: BOINC - Berkeley Open Infrastructure for Network Computing | |
14 | Summary(pl.UTF-8): BOINC - otwarta infrastruktura Berkeley do obliczeń sieciowych | |
15 | Name: boinc | |
16 | Version: 5.3.22 | |
17 | Release: 0.2 | |
18 | License: GPL | |
19 | Group: Applications | |
20 | # Source generated from: | |
21 | # cvs -d :pserver:anonymous:@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout -r boinc_core_release_5_3_22 boinc | |
22 | Source0: %{name}-%{version}.tar.gz | |
23 | # Source0-md5: c2a9af4f22e37b5a44a3ca45aa7eb843 | |
24 | Source1: http://phileimer.9online.fr/%{name}-1.10.tar.bz2 | |
25 | # Source1-md5: 85907bd0b9b3527ee90ee73ad2d4ea8d | |
26 | Patch0: %{name}-include.patch | |
27 | Patch1: %{name}-Makefile.am.patch | |
28 | Patch2: %{name}-platform.patch | |
29 | #Patch for boinc script not used for now don't delete | |
30 | #Patch2: %{name}-path.patch | |
31 | URL: http://boinc.berkeley.edu/ | |
32 | # URL for boinc script | |
33 | #URL: http://phileimer.9online.fr/ | |
34 | BuildRequires: autoconf | |
35 | BuildRequires: automake | |
36 | BuildRequires: curl-devel | |
37 | BuildRequires: glut-devel | |
38 | BuildRequires: libjpeg-devel | |
39 | BuildRequires: libstdc++-devel | |
40 | BuildRequires: libtool | |
41 | BuildRequires: mysql-devel | |
42 | BuildRequires: rpm-pythonprov | |
43 | BuildRequires: wxGTK2-devel | |
44 | BuildRequires: wxWidgets-devel | |
45 | ExclusiveArch: %{ix86} %{x8664} | |
46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
47 | ||
48 | %description | |
49 | BOINC is a software platform for distributed computing using | |
50 | volunteered computer resources. | |
51 | ||
52 | %description -l pl.UTF-8 | |
53 | BOINC (Berkeley Open Infrastructure for Network Computing) to | |
54 | platforma programowa do rozproszonych obliczeń przy użyciu zasobów | |
55 | komputerowych ochotników. | |
56 | ||
57 | %package script | |
58 | Summary: boinc - a bash script used to manage boinc client | |
59 | Summary(pl.UTF-8): boinc - napisany w bashu skrypt do zarządzania klientem boinc | |
60 | Group: Applications | |
61 | URL: http://phileimer.9online.fr/ | |
62 | ||
63 | %description script | |
64 | boinc is a bash script for Unix like systems used to manage client of | |
65 | the BOINC project (Berkeley Open Infrastructure for Network | |
66 | Computing). | |
67 | ||
68 | %description script -l pl.UTF-8 | |
69 | boinc to napisany w bashu skrypt dla systemów uniksowych służący do | |
70 | zarządzania klientem projektu BOINC (Berkeley Open Infrastructure for | |
71 | Network Computing). | |
72 | ||
73 | %prep | |
74 | %setup -q | |
75 | %patch0 -p1 | |
76 | %patch1 -p1 | |
77 | %patch2 -p1 | |
78 | mv clientgui/BOINCDial{u,U}pManager.h | |
79 | mv clientgui/BOINCDial{u,U}pManager.cpp | |
80 | ||
81 | %build | |
82 | %{__libtoolize} | |
83 | %{__aclocal} -I m4 | |
84 | %{__autoconf} | |
85 | %{__autoheader} | |
86 | %{__automake} | |
87 | %configure \ | |
88 | %ifarch %{x8664} | |
89 | --with-boinc-platform=i686-pc-linux-gnu \ | |
90 | %endif | |
91 | --enable-static \ | |
92 | --enable-shared \ | |
93 | --with-x \ | |
94 | --with-ssl \ | |
95 | --with-wx-config=/usr/bin/wx-gtk2-ansi-config | |
96 | ||
97 | %{__make} | |
98 | ||
99 | %install | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %{__make} install \ | |
103 | DESTDIR=$RPM_BUILD_ROOT | |
104 | ||
105 | %clean | |
106 | rm -rf $RPM_BUILD_ROOT | |
107 | ||
108 | %files | |
109 | %defattr(644,root,root,755) | |
110 | %doc doc/ | |
111 | %attr(755,root,root) %{_bindir}/* |