134 lines
4.1 KiB
RPMSpec
134 lines
4.1 KiB
RPMSpec
Name: nextcloud
|
||
Version: 2.6.4
|
||
Release: 1mamba
|
||
Summary: Nextcloud themed desktop client
|
||
Group: Graphical Desktop/Applications/Internet
|
||
Vendor: openmamba
|
||
Distribution: openmamba
|
||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
URL: https://nextcloud.com
|
||
## GITSOURCE https://github.com/nextcloud/client_theming.git v2.3.3
|
||
Source: https://github.com/nextcloud/desktop.git/v%{version}/desktop-%{version}.tar.bz2
|
||
License: GPL
|
||
## AUTOBUILDREQ-BEGIN
|
||
BuildRequires: glibc-devel
|
||
BuildRequires: ldconfig
|
||
BuildRequires: libQt5WebEngine-devel
|
||
BuildRequires: libQt5WebKit-devel
|
||
BuildRequires: libcloudproviders-devel
|
||
BuildRequires: libgcc
|
||
BuildRequires: libglib-devel
|
||
BuildRequires: libkcompletion-devel
|
||
BuildRequires: libkconfig-devel
|
||
BuildRequires: libkcoreaddons-devel
|
||
BuildRequires: libkio-devel
|
||
BuildRequires: libkjobwidgets-devel
|
||
BuildRequires: libkservice-devel
|
||
BuildRequires: libkwidgetsaddons-devel
|
||
BuildRequires: libopenssl-devel
|
||
BuildRequires: libqt5-devel
|
||
BuildRequires: libqtkeychain-devel
|
||
BuildRequires: libsqlite-devel
|
||
BuildRequires: libstdc++6-devel
|
||
BuildRequires: libz-devel
|
||
## AUTOBUILDREQ-END
|
||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
||
%description
|
||
Nextcloud themed desktop client. Nextclod provides a safe home for all your data – community-driven, free & open source.
|
||
|
||
%package -n lib%{name}
|
||
Group: System/Libraries
|
||
Summary: Shared libraries for %{name}
|
||
|
||
%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}
|
||
|
||
%description -n lib%{name}-devel
|
||
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
||
|
||
%debug_package
|
||
|
||
%prep
|
||
%setup -q -n desktop-%{version}
|
||
|
||
%build
|
||
%cmake -d build
|
||
|
||
#-DOEM_THEME_DIR=$(realpath ../nextcloudtheme) ../client
|
||
|
||
%make
|
||
|
||
%install
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
%makeinstall -C build
|
||
|
||
install -d -m0755 %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||
cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/nextcloud.conf << _EOF
|
||
%{_libdir}/nextcloud
|
||
_EOF
|
||
|
||
install -d -m0755 %{buildroot}%{_datadir}/pixmaps
|
||
cp %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/Nextcloud.png %{buildroot}%{_datadir}/pixmaps/nextcloud.png
|
||
|
||
%clean
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
||
%post -p /sbin/ldconfig
|
||
%postun -p /sbin/ldconfig
|
||
|
||
%post -n lib%{name} -p /sbin/ldconfig
|
||
%postun -n lib%{name} -p /sbin/ldconfig
|
||
|
||
%files
|
||
%defattr(-,root,root)
|
||
%dir %{_sysconfdir}/Nextcloud
|
||
%{_sysconfdir}/Nextcloud/sync-exclude.lst
|
||
%{_sysconfdir}/ld.so.conf.d/nextcloud.conf
|
||
%{_bindir}/nextcloud
|
||
%{_bindir}/nextcloudcmd
|
||
%{_datadir}/applications/nextcloud.desktop
|
||
%{_datadir}/dbus-1/services/com.nextcloudgmbh.Nextcloud.service
|
||
%{_datadir}/pixmaps/nextcloud.png
|
||
%{_datadir}/icons/hicolor/*/apps/Nextcloud*.png
|
||
%{_datadir}/kservices5/nextclouddolphinactionplugin.desktop
|
||
%{_datadir}/nautilus-python/extensions/syncstate-Nextcloud.py
|
||
%{_datadir}/nemo-python/extensions/syncstate-Nextcloud.py
|
||
%{_datadir}/nextcloud/i18n/client_*.qm
|
||
%{_datadir}/caja-python/extensions/syncstate-Nextcloud.py
|
||
%{_datadir}/cloud-providers/com.nextcloudgmbh.Nextcloud.ini
|
||
|
||
%files -n lib%{name}
|
||
%defattr(-,root,root)
|
||
%{_libdir}/libnextclouddolphinpluginhelper.so
|
||
%{_libdir}/libnextcloudsync.so.*
|
||
%{_libdir}/nextcloud/libocsync.so.*
|
||
%{_libdir}/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so
|
||
%{_libdir}/qt5/plugins/nextclouddolphinactionplugin.so
|
||
%doc COPYING
|
||
|
||
%files -n lib%{name}-devel
|
||
%defattr(-,root,root)
|
||
%dir %{_includedir}/nextcloudsync
|
||
%dir %{_includedir}/nextcloudsync/creds
|
||
%{_includedir}/nextcloudsync/creds/*.h
|
||
%dir %{_includedir}/nextcloudsync/mirall
|
||
%{_includedir}/nextcloudsync/mirall/*.h
|
||
%{_libdir}/libnextcloudsync.so
|
||
%{_libdir}/nextcloud/libocsync.so
|
||
%doc README.md
|
||
|
||
%changelog
|
||
* Tue Apr 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.4-1mamba
|
||
- update to 2.6.4
|
||
|
||
* Tue Apr 10 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-1mamba
|
||
- package created using the webbuild interface
|