mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 15:09:33 -05:00
Update open build service recipes
This commit is contained in:
parent
a96310d45e
commit
3f2a1d52c2
@ -1,30 +0,0 @@
|
||||
app: retroshare-service
|
||||
|
||||
build:
|
||||
packages:
|
||||
- gcc7
|
||||
- gcc7-c++
|
||||
- libxapian-devel
|
||||
- doxygen
|
||||
- linuxdeployqt
|
||||
- desktop-file-utils
|
||||
- glib2-devel
|
||||
- sqlcipher-devel
|
||||
- libqt5-qtbase-devel
|
||||
- libqt5-qttools-devel
|
||||
- openssl-devel
|
||||
- update-desktop-files
|
||||
- libbz2-devel
|
||||
- libupnp-devel
|
||||
|
||||
script:
|
||||
- cd $BUILD_SOURCE_DIR
|
||||
- tar -xf RetroShare-git.tar.gz
|
||||
- cd RetroShare-git
|
||||
- ls $(which gcc)*
|
||||
- ls $(which g++)*
|
||||
- qmake-qt5 QMAKE_CC=gcc-7 QMAKE_CXX=g++-7 PREFIX=/usr CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_nogui CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_qml_app CONFIG+=no_retroshare_android_notify_service CONFIG+=no_retroshare_plugins CONFIG+=ipv6 CONFIG+=no_retroshare_nogui CONFIG+=no_tests CONFIG+=rs_jsonapi CONFIG+=no_retroshare_android_service CONFIG+=rs_deep_search CONFIG+=no_libresapilocalserver CONFIG+=no_retroshare_gui CONFIG+=no_libresapihttpserver CONFIG+=retroshare_service CONFIG+=no_libresapi CONFIG+=c++11 CONFIG+=appimage
|
||||
- make -j$(nproc) || make -j$(nproc) || make
|
||||
- make INSTALL_ROOT=$BUILD_APPDIR install
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=3 -no-strip
|
@ -1,5 +0,0 @@
|
||||
retroshare-service-git (0.6.9999) stable; urgency=low
|
||||
|
||||
Add retroshare-service-git package
|
||||
|
||||
-- Gioacchino Mazzurco <gio@eigenlab.org> Tue, 08 Oct 2018 15:40:00 +0100
|
2
build_scripts/OBS/.gitignore
vendored
Normal file
2
build_scripts/OBS/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
network\:retroshare/*/*.tar.*
|
||||
network\:retroshare/*/.osc/*
|
1
build_scripts/OBS/network:retroshare/.osc/_apiurl
Normal file
1
build_scripts/OBS/network:retroshare/.osc/_apiurl
Normal file
@ -0,0 +1 @@
|
||||
https://api.opensuse.org
|
11
build_scripts/OBS/network:retroshare/.osc/_packages
Normal file
11
build_scripts/OBS/network:retroshare/.osc/_packages
Normal file
@ -0,0 +1,11 @@
|
||||
<project name="network:retroshare">
|
||||
<package name="libupnp_centos" state=" " />
|
||||
<package name="retroshare-gui-0.6.4" state=" " />
|
||||
<package name="retroshare-gui-0.6.5" state=" " />
|
||||
<package name="retroshare-gui-unstable" state=" " />
|
||||
<package name="retroshare-service-0.6.5" state=" " />
|
||||
<package name="retroshare-service-unstable" state=" " />
|
||||
<package name="sqlcipher_centos" state=" " />
|
||||
<package name="sqlcipher_debian" state=" " />
|
||||
<package name="sqlcipher_debian9" state=" " />
|
||||
</project>
|
1
build_scripts/OBS/network:retroshare/.osc/_project
Normal file
1
build_scripts/OBS/network:retroshare/.osc/_project
Normal file
@ -0,0 +1 @@
|
||||
network:retroshare
|
@ -0,0 +1,7 @@
|
||||
<services>
|
||||
<service name="download_url">
|
||||
<param name="host">downloads.sourceforge.net</param>
|
||||
<param name="protocol">http</param>
|
||||
<param name="path">/project/pupnp/pupnp/libUPnP%201.6.19/libupnp-1.6.19.tar.bz2</param>
|
||||
</service>
|
||||
</services>
|
185
build_scripts/OBS/network:retroshare/libupnp_centos/libupnp.spec
Normal file
185
build_scripts/OBS/network:retroshare/libupnp_centos/libupnp.spec
Normal file
@ -0,0 +1,185 @@
|
||||
Version: 1.6.19
|
||||
Summary: Universal Plug and Play (UPnP) SDK
|
||||
Name: libupnp
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.libupnp.org/
|
||||
Source: http://downloads.sourceforge.net/pupnp/%{name}-%{version}.tar.bz2
|
||||
|
||||
%define docdeveldir %{_docdir}/%{name}-devel-%{version}
|
||||
%define docdir %{_docdir}/%{name}-%{version}
|
||||
|
||||
%description
|
||||
The Universal Plug and Play (UPnP) SDK for Linux provides
|
||||
support for building UPnP-compliant control points, devices,
|
||||
and bridges on Linux.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Include files needed for development with libupnp
|
||||
Requires: libupnp = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The libupnp-devel package contains the files necessary for development with
|
||||
the UPnP SDK libraries.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --enable-static=no --enable-ipv6
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
%{__rm} %{buildroot}%{_libdir}/{libixml.la,libthreadutil.la,libupnp.la}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc LICENSE THANKS
|
||||
%{_libdir}/libixml.so.2*
|
||||
%{_libdir}/libthreadutil.so.6*
|
||||
%{_libdir}/libupnp.so.6*
|
||||
|
||||
%files devel
|
||||
%defattr(0644,root,root,0755)
|
||||
#doc _devel_docs/*
|
||||
%{_includedir}/upnp/
|
||||
%{_libdir}/libixml.so
|
||||
%{_libdir}/libthreadutil.so
|
||||
%{_libdir}/libupnp.so
|
||||
%{_libdir}/pkgconfig/libupnp.pc
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.19-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Mon Dec 09 2013 Adam Jackson <ajax@redhat.com> 1.6.19-1
|
||||
- libupnp 1.6.19
|
||||
- Build with --enable-ipv6 (#917210)
|
||||
|
||||
* Sun Oct 27 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.6.18-4
|
||||
- Adapt to possibly unversioned doc dirs.
|
||||
- Include LICENSE and THANKS in main package.
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.18-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Tue Jan 29 2013 Adam Jackson <ajax@redhat.com> 1.6.18-1
|
||||
- libupnp 1.6.18 (#905577)
|
||||
|
||||
* Tue Oct 16 2012 Adam Jackson <ajax@redhat.com> 1.6.17-1
|
||||
- libupnp 1.6.17
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.13-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.13-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Sat Jul 30 2011 Matěj Cepl <mcepl@redhat.com> - 1.6.13-2
|
||||
- Rebuilt against new libraries.
|
||||
|
||||
* Tue May 31 2011 Adam Jackson <ajax@redhat.com> 1.6.13-1
|
||||
- libupnp 1.6.13
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Thu May 01 2008 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.6-1
|
||||
- Update to version 1.6.6
|
||||
|
||||
* Sun Feb 03 2008 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.5-1
|
||||
- Update to version 1.6.5
|
||||
|
||||
* Sun Jan 27 2008 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.4-1
|
||||
- Update to version 1.6.4
|
||||
|
||||
* Fri Jan 04 2008 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.3-3
|
||||
- No more building static library
|
||||
|
||||
* Sun Dec 30 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.3-2
|
||||
- Spec file cleanup
|
||||
|
||||
* Sun Dec 30 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.3-1
|
||||
- Update to version 1.6.3
|
||||
|
||||
* Thu Dec 13 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.2-1
|
||||
- Update to version 1.6.2
|
||||
|
||||
* Sun Nov 18 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.1-1
|
||||
- Update to version 1.6.1
|
||||
|
||||
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.6.0-2
|
||||
- Rebuild for selinux ppc32 issue.
|
||||
|
||||
* Wed Jun 13 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.6.0-1
|
||||
- Update to version 1.6.0
|
||||
|
||||
* Tue May 01 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.6-1
|
||||
- Update to version 1.4.6
|
||||
|
||||
* Sat Apr 21 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.4-1
|
||||
- Update to version 1.4.4
|
||||
|
||||
* Tue Mar 06 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.3-1
|
||||
- Update to version 1.4.3
|
||||
|
||||
* Fri Feb 02 2007 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.2-1
|
||||
- Update to version 1.4.2
|
||||
|
||||
* Wed Jul 05 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.1-1
|
||||
- Update to version 1.4.1
|
||||
|
||||
* Fri Jun 23 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.0-3
|
||||
- modified patch for x86_64 arch
|
||||
|
||||
* Fri Jun 23 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.0-2
|
||||
- Add a patch for x86_64 arch
|
||||
|
||||
* Sun Jun 11 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.4.0-1
|
||||
- Update to 1.4.0
|
||||
|
||||
* Sun Mar 05 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.3.1-1
|
||||
- Update to 1.3.1
|
||||
|
||||
* Tue Feb 14 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.2.1a-6
|
||||
- Rebuild for FC5
|
||||
|
||||
* Fri Feb 10 2006 Eric Tanguy <eric.tanguy@univ-nantes.fr> - 1.2.1a-5
|
||||
- Rebuild for FC5
|
||||
|
||||
* Mon Jan 9 2006 Eric Tanguy 1.2.1a-4
|
||||
- Include libupnp.so symlink in package to take care of non versioning of libupnp.so.1.2.1
|
||||
|
||||
* Sun Jan 8 2006 Paul Howarth 1.2.1a-3
|
||||
- Disable stripping of object code for sane debuginfo generation
|
||||
- Edit makefiles to hnnor RPM optflags
|
||||
- Install libraries in %%{_libdir} rather than hardcoded /usr/lib
|
||||
- Fix libupnp.so symlink
|
||||
- Own directory %%{_includedir}/upnp
|
||||
- Fix permissions in -devel package
|
||||
|
||||
* Fri Jan 06 2006 Eric Tanguy 1.2.1a-2
|
||||
- Use 'install -p' to preserve timestamps
|
||||
- Devel now require full version-release of main package
|
||||
|
||||
* Thu Dec 22 2005 Eric Tanguy 1.2.1a-1
|
||||
- Modify spec file from
|
||||
http://rpm.pbone.net/index.php3/stat/4/idpl/2378737/com/libupnp-1.2.1a_DSM320-3.i386.rpm.html
|
@ -0,0 +1,39 @@
|
||||
# Maintainer: Gioacchino Mazzurco <gio@eigenlab.org>
|
||||
# Contributor: AsamK
|
||||
# Contributor: sehraf
|
||||
# Contributor: stqn
|
||||
# Contributor: JHeaton <jheaton at archlinux dot us>
|
||||
# Contributor: Tristero <tristero at online dot de>
|
||||
# Contributor: funkyou
|
||||
|
||||
pkgname=retroshare
|
||||
pkgver=0.6.4
|
||||
pkgrel=0
|
||||
pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail."
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
url="https://retroshare.net/"
|
||||
license=('AGPL' 'GPL' 'LGPL')
|
||||
depends=('gtk-update-icon-cache' 'desktop-file-utils' 'qt5-x11extras' 'qt5-multimedia' 'libupnp' 'libgnome-keyring' 'libxss' 'libmicrohttpd' 'sqlcipher' 'curl' 'libxslt')
|
||||
makedepends=('qt5-tools')
|
||||
provides=('retroshare')
|
||||
conflicts=('retroshare-git')
|
||||
|
||||
source=(RetroShare-${pkgver}.tar.gz)
|
||||
|
||||
md5sums=('392c36bb3171fa26b8702e0a984d5bd6')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/RetroShare-${pkgver}"
|
||||
sed -i '/VOIP \\/d' plugins/plugins.pro
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/RetroShare-${pkgver}"
|
||||
qmake-qt5 PREFIX=/usr DATA_DIR=/usr/share/retroshare "CONFIG-=debug" "CONFIG*=release" "CONFIG+=no_retroshare_plugins"
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/RetroShare-${pkgver}"
|
||||
make INSTALL_ROOT="${pkgdir}" install
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
<services>
|
||||
<service name="appimage"/>
|
||||
</services>
|
||||
|
@ -0,0 +1,32 @@
|
||||
app: retroshare-gui-0.6.4
|
||||
|
||||
build:
|
||||
packages:
|
||||
- linuxdeployqt
|
||||
- desktop-file-utils
|
||||
- glib2-devel
|
||||
- sqlcipher-devel
|
||||
- libmicrohttpd-devel
|
||||
- libqt5-qtbase-devel
|
||||
- libqt5-qtx11extras-devel
|
||||
- libqt5-qtmultimedia-devel
|
||||
- libqt5-qttools-devel
|
||||
- openssl-devel
|
||||
- libXScrnSaver-devel
|
||||
- update-desktop-files
|
||||
- libbz2-devel
|
||||
- libupnp-devel
|
||||
|
||||
script:
|
||||
- cd $BUILD_SOURCE_DIR
|
||||
- tar -xf RetroShare-0.6.4.tar.gz
|
||||
- cd RetroShare-0.6.4
|
||||
- sed -i 's/retroshare.xpm/retroshare/' data/retroshare.desktop
|
||||
- sed -i 's|/usr/bin/retroshare|retroshare|' data/retroshare.desktop
|
||||
- qmake-qt5 PREFIX=/usr CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_nogui CONFIG+=no_retroshare_plugins
|
||||
- make
|
||||
- make INSTALL_ROOT=$BUILD_APPDIR install
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -no-strip -bundle-non-qt-libs -verbose=3
|
||||
|
||||
# Adding -no-strip to linuxdeployqt may fix "no version information available" bug on raspbian see https://github.com/probonopd/linuxdeployqt/issues/313
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,29 @@
|
||||
Source: retroshare
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libbz2-dev, libsqlcipher-dev, libmicrohttpd-dev
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: http://retroshare.net
|
||||
|
||||
Package: retroshare-nogui
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Free and Open Source, private and secure decentralized
|
||||
communication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
This package provide a headless RetroShare node that can be controlled using
|
||||
the web interface or the JSON API.
|
||||
|
||||
Package: retroshare
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Open Source cross-platform, private and secure decentralised
|
||||
communication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
@ -0,0 +1,3 @@
|
||||
debian/tmp/usr/bin/retroshare-nogui
|
||||
debian/tmp/usr/share/retroshare/bdboot.txt
|
||||
debian/tmp/usr/share/retroshare/webui/*
|
@ -0,0 +1,6 @@
|
||||
debian/tmp/usr/bin/retroshare
|
||||
debian/tmp/usr/bin/retroshare-nogui
|
||||
debian/tmp/usr/share/applications/retroshare.desktop
|
||||
debian/tmp/usr/share/icons/hicolor/*
|
||||
debian/tmp/usr/share/pixmaps/retroshare.xpm
|
||||
debian/tmp/usr/share/retroshare/*
|
@ -0,0 +1,53 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
qmake-qt4 CONFIG-=debug CONFIG+=release PREFIX=/usr LIB_DIR=/usr/lib RetroShare.pro
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
$(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f configure-stamp build-stamp
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
#dh_installdirs
|
||||
$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_install --list-missing
|
||||
#dh_installdocs
|
||||
#dh_installexamples
|
||||
#dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
@ -0,0 +1,13 @@
|
||||
Format: 1.0
|
||||
Source: retroshare
|
||||
Binary: retroshare
|
||||
Architecture: any
|
||||
Version: 0.6.4
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Homepage: https://retroshare.net
|
||||
Standards-Version: 3.8.1
|
||||
Build-Depends: debhelper (>= 7), libglib2.0-dev, libupnp-dev, qt4-dev-tools, libqt4-dev, libssl-dev, libxss-dev, libgnome-keyring-dev, libbz2-dev, libspeex-dev, libspeexdsp-dev, libxslt1-dev, libsqlcipher-dev, libmicrohttpd-dev, libjpeg-dev
|
||||
Files:
|
||||
24d01e1ff2eff2e1a7477e175f14efd5 20021632 RetroShare-0.6.4.tar.gz
|
||||
|
||||
# libavcodec-dev, libavutil-dev
|
@ -0,0 +1,124 @@
|
||||
Name: retroshare
|
||||
Version: 0.6.4
|
||||
Release: 0
|
||||
License: GNU AFFERO GENERAL PUBLIC LICENSE version 3
|
||||
Summary: Secure chat and file sharing
|
||||
Group: Productivity/Networking/Other
|
||||
Url: http://retroshare.net
|
||||
Source0: https://github.com/RetroShare/RetroShare/archive/v%{version}.tar.gz#/RetroShare-%{version}.tar.gz
|
||||
#Patch0: various.patch
|
||||
BuildRoot: %{_tmppath}/%{name}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: glib2-devel sqlcipher-devel libmicrohttpd-devel
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%if 0%{?centos_version} == 600
|
||||
BuildRequires: gnome-keyring-devel
|
||||
%else
|
||||
BuildRequires: libgnome-keyring-devel
|
||||
%endif
|
||||
%if 0%{?centos_version} >= 800 || 0%{?suse_version} || 0%{?fedora_version}
|
||||
BuildRequires: fdupes
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: libqt5-qtbase-devel
|
||||
BuildRequires: libqt5-qtx11extras-devel
|
||||
BuildRequires: libqt5-qtmultimedia-devel
|
||||
BuildRequires: libqt5-qttools-devel
|
||||
%else
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: qt5-qtmultimedia-devel
|
||||
BuildRequires: qt5-qttools-devel
|
||||
BuildRequires: qt5-qttools-static
|
||||
%endif
|
||||
%else
|
||||
BuildRequires: libqt4-devel
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
BuildRequires: libxscrnsaver-devel
|
||||
%else
|
||||
BuildRequires: libXScrnSaver-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: update-desktop-files libbz2-devel
|
||||
%endif
|
||||
|
||||
BuildRequires: libupnp-devel
|
||||
Requires: openssl %name-nogui = %{version}
|
||||
Conflicts: retroshare-git
|
||||
|
||||
%if 0%{?fedora_version} >= 27
|
||||
%undefine _debugsource_packages
|
||||
%undefine _debuginfo_subpackages
|
||||
%endif
|
||||
|
||||
%description
|
||||
RetroShare is a cross-platform F2F communication platform.
|
||||
It lets you share securely with your friends, using PGP
|
||||
to authenticate peers and OpenSSL to encrypt all communication.
|
||||
RetroShare provides filesharing, chat, messages and channels.
|
||||
|
||||
Authors:
|
||||
see http://retroshare.net/
|
||||
--------
|
||||
|
||||
%package nogui
|
||||
Summary: RetroShare without gui
|
||||
Group: Productivity/Network/Other
|
||||
Requires: openssl
|
||||
|
||||
%description nogui
|
||||
retroshare-nogui comes without a user interface. It can be controlled via a webui.
|
||||
|
||||
%prep
|
||||
%setup -n RetroShare-%{version}
|
||||
#%patch0 -p0
|
||||
|
||||
%build
|
||||
%if 0%{?centos_version} >= 800 || 0%{?suse_version} || 0%{?fedora_version}
|
||||
QMAKE="qmake-qt5"
|
||||
%else
|
||||
QMAKE="qmake-qt4"
|
||||
%endif
|
||||
|
||||
$QMAKE CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_plugins QMAKE_STRIP=echo PREFIX="%{_prefix}" BIN_DIR="%{_bindir}" LIB_DIR="%{_libdir}" DATA_DIR="%{_datadir}/retroshare" RetroShare.pro
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make INSTALL_ROOT=$RPM_BUILD_ROOT install
|
||||
|
||||
%if 0%{?centos_version} < 800
|
||||
%else
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
%endif
|
||||
|
||||
#menu
|
||||
%if 0%{?suse_version}
|
||||
%suse_update_desktop_file -n -i retroshare Network P2P
|
||||
%endif
|
||||
%if 0%{?fedora_version}
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/retroshare.desktop
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/retroshare
|
||||
%defattr(644, root, root)
|
||||
%{_datadir}/pixmaps/retroshare.xpm
|
||||
%{_datadir}/icons/hicolor/
|
||||
%{_datadir}/applications/retroshare.desktop
|
||||
|
||||
%files nogui
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/retroshare-nogui
|
||||
%defattr(644, root, root)
|
||||
%{_datadir}/retroshare
|
||||
|
||||
%changelog
|
@ -0,0 +1,48 @@
|
||||
# Maintainer: Gioacchino Mazzurco <gio@altermundi.net>
|
||||
# Contributor: AsamK
|
||||
# Contributor: sehraf
|
||||
# Contributor: stqn
|
||||
# Contributor: JHeaton <jheaton at archlinux dot us>
|
||||
# Contributor: Tristero <tristero at online dot de>
|
||||
# Contributor: funkyou
|
||||
|
||||
pkgname=retroshare
|
||||
pkgver=stable
|
||||
pkgrel=0
|
||||
pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail. System service version."
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
url="https://retroshare.cc/"
|
||||
license=('AGPL' 'GPL' 'LGPL')
|
||||
depends=('bzip2' 'libupnp' 'libxss' 'libzip' 'openssl' 'qt5-multimedia' 'qt5-x11extras' 'rapidjson' 'sqlcipher' 'xapian-core')
|
||||
makedepends=('cmake' 'doxygen' 'pkgconf' 'qt5-tools')
|
||||
provides=('retroshare')
|
||||
conflicts=('retroshare-gui-unstable')
|
||||
|
||||
source=(RetroShare.tar.gz)
|
||||
|
||||
md5sums=('45a438fb9a862542cc651c6f5ff28fac')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
qmake-qt5 PREFIX=/usr DATA_DIR=/usr/share/retroshare \
|
||||
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 \
|
||||
RS_EXTRA_VERSION="-retroshare-gui-OBS-Arch" \
|
||||
CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=no_retroshare_service CONFIG+=rs_jsonapi CONFIG+=rs_deep_search \
|
||||
CONFIG+=release
|
||||
make -j$(nproc) || make -j$(nproc) || make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
make INSTALL_ROOT="${pkgdir}" install
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
app: retroshare-gui
|
||||
|
||||
build:
|
||||
packages:
|
||||
- desktop-file-utils
|
||||
- doxygen
|
||||
- gcc5
|
||||
- gcc5-c++
|
||||
- glib2-devel
|
||||
- libbz2-devel
|
||||
- libqt5-qtbase-devel
|
||||
- libqt5-qtmultimedia-devel
|
||||
- libqt5-qttools-devel
|
||||
- libqt5-qtsvg-devel
|
||||
- libqt5-qtx11extras-devel
|
||||
- libupnp-devel
|
||||
- libxapian-devel
|
||||
- libXScrnSaver-devel
|
||||
- linuxdeployqt
|
||||
- openssl-devel
|
||||
- sqlcipher-devel
|
||||
- update-desktop-files
|
||||
|
||||
script:
|
||||
- cd $BUILD_SOURCE_DIR
|
||||
- tar -xf RetroShare.tar.gz
|
||||
- cd RetroShare
|
||||
- gcc --version
|
||||
- ls $(which gcc)*
|
||||
- ls $(which g++)*
|
||||
- sed -i 's/retroshare.xpm/retroshare/' data/retroshare.desktop
|
||||
- sed -i 's|/usr/bin/retroshare|retroshare|' data/retroshare.desktop
|
||||
- qmake-qt5 QMAKE_CC=gcc-5 QMAKE_CXX=g++-5 PREFIX=/usr RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 RS_EXTRA_VERSION="-retroshare-gui-OBS-AppImage" CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_nogui CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_qml_app CONFIG+=no_retroshare_android_notify_service CONFIG+=no_retroshare_plugins CONFIG+=ipv6 CONFIG+=no_tests CONFIG+=rs_jsonapi CONFIG+=no_retroshare_android_service CONFIG+=rs_deep_search CONFIG+=no_libresapilocalserver CONFIG+=retroshare_gui CONFIG+=no_libresapihttpserver CONFIG+=no_retroshare_service CONFIG+=no_libresapi CONFIG+=c++11 CONFIG+=appimage
|
||||
- make -j$(nproc) || make -j$(nproc) || make
|
||||
- make INSTALL_ROOT=$BUILD_APPDIR install
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=3 -no-strip
|
@ -0,0 +1,5 @@
|
||||
retroshare (0.6.5) stable; urgency=low
|
||||
|
||||
Add retroshare 0.6.5 package
|
||||
|
||||
-- Gioacchino Mazzurco <gio@altermundi.net> Mon, 09 Feb 2019 16:56:00 +0100
|
@ -0,0 +1 @@
|
||||
7
|
@ -0,0 +1,17 @@
|
||||
Source: retroshare
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://retroshare.cc
|
||||
|
||||
Package: retroshare
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Free and Open Source, private and secure decentralized
|
||||
communication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
|
@ -0,0 +1,5 @@
|
||||
debian/tmp/usr/bin/retroshare
|
||||
debian/tmp/usr/share/applications/retroshare.desktop
|
||||
debian/tmp/usr/share/icons/hicolor/*
|
||||
debian/tmp/usr/share/pixmaps/retroshare.xpm
|
||||
debian/tmp/usr/share/retroshare/*
|
@ -0,0 +1,69 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
cat /etc/os-release
|
||||
qmake --version
|
||||
echo '. /etc/os-release' > /tmp/configJsonApi.sh
|
||||
echo '[ "$$VERSION_ID" != "8" ] &&' >> /tmp/configJsonApi.sh
|
||||
echo ' echo "CONFIG+=rs_jsonapi"' >> /tmp/configJsonApi.sh
|
||||
echo 'true' >> /tmp/configJsonApi.sh
|
||||
chmod +x /tmp/configJsonApi.sh
|
||||
qmake \
|
||||
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 \
|
||||
RS_EXTRA_VERSION="-retroshare-gui-OBS-deb" \
|
||||
CONFIG-=debug CONFIG+=release PREFIX=/usr LIB_DIR=/usr/lib \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=no_retroshare_service CONFIG+=rs_deep_search CONFIG+=c++11 \
|
||||
$$(/tmp/configJsonApi.sh) \
|
||||
RetroShare.pro
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
$(MAKE) -j$(shell nproc) || $(MAKE) -j$(shell nproc) || $(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f configure-stamp build-stamp
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
#dh_installdirs
|
||||
$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_install --list-missing
|
||||
#dh_installdocs
|
||||
#dh_installexamples
|
||||
#dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
@ -0,0 +1,11 @@
|
||||
Format: 1.0
|
||||
Source: retroshare
|
||||
Binary: retroshare
|
||||
Architecture: any
|
||||
Version: 0.6.5
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Homepage: https://retroshare.cc
|
||||
Standards-Version: 3.8.1
|
||||
Build-Depends: cmake, debhelper (>= 7), doxygen, libglib2.0-dev, libssl-dev, libbz2-dev, libqt5x11extras5-dev, libsqlcipher-dev, libupnp-dev, libxapian-dev, libxss-dev, qt5-default, qtbase5-dev, qtmultimedia5-dev, qttools5-dev
|
||||
Files:
|
||||
45a438fb9a862542cc651c6f5ff28fac 29377995 RetroShare.tar.gz
|
@ -0,0 +1,151 @@
|
||||
Name: retroshare
|
||||
Version: 0.6.5
|
||||
Release: 0
|
||||
License: AGPL-3.0-or-later
|
||||
Summary: Secure distributed chat, mail, forums, file sharing etc
|
||||
Group: Productivity/Networking/Other
|
||||
Url: https://retroshare.cc
|
||||
Source0: RetroShare.tar.gz
|
||||
#Patch0: various.patch
|
||||
BuildRoot: %{_tmppath}/%{name}
|
||||
Conflicts: retroshare-gui-unstable
|
||||
BuildRequires: cmake doxygen openssl-devel sqlcipher-devel
|
||||
|
||||
%if %{defined centos_version}
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
BuildRequires: qt5-qtmultimedia-devel qt5-qtx11extras-devel libXScrnSaver-devel
|
||||
BuildRequires: libupnp-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: fdupes xapian-core-devel libXScrnSaver-devel
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
BuildRequires: qt5-qtx11extras-devel qt5-qtmultimedia-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 29
|
||||
BuildRequires: miniupnpc-devel
|
||||
%else
|
||||
BuildRequires: libupnp-devel
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libzlib-devel libbzip2-devel
|
||||
BuildRequires: libqt5core-devel libqt5xml-devel libxapian-devel
|
||||
BuildRequires: libqt5x11extras-devel libxscrnsaver-devel libqt5multimedia-devel
|
||||
BuildRequires: libqt5designer-devel
|
||||
BuildRequires: libqt5gui-devel libqt5printsupport-devel
|
||||
BuildRequires: libupnp-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gcc7 gcc7-c++
|
||||
BuildRequires: fdupes libbz2-devel
|
||||
BuildRequires: libqt5-qtbase-devel libqt5-qttools-devel
|
||||
BuildRequires: libxapian-devel update-desktop-files
|
||||
BuildRequires: libqt5-qtx11extras-devel
|
||||
BuildRequires: libqt5-qtmultimedia-devel libXScrnSaver-devel
|
||||
BuildRequires: libminiupnpc-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 27
|
||||
%undefine _debugsource_packages
|
||||
%undefine _debuginfo_subpackages
|
||||
%endif
|
||||
|
||||
%description
|
||||
RetroShare is a cross-platform F2F communication platform.
|
||||
It lets you share securely with your friends, using PGP
|
||||
to authenticate peers and OpenSSL to encrypt all communication.
|
||||
RetroShare provides filesharing, chat, messages and channels.
|
||||
|
||||
Authors:
|
||||
see https://retroshare.cc/
|
||||
--------
|
||||
|
||||
%prep
|
||||
%setup -n RetroShare
|
||||
#%patch0 -p0
|
||||
|
||||
%build
|
||||
|
||||
nproc
|
||||
qmake --version || qmake-qt5 --version
|
||||
ls $(which gcc)*
|
||||
ls $(which g++)*
|
||||
|
||||
BUILD_CC=""
|
||||
BUILD_CXX=""
|
||||
BUILD_DEEPSEARCH="CONFIG+=rs_deep_search"
|
||||
BUILD_JSONAPI="CONFIG+=rs_jsonapi"
|
||||
QMAKE="qmake-qt5"
|
||||
|
||||
%if %{defined centos_version}
|
||||
# Xapian is not availabe on Centos 7
|
||||
BUILD_DEEPSEARCH="CONFIG+=no_rs_deep_search"
|
||||
BUILD_JSONAPI="CONFIG+=no_rs_jsonapi"
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
QMAKE="qmake"
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BUILD_CC="QMAKE_CC=gcc-7"
|
||||
BUILD_CXX="QMAKE_CXX=g++-7"
|
||||
RS_UPNP_LIB="RS_UPNP_LIB=miniupnpc"
|
||||
%endif
|
||||
|
||||
# On OpenSuse Tumbleweed and Factory ARM 64 bits seems cmake/restbed and
|
||||
# qmake/retroshare have PIE/PIC mismatch attempt to coherce restbed to be PIC
|
||||
# https://en.opensuse.org/Archive:How_to_detect_Tumbleweed
|
||||
%if 0%{?suse_version} == 1550 && ( (%{_arch} == "x86_64") || (%{_arch} == "aarch64") )
|
||||
RESTBED_CMAKE_FILE="supportlibs/restbed/CMakeLists.txt"
|
||||
echo 'set(CMAKE_POSITION_INDEPENDENT_CODE ON)' | \
|
||||
cat - $RESTBED_CMAKE_FILE > tmp_cmake && mv tmp_cmake $RESTBED_CMAKE_FILE
|
||||
cat $RESTBED_CMAKE_FILE
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 29
|
||||
RS_UPNP_LIB="RS_UPNP_LIB=miniupnpc"
|
||||
%endif
|
||||
|
||||
$QMAKE $BUILD_CC $BUILD_CXX QMAKE_STRIP=echo PREFIX="%{_prefix}" \
|
||||
BIN_DIR="%{_bindir}" LIB_DIR="%{_libdir}" ${QMAKE_NO_PIE} \
|
||||
DATA_DIR="%{_datadir}/retroshare" ${RS_UPNP_LIB} \
|
||||
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 \
|
||||
RS_EXTRA_VERSION="-retroshare-gui-OBS-rpm" \
|
||||
CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=no_retroshare_service ${BUILD_JSONAPI} ${BUILD_DEEPSEARCH} \
|
||||
CONFIG+=release RetroShare.pro
|
||||
make -j$(nproc) || make -j$(nproc) || make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make INSTALL_ROOT=$RPM_BUILD_ROOT install
|
||||
|
||||
%if 0%{?centos_version} < 800
|
||||
%else
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/retroshare
|
||||
%defattr(644, root, root)
|
||||
%{_datadir}/retroshare
|
||||
%{_datadir}/pixmaps/retroshare.xpm
|
||||
%{_datadir}/icons/hicolor/
|
||||
%{_datadir}/applications/retroshare.desktop
|
||||
|
||||
%changelog
|
@ -0,0 +1,47 @@
|
||||
# Maintainer: Gioacchino Mazzurco <gio@altermundi.net>
|
||||
# Contributor: AsamK
|
||||
# Contributor: sehraf
|
||||
# Contributor: stqn
|
||||
# Contributor: JHeaton <jheaton at archlinux dot us>
|
||||
# Contributor: Tristero <tristero at online dot de>
|
||||
# Contributor: funkyou
|
||||
|
||||
pkgname=retroshare-gui-unstable
|
||||
pkgver=unstable
|
||||
pkgrel=0
|
||||
pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail. System service version."
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
url="https://retroshare.cc/"
|
||||
license=('AGPL' 'GPL' 'LGPL')
|
||||
depends=('bzip2' 'libupnp' 'libxss' 'libzip' 'openssl' 'qt5-multimedia' 'qt5-x11extras' 'rapidjson' 'sqlcipher' 'xapian-core')
|
||||
makedepends=('cmake' 'doxygen' 'pkgconf' 'qt5-tools')
|
||||
provides=('retroshare')
|
||||
conflicts=('retroshare')
|
||||
|
||||
source=(RetroShare.tar.gz)
|
||||
|
||||
md5sums=('84ab98da5a5a005f4991846b89c481be')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
qmake-qt5 PREFIX=/usr DATA_DIR=/usr/share/retroshare \
|
||||
$(build_scripts/OBS/get_source_version.sh) RS_MINI_VERSION=9999 \
|
||||
CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=no_retroshare_service CONFIG+=rs_jsonapi CONFIG+=rs_deep_search \
|
||||
CONFIG+=release
|
||||
make -j$(nproc) || make -j$(nproc) || make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
make INSTALL_ROOT="${pkgdir}" install
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
app: retroshare-gui-unstable
|
||||
|
||||
build:
|
||||
packages:
|
||||
- desktop-file-utils
|
||||
- doxygen
|
||||
- gcc5
|
||||
- gcc5-c++
|
||||
- glib2-devel
|
||||
- libbz2-devel
|
||||
- libqt5-qtbase-devel
|
||||
- libqt5-qtmultimedia-devel
|
||||
- libqt5-qttools-devel
|
||||
- libqt5-qtsvg-devel
|
||||
- libqt5-qtx11extras-devel
|
||||
- libupnp-devel
|
||||
- libxapian-devel
|
||||
- libXScrnSaver-devel
|
||||
- linuxdeployqt
|
||||
- openssl-devel
|
||||
- sqlcipher-devel
|
||||
- update-desktop-files
|
||||
|
||||
script:
|
||||
- cd $BUILD_SOURCE_DIR
|
||||
- tar -xf RetroShare.tar.gz
|
||||
- cd RetroShare
|
||||
- gcc --version
|
||||
- ls $(which gcc)*
|
||||
- ls $(which g++)*
|
||||
- sed -i 's/retroshare.xpm/retroshare/' data/retroshare.desktop
|
||||
- sed -i 's|/usr/bin/retroshare|retroshare|' data/retroshare.desktop
|
||||
- qmake-qt5 QMAKE_CC=gcc-5 QMAKE_CXX=g++-5 PREFIX=/usr $(build_scripts/OBS/get_source_version.sh) RS_MINI_VERSION=9999 CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_nogui CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_qml_app CONFIG+=no_retroshare_android_notify_service CONFIG+=no_retroshare_plugins CONFIG+=ipv6 CONFIG+=no_tests CONFIG+=rs_jsonapi CONFIG+=no_retroshare_android_service CONFIG+=rs_deep_search CONFIG+=no_libresapilocalserver CONFIG+=retroshare_gui CONFIG+=no_libresapihttpserver CONFIG+=no_retroshare_service CONFIG+=no_libresapi CONFIG+=c++11 CONFIG+=appimage
|
||||
- make -j$(nproc) || make -j$(nproc) || make
|
||||
- make INSTALL_ROOT=$BUILD_APPDIR install
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=3 -no-strip
|
@ -0,0 +1,5 @@
|
||||
retroshare-gui-unstable (0.6.9999) stable; urgency=low
|
||||
|
||||
Add retroshare-gui-unstable package
|
||||
|
||||
-- Gioacchino Mazzurco <gio@altermundi.net> Mon, 04 Feb 2019 16:56:00 +0100
|
@ -0,0 +1 @@
|
||||
7
|
@ -0,0 +1,17 @@
|
||||
Source: retroshare-gui-unstable
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://retroshare.cc
|
||||
|
||||
Package: retroshare-gui-unstable
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Free and Open Source, private and secure decentralized
|
||||
communication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
|
@ -0,0 +1,5 @@
|
||||
debian/tmp/usr/bin/retroshare
|
||||
debian/tmp/usr/share/applications/retroshare.desktop
|
||||
debian/tmp/usr/share/icons/hicolor/*
|
||||
debian/tmp/usr/share/pixmaps/retroshare.xpm
|
||||
debian/tmp/usr/share/retroshare/*
|
@ -0,0 +1,68 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
cat /etc/os-release
|
||||
qmake --version
|
||||
echo '. /etc/os-release' > /tmp/configJsonApi.sh
|
||||
echo '[ "$$VERSION_ID" != "8" ] &&' >> /tmp/configJsonApi.sh
|
||||
echo ' echo "CONFIG+=rs_jsonapi"' >> /tmp/configJsonApi.sh
|
||||
echo 'true' >> /tmp/configJsonApi.sh
|
||||
chmod +x /tmp/configJsonApi.sh
|
||||
qmake \
|
||||
$$(build_scripts/OBS/get_source_version.sh) RS_MINI_VERSION=9999 \
|
||||
CONFIG-=debug CONFIG+=release PREFIX=/usr LIB_DIR=/usr/lib \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=no_retroshare_service CONFIG+=rs_deep_search CONFIG+=c++11 \
|
||||
$$(/tmp/configJsonApi.sh) \
|
||||
RetroShare.pro
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
$(MAKE) -j$(shell nproc) || $(MAKE) -j$(shell nproc) || $(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f configure-stamp build-stamp
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
#dh_installdirs
|
||||
$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_install --list-missing
|
||||
#dh_installdocs
|
||||
#dh_installexamples
|
||||
#dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
@ -0,0 +1,11 @@
|
||||
Format: 1.0
|
||||
Source: retroshare-gui-unstable
|
||||
Binary: retroshare-gui-unstable
|
||||
Architecture: any
|
||||
Version: 0.6.9999
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Homepage: https://retroshare.cc
|
||||
Standards-Version: 3.8.1
|
||||
Build-Depends: cmake, debhelper (>= 7), doxygen, libglib2.0-dev, libssl-dev, libbz2-dev, libqt5x11extras5-dev, libsqlcipher-dev, libupnp-dev, libxapian-dev, libxss-dev, qt5-default, qtbase5-dev, qtmultimedia5-dev, qttools5-dev
|
||||
Files:
|
||||
84ab98da5a5a005f4991846b89c481be 29377395 RetroShare.tar.gz
|
@ -0,0 +1,126 @@
|
||||
Name: retroshare-gui-unstable
|
||||
Version: 0.6.9999
|
||||
Release: 0
|
||||
License: AGPL-3.0-or-later
|
||||
Summary: Secure distributed chat, mail, forums, file sharing etc
|
||||
Group: Productivity/Networking/Other
|
||||
Url: https://retroshare.cc
|
||||
Source0: RetroShare.tar.gz
|
||||
#Patch0: various.patch
|
||||
BuildRoot: %{_tmppath}/%{name}
|
||||
Conflicts: retroshare
|
||||
BuildRequires: cmake doxygen libupnp-devel openssl-devel sqlcipher-devel
|
||||
|
||||
%if %{defined centos_version}
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
BuildRequires: qt5-qtmultimedia-devel qt5-qtx11extras-devel libXScrnSaver-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: fdupes xapian-core-devel libXScrnSaver-devel
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
BuildRequires: qt5-qtx11extras-devel qt5-qtmultimedia-devel
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libzlib-devel libbzip2-devel
|
||||
BuildRequires: libqt5core-devel libqt5xml-devel libxapian-devel
|
||||
BuildRequires: libqt5x11extras-devel libxscrnsaver-devel libqt5multimedia-devel
|
||||
BuildRequires: libqt5designer-devel
|
||||
BuildRequires: libqt5gui-devel libqt5printsupport-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gcc7 gcc7-c++
|
||||
BuildRequires: fdupes libbz2-devel
|
||||
BuildRequires: libqt5-qtbase-devel libqt5-qttools-devel
|
||||
BuildRequires: libxapian-devel update-desktop-files
|
||||
BuildRequires: libqt5-qtx11extras-devel
|
||||
BuildRequires: libqt5-qtmultimedia-devel libXScrnSaver-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 27
|
||||
%undefine _debugsource_packages
|
||||
%undefine _debuginfo_subpackages
|
||||
%endif
|
||||
|
||||
%description
|
||||
RetroShare is a cross-platform F2F communication platform.
|
||||
It lets you share securely with your friends, using PGP
|
||||
to authenticate peers and OpenSSL to encrypt all communication.
|
||||
RetroShare provides filesharing, chat, messages and channels.
|
||||
|
||||
Authors:
|
||||
see https://retroshare.cc/
|
||||
--------
|
||||
|
||||
%prep
|
||||
%setup -n RetroShare
|
||||
#%patch0 -p0
|
||||
|
||||
%build
|
||||
|
||||
nproc
|
||||
qmake --version || qmake-qt5 --version
|
||||
ls $(which gcc)*
|
||||
ls $(which g++)*
|
||||
|
||||
BUILD_CC=""
|
||||
BUILD_CXX=""
|
||||
BUILD_DEEPSEARCH="CONFIG+=rs_deep_search"
|
||||
BUILD_JSONAPI="CONFIG+=rs_jsonapi"
|
||||
QMAKE="qmake-qt5"
|
||||
|
||||
%if %{defined centos_version}
|
||||
# Xapian is not availabe on Centos 7
|
||||
BUILD_DEEPSEARCH="CONFIG+=no_rs_deep_search"
|
||||
BUILD_JSONAPI="CONFIG+=no_rs_jsonapi"
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
QMAKE="qmake"
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BUILD_CC="QMAKE_CC=gcc-7"
|
||||
BUILD_CXX="QMAKE_CXX=g++-7"
|
||||
%endif
|
||||
|
||||
$QMAKE $BUILD_CC $BUILD_CXX QMAKE_STRIP=echo PREFIX="%{_prefix}" \
|
||||
BIN_DIR="%{_bindir}" LIB_DIR="%{_libdir}" \
|
||||
DATA_DIR="%{_datadir}/retroshare" \
|
||||
$(build_scripts/OBS/get_source_version.sh) RS_MINI_VERSION=9999 \
|
||||
CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=no_retroshare_service ${BUILD_JSONAPI} ${BUILD_DEEPSEARCH} \
|
||||
CONFIG+=release RetroShare.pro
|
||||
make -j$(nproc) || make -j$(nproc) || make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make INSTALL_ROOT=$RPM_BUILD_ROOT install
|
||||
|
||||
%if 0%{?centos_version} < 800
|
||||
%else
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/retroshare
|
||||
%defattr(644, root, root)
|
||||
%{_datadir}/retroshare
|
||||
%{_datadir}/pixmaps/retroshare.xpm
|
||||
%{_datadir}/icons/hicolor/
|
||||
%{_datadir}/applications/retroshare.desktop
|
||||
|
||||
%changelog
|
@ -1,4 +1,4 @@
|
||||
# Maintainer: Gioacchino Mazzurco <gio@eigenlab.org>
|
||||
# Maintainer: Gioacchino Mazzurco <gio@altermundi.net>
|
||||
# Contributor: AsamK
|
||||
# Contributor: sehraf
|
||||
# Contributor: stqn
|
||||
@ -6,28 +6,28 @@
|
||||
# Contributor: Tristero <tristero at online dot de>
|
||||
# Contributor: funkyou
|
||||
|
||||
pkgname=retroshare-service-git
|
||||
pkgver=git
|
||||
pkgname=retroshare-service
|
||||
pkgver=stable
|
||||
pkgrel=0
|
||||
pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail. System service version."
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
url="https://retroshare.net/"
|
||||
url="https://retroshare.cc/"
|
||||
license=('AGPL' 'GPL' 'LGPL')
|
||||
depends=('bzip2' 'libupnp' 'libzip' 'openssl' 'rapidjson' 'sqlcipher' 'xapian-core')
|
||||
makedepends=('cmake' 'doxygen' 'git' 'pkgconf' 'qt5-tools')
|
||||
provides=('retroshare-service')
|
||||
conflicts=('retroshare-service')
|
||||
|
||||
source=(RetroShare-${pkgver}.tar.gz)
|
||||
source=(RetroShare.tar.gz)
|
||||
|
||||
md5sums=('3c66108223b427d617b962aff0755378')
|
||||
md5sums=('45a438fb9a862542cc651c6f5ff28fac')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/RetroShare-${pkgver}"
|
||||
cd "${srcdir}/RetroShare"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/RetroShare-${pkgver}"
|
||||
cd "${srcdir}/RetroShare"
|
||||
qmake-qt5 PREFIX=/usr DATA_DIR=/usr/share/retroshare CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
@ -35,11 +35,13 @@ build() {
|
||||
CONFIG+=no_retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=retroshare_service CONFIG+=rs_jsonapi CONFIG+=rs_deep_search \
|
||||
CONFIG+=release
|
||||
CONFIG+=release \
|
||||
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 \
|
||||
RS_EXTRA_VERSION="-retroshare-service-OBS-Arch"
|
||||
make -j$(nproc) || make -j$(nproc) || make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/RetroShare-${pkgver}"
|
||||
cd "${srcdir}/RetroShare"
|
||||
make INSTALL_ROOT="${pkgdir}" install
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
app: retroshare-service
|
||||
|
||||
build:
|
||||
packages:
|
||||
- desktop-file-utils
|
||||
- doxygen
|
||||
- gcc5
|
||||
- gcc5-c++
|
||||
- glib2-devel
|
||||
- libbz2-devel
|
||||
- libqt5-qtbase-devel
|
||||
- libqt5-qttools-devel
|
||||
- libupnp-devel
|
||||
- libxapian-devel
|
||||
- linuxdeployqt
|
||||
- openssl-devel
|
||||
- sqlcipher-devel
|
||||
- update-desktop-files
|
||||
|
||||
script:
|
||||
- cd $BUILD_SOURCE_DIR
|
||||
- tar -xf RetroShare.tar.gz
|
||||
- cd RetroShare
|
||||
- gcc --version
|
||||
- ls $(which gcc)*
|
||||
- ls $(which g++)*
|
||||
- qmake-qt5 QMAKE_CC=gcc-5 QMAKE_CXX=g++-5 PREFIX=/usr RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 RS_EXTRA_VERSION="-retroshare-service-OBS-AppImage" CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_nogui CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_qml_app CONFIG+=no_retroshare_android_notify_service CONFIG+=no_retroshare_plugins CONFIG+=ipv6 CONFIG+=no_tests CONFIG+=rs_jsonapi CONFIG+=no_retroshare_android_service CONFIG+=rs_deep_search CONFIG+=no_libresapilocalserver CONFIG+=no_retroshare_gui CONFIG+=no_libresapihttpserver CONFIG+=retroshare_service CONFIG+=no_libresapi CONFIG+=c++11 CONFIG+=appimage
|
||||
- make -j$(nproc) || make -j$(nproc) || make
|
||||
- make INSTALL_ROOT=$BUILD_APPDIR install
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=3 -no-strip
|
@ -0,0 +1,5 @@
|
||||
retroshare-service (0.6.5) stable; urgency=low
|
||||
|
||||
Add retroshare-service package
|
||||
|
||||
-- Gioacchino Mazzurco <gio@altermundi.net> Mon, 04 Feb 2019 14:59:00 +0100
|
@ -0,0 +1 @@
|
||||
7
|
@ -1,11 +1,11 @@
|
||||
Source: retroshare-service-git
|
||||
Source: retroshare-service
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: http://retroshare.net
|
||||
Homepage: https://retroshare.cc
|
||||
|
||||
Package: retroshare-service-git
|
||||
Package: retroshare-service
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Secure communication with friends
|
@ -0,0 +1,61 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
qmake --version
|
||||
qmake CONFIG-=debug CONFIG+=release PREFIX=/usr LIB_DIR=/usr/lib \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=no_retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=retroshare_service CONFIG+=rs_jsonapi CONFIG+=rs_deep_search \
|
||||
CONFIG+=c++11 RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 \
|
||||
RS_EXTRA_VERSION="-retroshare-service-OBS-deb" \
|
||||
RetroShare.pro
|
||||
touch $@
|
||||
|
||||
build: build-stamp
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
$(MAKE) -j$(shell nproc) || $(MAKE) -j$(shell nproc) || $(MAKE)
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f configure-stamp build-stamp
|
||||
# Add here commands to clean up after the build process.
|
||||
[ ! -f Makefile ] || $(MAKE) distclean
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
#dh_installdirs
|
||||
$(MAKE) INSTALL_ROOT=$(CURDIR)/debian/tmp install
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_install --list-missing
|
||||
#dh_installdocs
|
||||
#dh_installexamples
|
||||
#dh_installman
|
||||
dh_link
|
||||
dh_strip
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
@ -0,0 +1,11 @@
|
||||
Format: 1.0
|
||||
Source: retroshare-service
|
||||
Binary: retroshare-service
|
||||
Architecture: any
|
||||
Version: 0.6.5
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Homepage: https://retroshare.cc
|
||||
Standards-Version: 3.8.1
|
||||
Build-Depends: cmake, debhelper (>= 7), doxygen, git, libglib2.0-dev, libupnp-dev, qtbase5-dev, qt5-default, libssl-dev, libbz2-dev, libsqlcipher-dev, libxapian-dev
|
||||
Files:
|
||||
45a438fb9a862542cc651c6f5ff28fac 29377995 RetroShare.tar.gz
|
@ -0,0 +1,144 @@
|
||||
Name: retroshare-service
|
||||
Version: 0.6.5
|
||||
Release: 0
|
||||
License: AGPL-3.0-or-later
|
||||
Summary: Secure distributed chat, mail, forums, file sharing etc
|
||||
Group: Productivity/Networking/Other
|
||||
Url: https://retroshare.cc
|
||||
Source0: RetroShare.tar.gz
|
||||
#Patch0: various.patch
|
||||
BuildRoot: %{_tmppath}/%{name}
|
||||
Conflicts: retroshare-service-unstable
|
||||
BuildRequires: cmake doxygen git openssl-devel sqlcipher-devel
|
||||
|
||||
%if %{defined centos_version}
|
||||
BuildRequires: devtoolset-7-toolchain devtoolset-7-libstdc++-devel
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
BuildRequires: libupnp-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: fdupes xapian-core-devel
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 27
|
||||
%undefine _debugsource_packages
|
||||
%undefine _debuginfo_subpackages
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 29
|
||||
BuildRequires: miniupnpc-devel
|
||||
%else
|
||||
BuildRequires: libupnp-devel
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libzlib-devel libbzip2-devel
|
||||
BuildRequires: libqt5core-devel libqt5xml-devel libxapian-devel
|
||||
BuildRequires: libupnp-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BuildRequires: gcc7 gcc7-c++
|
||||
BuildRequires: fdupes libbz2-devel
|
||||
BuildRequires: libqt5-qtbase-devel libqt5-qttools-devel
|
||||
BuildRequires: libxapian-devel update-desktop-files
|
||||
BuildRequires: libminiupnpc-devel
|
||||
%endif
|
||||
|
||||
%description
|
||||
RetroShare is a cross-platform F2F communication platform.
|
||||
It lets you share securely with your friends, using PGP
|
||||
to authenticate peers and OpenSSL to encrypt all communication.
|
||||
RetroShare provides filesharing, chat, messages and channels.
|
||||
This package provides RetroShare system service that can be
|
||||
controlled only via JSON API.
|
||||
|
||||
Authors:
|
||||
see https://retroshare.cc/
|
||||
--------
|
||||
|
||||
%prep
|
||||
%setup -n RetroShare
|
||||
#%patch0 -p0
|
||||
|
||||
%build
|
||||
|
||||
nproc
|
||||
qmake --version || qmake-qt5 --version
|
||||
ls $(which gcc)*
|
||||
ls $(which g++)*
|
||||
|
||||
BUILD_CC=""
|
||||
BUILD_CXX=""
|
||||
BUILD_DEEPSEARCH="CONFIG+=rs_deep_search"
|
||||
QMAKE="qmake-qt5"
|
||||
|
||||
%if %{defined centos_version}
|
||||
# Xapian is not availabe on Centos 7
|
||||
BUILD_DEEPSEARCH="CONFIG+=no_rs_deep_search"
|
||||
source /opt/rh/devtoolset-7/enable
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
QMAKE="qmake"
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
BUILD_CC="QMAKE_CC=gcc-7"
|
||||
BUILD_CXX="QMAKE_CXX=g++-7"
|
||||
RS_UPNP_LIB="RS_UPNP_LIB=miniupnpc"
|
||||
echo suse_version: %{?suse_version}
|
||||
%endif
|
||||
|
||||
# On OpenSuse Tumbleweed and Factory ARM 64 bits seems cmake/restbed and
|
||||
# qmake/retroshare have PIE/PIC mismatch attempt to coherce restbed to be PIC
|
||||
# https://en.opensuse.org/Archive:How_to_detect_Tumbleweed
|
||||
%if 0%{?suse_version} == 1550 && ( (%{_arch} == "x86_64") || (%{_arch} == "aarch64") )
|
||||
RESTBED_CMAKE_FILE="supportlibs/restbed/CMakeLists.txt"
|
||||
echo 'set(CMAKE_POSITION_INDEPENDENT_CODE ON)' | \
|
||||
cat - $RESTBED_CMAKE_FILE > tmp_cmake && mv tmp_cmake $RESTBED_CMAKE_FILE
|
||||
cat $RESTBED_CMAKE_FILE
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 29
|
||||
RS_UPNP_LIB="RS_UPNP_LIB=miniupnpc"
|
||||
%endif
|
||||
|
||||
$QMAKE $BUILD_CC $BUILD_CXX QMAKE_STRIP=echo PREFIX="%{_prefix}" \
|
||||
BIN_DIR="%{_bindir}" ${RS_UPNP_LIB} \
|
||||
LIB_DIR="%{_libdir}" DATA_DIR="%{_datadir}/retroshare" CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=no_retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=retroshare_service CONFIG+=rs_jsonapi ${BUILD_DEEPSEARCH} \
|
||||
CONFIG+=release \
|
||||
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=5 \
|
||||
RS_EXTRA_VERSION="-retroshare-service-OBS-RPM" \
|
||||
RetroShare.pro
|
||||
make -j$(nproc) || make -j$(nproc) || make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make INSTALL_ROOT=$RPM_BUILD_ROOT install
|
||||
|
||||
%if 0%{?centos_version} < 800
|
||||
%else
|
||||
%fdupes %{buildroot}/%{_prefix}
|
||||
%endif
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/retroshare-service
|
||||
%defattr(644, root, root)
|
||||
%{_datadir}/retroshare
|
||||
|
||||
%changelog
|
@ -0,0 +1,47 @@
|
||||
# Maintainer: Gioacchino Mazzurco <gio@altermundi.net>
|
||||
# Contributor: AsamK
|
||||
# Contributor: sehraf
|
||||
# Contributor: stqn
|
||||
# Contributor: JHeaton <jheaton at archlinux dot us>
|
||||
# Contributor: Tristero <tristero at online dot de>
|
||||
# Contributor: funkyou
|
||||
|
||||
pkgname=retroshare-service-unstable
|
||||
pkgver=stable
|
||||
pkgrel=0
|
||||
pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail. System service version."
|
||||
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
|
||||
url="https://retroshare.cc/"
|
||||
license=('AGPL' 'GPL' 'LGPL')
|
||||
depends=('bzip2' 'libupnp' 'libzip' 'openssl' 'rapidjson' 'sqlcipher' 'xapian-core')
|
||||
makedepends=('cmake' 'doxygen' 'git' 'pkgconf' 'qt5-tools')
|
||||
provides=('retroshare-service')
|
||||
conflicts=('retroshare-service')
|
||||
|
||||
source=(RetroShare.tar.gz)
|
||||
|
||||
md5sums=('ce46d636891e28acdac95091941582d3')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
qmake-qt5 PREFIX=/usr DATA_DIR=/usr/share/retroshare \
|
||||
$(build_scripts/OBS/get_source_version.sh) RS_MINI_VERSION=9999 \
|
||||
CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=no_retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
||||
CONFIG+=retroshare_service CONFIG+=rs_jsonapi CONFIG+=rs_deep_search \
|
||||
CONFIG+=release
|
||||
make -j$(nproc) || make -j$(nproc) || make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}/RetroShare"
|
||||
make INSTALL_ROOT="${pkgdir}" install
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
app: retroshare-service-unstable
|
||||
|
||||
build:
|
||||
packages:
|
||||
- desktop-file-utils
|
||||
- doxygen
|
||||
- gcc5
|
||||
- gcc5-c++
|
||||
- glib2-devel
|
||||
- libbz2-devel
|
||||
- libqt5-qtbase-devel
|
||||
- libqt5-qttools-devel
|
||||
- libupnp-devel
|
||||
- libxapian-devel
|
||||
- linuxdeployqt
|
||||
- openssl-devel
|
||||
- sqlcipher-devel
|
||||
- update-desktop-files
|
||||
|
||||
script:
|
||||
- cd $BUILD_SOURCE_DIR
|
||||
- tar -xf RetroShare.tar.gz
|
||||
- cd RetroShare
|
||||
- gcc --version
|
||||
- ls $(which gcc)*
|
||||
- ls $(which g++)*
|
||||
- qmake-qt5 QMAKE_CC=gcc-5 QMAKE_CXX=g++-5 PREFIX=/usr RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=9999 RS_EXTRA_VERSION="-retroshare-service-OBS-AppImage" CONFIG-=debug CONFIG+=release CONFIG+=no_retroshare_nogui CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_qml_app CONFIG+=no_retroshare_android_notify_service CONFIG+=no_retroshare_plugins CONFIG+=ipv6 CONFIG+=no_tests CONFIG+=rs_jsonapi CONFIG+=no_retroshare_android_service CONFIG+=rs_deep_search CONFIG+=no_libresapilocalserver CONFIG+=no_retroshare_gui CONFIG+=no_libresapihttpserver CONFIG+=retroshare_service CONFIG+=no_libresapi CONFIG+=c++11 CONFIG+=appimage
|
||||
- make -j$(nproc) || make -j$(nproc) || make
|
||||
- make INSTALL_ROOT=$BUILD_APPDIR install
|
||||
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
|
||||
- linuxdeployqt $BUILD_APPDIR/usr/share/applications/*.desktop -bundle-non-qt-libs -verbose=3 -no-strip
|
@ -0,0 +1,5 @@
|
||||
retroshare-service-unstable (0.6.9999) stable; urgency=low
|
||||
|
||||
Add retroshare-service-unstable package
|
||||
|
||||
-- Gioacchino Mazzurco <gio@altermundi.net> Mon, 04 Feb 2019 13:43:00 +0100
|
@ -0,0 +1 @@
|
||||
7
|
@ -0,0 +1,18 @@
|
||||
Source: retroshare-service-unstable
|
||||
Section: devel
|
||||
Priority: standard
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Standards-Version: 3.9.3
|
||||
Homepage: https://retroshare.cc
|
||||
|
||||
Package: retroshare-service-unstable
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: Secure communication with friends
|
||||
RetroShare is a Free and Open Source, private and secure decentralized
|
||||
communication platform. It lets you to securely chat and share files with your
|
||||
friends and family, using a web-of-trust to authenticate peers and OpenSSL to
|
||||
encrypt all communication. RetroShare provides filesharing, chat, messages,
|
||||
forums and channels.
|
||||
This package provide a headless RetroShare node that can be controlled only
|
||||
using the JSON API.
|
@ -0,0 +1,2 @@
|
||||
debian/tmp/usr/bin/retroshare-service
|
||||
debian/tmp/usr/share/retroshare/bdboot.txt
|
@ -5,6 +5,8 @@ configure-stamp:
|
||||
dh_testdir
|
||||
qmake --version
|
||||
qmake CONFIG-=debug CONFIG+=release PREFIX=/usr LIB_DIR=/usr/lib \
|
||||
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=9999 \
|
||||
RS_EXTRA_VERSION="-retroshare-service-OBS-deb" \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
||||
CONFIG+=no_retroshare_gui CONFIG+=no_tests CONFIG+=no_libresapi \
|
||||
CONFIG+=no_libresapihttpserver CONFIG+=no_libresapilocalserver \
|
@ -1,11 +1,11 @@
|
||||
Format: 1.0
|
||||
Source: retroshare-service-git
|
||||
Binary: retroshare-service-git
|
||||
Source: retroshare-service-unstable
|
||||
Binary: retroshare-service-unstable
|
||||
Architecture: any
|
||||
Version: 0.6.9999
|
||||
Maintainer: Cyril Soler <csoler@users.sourceforge.net>
|
||||
Homepage: https://retroshare.net
|
||||
Homepage: https://retroshare.cc
|
||||
Standards-Version: 3.8.1
|
||||
Build-Depends: cmake, debhelper (>= 7), doxygen, git, libglib2.0-dev, libupnp-dev, qtbase5-dev, qt5-default, libssl-dev, libbz2-dev, libsqlcipher-dev, libxapian-dev
|
||||
Files:
|
||||
f562e399ef7d44ebc01362f365b4f30b 23617604 RetroShare-git.tar.gz
|
||||
ce46d636891e28acdac95091941582d3 29378514 RetroShare.tar.gz
|
@ -1,35 +1,31 @@
|
||||
Name: retroshare-service-git
|
||||
Name: retroshare-service-unstable
|
||||
Version: 0.6.9999
|
||||
Release: 0
|
||||
License: GNU AFFERO GENERAL PUBLIC LICENSE version 3
|
||||
Summary: Secure chat and file sharing
|
||||
License: AGPL-3.0-or-later
|
||||
Summary: Secure distributed chat, mail, forums, file sharing etc
|
||||
Group: Productivity/Networking/Other
|
||||
Url: http://retroshare.net
|
||||
#Source0: https://github.com/RetroShare/RetroShare/archive/v%{version}.tar.gz#/RetroShare-%{version}.tar.gz
|
||||
Source0: RetroShare-git.tar.gz
|
||||
Url: https://retroshare.cc
|
||||
Source0: RetroShare.tar.gz
|
||||
#Patch0: various.patch
|
||||
BuildRoot: %{_tmppath}/%{name}
|
||||
Conflicts: retroshare-service
|
||||
Requires: libupnp openssl sqlcipher
|
||||
BuildRequires: cmake doxygen git libupnp-devel openssl-devel sqlcipher-devel
|
||||
|
||||
%if %{defined centos_version}
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
Requires: qt5-qtbase
|
||||
BuildRequires: devtoolset-7-toolchain devtoolset-7-libstdc++-devel
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: fdupes xapian-core-devel
|
||||
BuildRequires: qt5-qtbase-devel qt5-qttools-devel qt5-qttools-static
|
||||
Requires: qt5-qtbase xapian-core
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libzlib-devel libbzip2-devel
|
||||
BuildRequires: libqt5core-devel libqt5xml-devel libxapian-devel
|
||||
Requires: libqt5core libqt5xml5 libxapian
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
@ -37,7 +33,6 @@ BuildRequires: gcc7 gcc7-c++
|
||||
BuildRequires: fdupes libbz2-devel
|
||||
BuildRequires: libqt5-qtbase-devel libqt5-qttools-devel
|
||||
BuildRequires: libxapian-devel update-desktop-files
|
||||
Requires: libbz2 libxapian
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora_version} >= 27
|
||||
@ -54,11 +49,11 @@ This package provides RetroShare system service that can be
|
||||
controlled only via JSON API.
|
||||
|
||||
Authors:
|
||||
see http://retroshare.net/
|
||||
see https://retroshare.cc/
|
||||
--------
|
||||
|
||||
%prep
|
||||
%setup -n RetroShare-git
|
||||
%setup -n RetroShare
|
||||
#%patch0 -p0
|
||||
|
||||
%build
|
||||
@ -76,6 +71,7 @@ QMAKE="qmake-qt5"
|
||||
%if %{defined centos_version}
|
||||
# Xapian is not availabe on Centos 7
|
||||
BUILD_DEEPSEARCH="CONFIG+=no_rs_deep_search"
|
||||
source /opt/rh/devtoolset-7/enable
|
||||
%endif
|
||||
|
||||
%if %{defined mageia}
|
||||
@ -89,7 +85,10 @@ BUILD_CXX="QMAKE_CXX=g++-7"
|
||||
|
||||
$QMAKE $BUILD_CC $BUILD_CXX QMAKE_STRIP=echo PREFIX="%{_prefix}" \
|
||||
BIN_DIR="%{_bindir}" \
|
||||
LIB_DIR="%{_libdir}" DATA_DIR="%{_datadir}/retroshare" CONFIG-=debug \
|
||||
LIB_DIR="%{_libdir}" DATA_DIR="%{_datadir}/retroshare" \
|
||||
RS_MAJOR_VERSION=0 RS_MINOR_VERSION=6 RS_MINI_VERSION=9999 \
|
||||
RS_EXTRA_VERSION="-retroshare-service-OBS-RPM" \
|
||||
CONFIG-=debug \
|
||||
CONFIG+=ipv6 CONFIG+=no_retroshare_android_service \
|
||||
CONFIG+=no_retroshare_android_notify_service \
|
||||
CONFIG+=no_retroshare_plugins CONFIG+=no_retroshare_nogui \
|
@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
NAME=sqlcipher
|
||||
# this is a huge hunk of stuff, so reuse the local repo if possible
|
||||
if [ -d ${NAME}/.git ]; then
|
||||
cd ${NAME}
|
||||
git pull
|
||||
cd ..
|
||||
else
|
||||
set -e
|
||||
git clone https://github.com/sqlcipher/sqlcipher.git
|
||||
set +e
|
||||
fi
|
||||
|
||||
TOPDIR=$(pwd)
|
||||
cd ${NAME}
|
||||
TAG=$(git tag -l | tail -n 1)
|
||||
LINE=$(git show --format=format:"%h %ai"|head -n 1)
|
||||
set -- $LINE
|
||||
REV=$1
|
||||
DATE=$2
|
||||
VER=${DATE//-/.}
|
||||
set -e
|
||||
git archive --prefix=${NAME}-${TAG#v}/ -o $TOPDIR/${NAME}-${TAG#v}.tar ${TAG}
|
||||
cd $TOPDIR
|
||||
bzip2 -9 ${NAME}-${TAG#v}.tar
|
||||
sed -i "s/^Version:.*/Version: ${TAG#v}/" ${NAME}.spec
|
||||
osc vc -m "Update to $REV ($DATE)"
|
@ -0,0 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 18 08:36:19 UTC 2015 - goedhart.martijn@gmail.com
|
||||
|
||||
- Update to c01b94f (2015-07-13)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 27 15:48:36 UTC 2014 - goedhart.martijn@gmail.com
|
||||
|
||||
- Update to e7b8d1f (2014-09-30)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 10:56:35 UTC 2014 - goedhart.martijn@gmail.com
|
||||
|
||||
- Update to 9096584 (2014-04-23)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 15:53:46 UTC 2013 - goedhart.martijn@gmail.com
|
||||
|
||||
- Update to 8d0acdb (2013-12-06)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 15:40:13 UTC 2013 - goedhart.martijn@gmail.com
|
||||
|
||||
- Update to 8d0acdb (2013-12-06)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 15:31:39 UTC 2013 - goedhart.martijn@gmail.com
|
||||
|
||||
- Update to 8d0acdb (2013-12-06)
|
||||
|
@ -0,0 +1,95 @@
|
||||
#
|
||||
# spec file for package
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: sqlcipher
|
||||
Version: 3.3.1
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: SQLite database encryption
|
||||
Url: http://sqlcipher.net
|
||||
Group: Productivity/Databases/Clients
|
||||
Source: %name-%{version}.tar.bz2
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: tcl-devel
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
#Requires: libncurses5
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files. Pages are encrypted before being written to disk and are decrypted when read back. Due to the small footprint and great performance it’s ideal for protecting embedded application databases and is well suited for mobile development.
|
||||
|
||||
%package -n lib%{name}-3_8_10_2-0
|
||||
Group: System/Libraries
|
||||
Summary: Shared library for SQLCipher
|
||||
|
||||
%description -n lib%{name}-3_8_10_2-0
|
||||
SQLCipher library.
|
||||
|
||||
SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files. Pages are encrypted before being written to disk and are decrypted when read back. Due to the small footprint and great performance it’s ideal for protecting embedded application databases and is well suited for mobile development.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Development files for SQLCipher
|
||||
#Requires: sqlite3-devel
|
||||
#Requires: libopenssl-devel
|
||||
|
||||
%description devel
|
||||
Development files for SQLCipher.
|
||||
|
||||
SQLCipher is an SQLite extension that provides transparent 256-bit AES encryption of database files. Pages are encrypted before being written to disk and are decrypted when read back. Due to the small footprint and great performance it’s ideal for protecting embedded application databases and is well suited for mobile development.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --enable-threadsafe --enable-cross-thread-connections --enable-releasemode --with-crypto-lib --disable-tcl --enable-tempstore=yes CFLAGS="-fPIC -DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%post -n lib%{name}-3_8_10_2-0
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}-3_8_10_2-0
|
||||
/sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README.md LICENSE
|
||||
%_bindir/sqlcipher
|
||||
|
||||
%files -n lib%{name}-3_8_10_2-0
|
||||
%defattr(-,root,root)
|
||||
%doc README.md LICENSE
|
||||
%_libdir/libsqlcipher-3.8.10.2.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc README.md LICENSE
|
||||
%_libdir/libsqlcipher.a
|
||||
%_libdir/libsqlcipher.la
|
||||
%_libdir/libsqlcipher.so
|
||||
%_libdir/pkgconfig/sqlcipher.pc
|
||||
#%_libdir/tcl/tcl*/sqlite3
|
||||
%_includedir/sqlcipher
|
||||
|
||||
%changelog
|
||||
|
@ -0,0 +1,48 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
Format: 3.0 (quilt)
|
||||
Source: sqlcipher
|
||||
Binary: sqlcipher, libsqlcipher0-dbg, libsqlcipher0, libsqlcipher-dev
|
||||
Architecture: any
|
||||
Version: 3.2.0-1
|
||||
Maintainer: Hans-Christoph Steiner <hans@eds.org>
|
||||
Homepage: http://sqlcipher.net/
|
||||
Standards-Version: 3.9.6
|
||||
Vcs-Browser: http://anonscm.debian.org/cgit/collab-maint/sqlcipher.git
|
||||
Vcs-Git: https://alioth.debian.org/anonscm/git/collab-maint/sqlcipher.git
|
||||
Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9), autoconf (>= 2.59), libtool (>= 1.5.2), automake, autotools-dev, chrpath, libreadline-dev, tcl8.6-dev, dh-autoreconf, libssl-dev
|
||||
Build-Conflicts: tcl8.4, tcl8.4-dev, tcl8.5, tcl8.5-dev
|
||||
Package-List:
|
||||
libsqlcipher-dev deb libdevel optional arch=any
|
||||
libsqlcipher0 deb libs optional arch=any
|
||||
libsqlcipher0-dbg deb debug extra arch=any
|
||||
sqlcipher deb database optional arch=any
|
||||
Checksums-Sha1:
|
||||
44af36d34f05154a7527a55389d9bc0ef0913595 10100087 sqlcipher_3.2.0.orig.tar.gz
|
||||
c96a75780719dcf6ea80e98668fdc8204e4f1222 14292 sqlcipher_3.2.0-1.debian.tar.xz
|
||||
Checksums-Sha256:
|
||||
25fa4f4cb38dcf9e52e4d1f46be8fee9c7aaef35b6df96912a216b289e22c2af 10100087 sqlcipher_3.2.0.orig.tar.gz
|
||||
fe50ee231d190f69675d8f9ded9b79259465dc797e8875b4693f37cef1b26609 14292 sqlcipher_3.2.0-1.debian.tar.xz
|
||||
Files:
|
||||
cfe11ec970851bedd21aba61d412f7f2 10100087 sqlcipher_3.2.0.orig.tar.gz
|
||||
73336465e3c4cbbaad3408a19a2caecc 14292 sqlcipher_3.2.0-1.debian.tar.xz
|
||||
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.11 (GNU/Linux)
|
||||
Comment: GPG for Android - https://guardianproject.info/code/gnupg/
|
||||
|
||||
iQIcBAEBCAAGBQJUQagvAAoJEJ8P5Yc3S76BZaYQAJaXDZY2Tf/bHONRviHUBo1E
|
||||
ozifgFEUnO+fJLO/+GJwT7skMrHjZLsUUrUDQGV1q409sVRhLUWfWdXoMro3uNUy
|
||||
Nw3AQqH8eoWZb1w/7vllAGc25SqGJZsa9PMxusRuiCTv6wEHjt75s6C1yDD2OINl
|
||||
U/YO+eH5F5Nqop05DTEutRklJdJolJdAp96DDc1qdNx2c2kCuApdzOeeyjPuBdCH
|
||||
p3i9689IZnbVDhPO4g6wTVJvvW/4EGZkIMA61iEMLIczT5CbY2j33H1yyZtAhS4V
|
||||
oxkpkEiFoX15u5zdaNgK/I9yCy2f0iWw7rhTQPha5igBlvegEd13yDFe3qO1iwhb
|
||||
TikkmQvPJUVSSIqZyHi8NUn4Ea6J4zy2msaFB8Q6eVZbr8yavrIudwhswZ9lUr4i
|
||||
yzFAw2zA5sTai4aFsEoKn5WYt2wLj9o2H0gcLFUzHQsH4Jd93f+W6RatNWjN8TLg
|
||||
Mo+fdlyMjIWpnbdutH4Xo18NnThzmYLPihMD1doX03rruJwWHLyrXHANnqXEoyHt
|
||||
K91PWRFZtMZ5tq92+6KOm806PLwboBcblaTiPu3PIHkrAlA+24tWsLTgALO/oK4L
|
||||
5KJ+KpU6GHd5z3sjBTlIrzkxJlGj7/AD01fBJHjWk9Wau1kSn5CD04/KXugcbPG2
|
||||
SMt8Fa6OA8FvK80/PIe2
|
||||
=eFqY
|
||||
-----END PGP SIGNATURE-----
|
@ -0,0 +1,48 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
Format: 3.0 (quilt)
|
||||
Source: sqlcipher
|
||||
Binary: sqlcipher, libsqlcipher0, libsqlcipher-dev
|
||||
Architecture: any
|
||||
Version: 3.4.1-1
|
||||
Maintainer: Hans-Christoph Steiner <hans@eds.org>
|
||||
Uploaders: Micah Anderson <micah@debian.org>
|
||||
Homepage: http://sqlcipher.net/
|
||||
Standards-Version: 4.0.1
|
||||
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/sqlcipher.git
|
||||
Vcs-Git: https://alioth.debian.org/anonscm/git/collab-maint/sqlcipher.git
|
||||
Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 10), autoconf (>= 2.59), libtool (>= 1.5.2), automake, libreadline-dev, tcl8.6-dev, libssl-dev
|
||||
Build-Conflicts: tcl8.4, tcl8.4-dev, tcl8.5, tcl8.5-dev
|
||||
Package-List:
|
||||
libsqlcipher-dev deb libdevel optional arch=any
|
||||
libsqlcipher0 deb libs optional arch=any
|
||||
sqlcipher deb database optional arch=any
|
||||
Checksums-Sha1:
|
||||
969b996b3c7249778c353d02362bb08ebe5a993e 13873645 sqlcipher_3.4.1.orig.tar.gz
|
||||
a170473ee9c5782c9aff9e4f9ffaa0f9adf64d81 14408 sqlcipher_3.4.1-1.debian.tar.xz
|
||||
Checksums-Sha256:
|
||||
4172cc6e5a79d36e178d36bd5cc467a938e08368952659bcd95eccbaf0fa4ad4 13873645 sqlcipher_3.4.1.orig.tar.gz
|
||||
4e931aeade93d8211217fa2ca9d69fcf217103307a3b70f8a8ad152419b75f98 14408 sqlcipher_3.4.1-1.debian.tar.xz
|
||||
Files:
|
||||
edd1c57129c21a22ab2c2fd7f47d4ccd 13873645 sqlcipher_3.4.1.orig.tar.gz
|
||||
fad3b12e4c647d60f437e11156e7258c 14408 sqlcipher_3.4.1-1.debian.tar.xz
|
||||
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEER3dTX+VHFWJiYHe1jL+aMihhp5AFAlmPj8NfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ3
|
||||
Nzc1MzVGRTU0NzE1NjI2MjYwNzdCNThDQkY5QTMyMjg2MUE3OTAACgkQjL+aMihh
|
||||
p5Czmw/8DWuCNHwWfkMndecYuJnWoHXpZHg/9EnjY42comS89WLd5BOSm2LhfrhV
|
||||
3iH2Owd26osA3gZ/4UKCLp8PZtUcgMtwXf+kgy07hgn2iKwa9T6cagyTx0h5EqOY
|
||||
prBkO09/G3ZI9UAQIUk/73UdRcLxoSD3SuZIPDK1rXn2bunpQYDIMZ4edNzyahU9
|
||||
yBa0zM8JUW8KriQtjgCgJL1gUF3or4wFXc1eI4X7nKl5dtuLY8bRR0aMGNEu965v
|
||||
I0s4SOS5GOEdJCIEAtyvLJp3TGnfcrwHSlBa2vmc41j1SQcQmz1pxUiCnet/CVjm
|
||||
O8nKqgq7WhcrJ9JborZPGkX+jb02xiy62+n5kWIzqdlQZFNicWZ6+SogF+D/vA/G
|
||||
HkSuz4BPPPE1egSBbPhv0nEzG8fY5cTjGBsNIxQZfVhl1eawUbKrWHdVefkLtOjJ
|
||||
vqrr7dOiaG2vNWqwLzynJ4aHxCbqcj2KqoEsnEEgXfSfFD/2POv+lC/OPmw6J/Me
|
||||
GPa5gYVexKxA6EtP/yJXyMjyMJVRnhB/chqzep0HTisORU+WAAas7jNoDj8d/8ys
|
||||
iPDcVtd0h+moU40fFpahZvS4wWP02u0E+ZtSCguIRCsVeh+6vSBziSXJkCkjZ9zk
|
||||
Xt+f7DIVRObhrxNLcS+KNtBV5EeOnS4byul3lP0pDRmHFNrE0kc=
|
||||
=AVab
|
||||
-----END PGP SIGNATURE-----
|
@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
# Make sure you have built RetroShare at list once from the same source tree,
|
||||
# so the support libs get ingluded in the source tarball
|
||||
|
||||
## Define default value for variable, take two arguments, $1 variable name,
|
||||
## $2 default variable value, if the variable is not already define define it
|
||||
## with default value.
|
||||
@ -14,11 +15,28 @@ function define_default_value()
|
||||
}
|
||||
|
||||
define_default_value GIT_DIR "${HOME}/Development/rs-develop/.git"
|
||||
define_default_value WORK_DIR "/tmp/"
|
||||
|
||||
ORIG_DIR="$(pwd)"
|
||||
|
||||
rsync -aPh --delete --exclude='.git' "${GIT_DIR}/../" RetroShare/
|
||||
[ "$(ls "${GIT_DIR}/../supportlibs/restbed/" | wc -l)" -lt "5" ] &&
|
||||
{
|
||||
cat << EOF
|
||||
WARNING: supportlibs/restbed/ seems have not been checked out!
|
||||
The produced tarball may not be suitable to build RetroShare JSON API
|
||||
EOF
|
||||
}
|
||||
|
||||
cd "${WORK_DIR}"
|
||||
rsync -a --delete \
|
||||
--exclude='.git' \
|
||||
--filter=':- build_scripts/OBS/.gitignore' \
|
||||
"${GIT_DIR}/../" RetroShare/
|
||||
git describe > RetroShare/Source_Version
|
||||
tar -zcvf RetroShare.tar.gz RetroShare/
|
||||
tar -zcf RetroShare.tar.gz RetroShare/
|
||||
|
||||
cat RetroShare/Source_Version
|
||||
md5sum RetroShare.tar.gz
|
||||
wc -c RetroShare.tar.gz
|
||||
mv RetroShare.tar.gz "${ORIG_DIR}/RetroShare.tar.gz"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user