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