]> git.pld-linux.org Git - packages/boinc.git/blob - boinc.spec
- adapterized (killed trailing spaces/tabs)
[packages/boinc.git] / boinc.spec
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):    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} amd64
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
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):    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
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 amd64
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 #%{__make} \
100 #       CFLAGS="%{rpmcflags}" \
101 #       LDFLAGS="%{rpmldflags}"
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 #%%install
110 #rm -rf $RPM_BUILD_ROOT
111 #install -d $RPM_BUILD_ROOT%{_bindir}
112
113 #install boinc $RPM_BUILD_ROOT%{_bindir}
114
115 %clean
116 rm -rf $RPM_BUILD_ROOT
117
118 %files
119 %defattr(644,root,root,755)
120 %doc doc/
121 %attr(755,root,root) %{_bindir}/*
This page took 0.074466 seconds and 3 git commands to generate.