SPECS: boinc.spec - started packaging real boinc applications - NF...

tommat tommat at pld-linux.org
Tue Feb 14 00:16:28 CET 2006


Author: tommat                       Date: Mon Feb 13 23:16:28 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- started packaging real boinc applications
- NFY, not building

---- Files affected:
SPECS:
   boinc.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/boinc.spec
diff -u SPECS/boinc.spec:1.10 SPECS/boinc.spec:1.11
--- SPECS/boinc.spec:1.10	Mon Oct 24 19:13:31 2005
+++ SPECS/boinc.spec	Tue Feb 14 00:16:22 2006
@@ -1,41 +1,96 @@
 # $Revision$, $Date$
-Summary:	boinc - a bash script used to manage boinc client
-Summary(pl):	boinc - napisany w bashu skrypt do zarządzania 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
 Name:		boinc
-Version:	1.10
+Version:	5.3.19
 Release:	0.1
 License:	GPL
 Group:		Applications
-Source0:	http://phileimer.9online.fr/%{name}-%{version}.tar.bz2
-# Source0-md5:	85907bd0b9b3527ee90ee73ad2d4ea8d
-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:	glut-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	curl-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.
+
+
+%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
 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
 Network Computing).
 
 %prep
 %setup -q
-%patch0 -p0
+%patch0 -p1
+mv clientgui/BOINCDial{u,U}pManager.h
+
+%build
+#%%{__gettextize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+cp -f /usr/share/automake/config.sub .
+%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}
+# create directories if necessary
+#install -d $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+#%%install
+#rm -rf $RPM_BUILD_ROOT
+#install -d $RPM_BUILD_ROOT%{_bindir}
 
-install boinc $RPM_BUILD_ROOT%{_bindir}
+#install boinc $RPM_BUILD_ROOT%{_bindir}
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+#rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
@@ -48,6 +103,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2006/02/13 23:16:22  tommat
+- started packaging real boinc applications
+- NFY, not building
+
 Revision 1.10  2005/10/24 17:13:31  paszczus
 - updated  to 1.10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/boinc.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list