boinc/boinc.spec

173 lines
5.0 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: boinc
Version: 8.0.1
Release: 1mamba
Summary: Open-source software for volunteer computing and grid computing
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://boinc.berkeley.edu/
Source: https://github.com/BOINC/boinc.git/client_release%2F%{majver}%2F%{version}/boinc-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libXScrnSaver-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libcairo-devel
BuildRequires: libcurl-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libjpeg-devel
BuildRequires: libnotify-devel
BuildRequires: libnsl-devel
BuildRequires: libopenssl-devel
BuildRequires: libpango-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libz-devel
BuildRequires: wxwidgets-devel
BuildRequires: wxwidgets-gtk3-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: boinc-v2 < 7.24.2
%description
Open-source software for volunteer computing and grid computing.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Obsoletes: libboinc-v2 < 7.24.2
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: libboinc-v2-devel < 7.24.2
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#-D -T
#:<< _EOF
./_autosetup
%build
#:<< _EOF
%configure \
--disable-server
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang BOINC-Client
%find_lang BOINC-Manager
cat BOINC-Client.lang BOINC-Manager.lang > %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/init.d/boinc-client
%config(noreplace) %{_sysconfdir}/sysconfig/boinc-client
%{_bindir}/*
%{_unitdir}/boinc-client.service
%{_datadir}/applications/boinc.desktop
%dir %{_datadir}/boinc-manager
%{_datadir}/boinc-manager/*
#%dir %{_datadir}/boinc-server-maker
#%{_datadir}/boinc-server-maker/*
%{_datadir}/icons/hicolor/64x64/apps/boinc.png
%{_datadir}/icons/hicolor/scalable/apps/boinc.svg
#%dir %{python3_sitelib}/Boinc
#%{python3_sitelib}/Boinc/*
#%{python3_sitelib}/boinc_path_config.py*
#%{python3_sitelib}/Boinc-*-py*.egg-info
#%{python3_sitelib}/__pycache__/boinc_path_config.cpython*.pyc
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libboinc_api.so.*
#%{_libdir}/libboinc_fcgi.so.*
%{_libdir}/libboinc_graphics2.so.*
%{_libdir}/libboinc_opencl.so.*
#%{_libdir}/libboinc_zip.so.*
#%{_libdir}/libsched.so.*
#%{_libdir}/libsched_fcgi.so.*
#%dir %{_libexecdir}/boinc-apps-examples
#%{_libexecdir}/boinc-apps-examples/*
#%dir %{_libexecdir}/boinc-server-maker
#%{_libexecdir}/boinc-server-maker/*
%doc COPYING.LESSER
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/boinc
%{_includedir}/boinc/*
%{_libdir}/libboinc.a
%{_libdir}/libboinc_api.a
%{_libdir}/libboinc_api.so
%{_libdir}/libboinc_crypt.a
#%{_libdir}/libboinc_fcgi.a
#%{_libdir}/libboinc_fcgi.so
%{_libdir}/libboinc_graphics2.a
%{_libdir}/libboinc_graphics2.so
%{_libdir}/libboinc_opencl.a
%{_libdir}/libboinc_opencl.so
#%{_libdir}/libboinc_zip.a
#%{_libdir}/libboinc_zip.so
#%{_libdir}/libsched.a
#%{_libdir}/libsched.so
#%{_libdir}/libsched_fcgi.a
#%{_libdir}/libsched_fcgi.so
%{_libdir}/pkgconfig/libboinc.pc
%{_libdir}/pkgconfig/libboinc_api.pc
%{_libdir}/pkgconfig/libboinc_crypt.pc
#%{_libdir}/pkgconfig/libboinc_fcgi.pc
%{_libdir}/pkgconfig/libboinc_graphics2.pc
%{_libdir}/pkgconfig/libboinc_opencl.pc
#%{_libdir}/pkgconfig/libboinc_zip.pc
%changelog
* Mon Apr 01 2024 Automatic Build System <autodist@openmamba.org> 8.0.1-1mamba
- automatic version update by autodist
* Wed Mar 20 2024 Automatic Build System <autodist@openmamba.org> 8.0.0-1mamba
- automatic version update by autodist
* Tue Jan 30 2024 Automatic Build System <autodist@openmamba.org> 7.24.3-1mamba
- automatic version update by autodist
* Thu Nov 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.24.2-1mamba
- update to 7.24.2
* Sat May 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.65-2mamba
- python 2.7 mass rebuild
* Sun May 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.65-1mamba
- package created by silvan using the webbuild interface