X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=boinc.spec;h=2133f8424df9f73ad5a1c285bdae9d0060f87817;hb=ae0a431c82f3f89c72dfa9cd845fe7b0e708606b;hp=92f41ccab3f036153cf0a0c45880a55cbeea62af;hpb=a0e13cb45a0d4292520565cacce824d43568b3e7;p=packages%2Fboinc.git diff --git a/boinc.spec b/boinc.spec index 92f41cc..2133f84 100644 --- a/boinc.spec +++ b/boinc.spec @@ -1,39 +1,92 @@ -Summary: boinc - a bash script used to manage boinc client -Summary(pl): boinc - napisany w bashu skrypt do zarz±dzanie klientem boinc +# TODO: +# - check for BR-s +# - check configure options +# - create devel and static subpackages +# - package boinc script into separate package +# - build files section +# - maybe BOINC.spec +# - find out license + +Summary: BOINC - Berkeley Open Infrastructure for Network Computing +Summary(pl): BOINC - otwarta infrastruktura Berkeley do obliczeñ sieciowych Name: boinc -Version: 1.5 +Version: 5.3.19 Release: 0.1 License: GPL Group: Applications -Source0: http://phileimer.9online.fr/%{name}-%{version}.tar.bz2 -# Source0-md5: 24a148365107dae762cbf76bc4cac8b4 -# Source0-size: 12859 -Patch0: %{name}-path.patch +Source0: %{name}-%{version}.tar.gz +# Source0-md5: 96281927b4f4288db389d58fc548c83b +Source1: http://phileimer.9online.fr/%{name}-1.10.tar.bz2 +# Source1-md5: 85907bd0b9b3527ee90ee73ad2d4ea8d +Patch0: %{name}-include.patch +Patch1: %{name}-path.patch URL: http://phileimer.9online.fr/ -Requires: setiathome -BuildArch: noarch +BuildRequires: curl-devel +BuildRequires: glut-devel +BuildRequires: libstdc++-devel +BuildRequires: wxWidgets-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description +BOINC is a software platform for distributed computing using +volunteered computer resources. + +%description -l pl +BOINC (Berkeley Open Infrastructure for Network Computing) to +platforma programowa do rozproszonych obliczeñ przy u¿yciu zasobów +komputerowych ochotników. + +%package script +Summary: boinc - a bash script used to manage boinc client +Summary(pl): boinc - napisany w bashu skrypt do zarz±dzania klientem boinc +Group: Applications +URL: http://phileimer.9online.fr/ + +%description script boinc is a bash script for unix like systems used to manage client of -the boinc project (Berkeley Open Infrastructure for Network +the BOINC project (Berkeley Open Infrastructure for Network Computing). -%description -l pl +%description script -l pl boinc to napisany w bashu skrypt dla systemów uniksowych s³u¿±cy do -zarz±dzania klientem projektu boinc (Berkeley Open Infrastructure for +zarz±dzania klientem projektu BOINC (Berkeley Open Infrastructure for Network Computing). %prep %setup -q -%patch0 -p0 +%patch0 -p1 +mv clientgui/BOINCDial{u,U}pManager.h + +%build +%{__libtoolize} +%{__aclocal} -I m4 +%{__autoconf} +%{__autoheader} +%{__automake} +%configure \ + --enable-static \ + --enable-shared \ + --with-x \ + --with-ssl \ + --with-wx-config=/usr/bin/wx-gtk2-ansi-config + +%{__make} + +#%{__make} \ +# CFLAGS="%{rpmcflags}" \ +# LDFLAGS="%{rpmldflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_bindir} -install -d $RPM_BUILD_ROOT%{_datadir}/boinc -install boinc $RPM_BUILD_ROOT%{_bindir} +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +#%%install +#rm -rf $RPM_BUILD_ROOT +#install -d $RPM_BUILD_ROOT%{_bindir} + +#install boinc $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT @@ -42,4 +95,3 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc CHANGES README %attr(755,root,root) %{_bindir}/* -%{_datadir}/boinc