nextcloud/nextcloud.spec

151 lines
4.7 KiB
RPMSpec
Raw Permalink Normal View History

Name: nextcloud
Version: 3.11.0
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
Source: https://github.com/nextcloud/desktop.git/v%{version}/desktop-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Positioning-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5WebChannel-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libQt5WebSockets-devel
BuildRequires: libX11-devel
BuildRequires: libcloudproviders-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libkarchive-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libopenssl-devel
BuildRequires: libqtkeychain-devel
BuildRequires: libsolid-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtquickcontrols2-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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/com.nextcloud.desktopclient.nextcloud.desktop
%{_datadir}/mime/packages/nextcloud.xml
%{_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}/libnextcloudsync.so.*
%{_libdir}/libnextcloud_csync.so.*
%{_libdir}/libnextclouddolphinpluginhelper.so
%{_libdir}/nextcloudsync_vfs_suffix.so
%{_libdir}/nextcloudsync_vfs_xattr.so
%{_libdir}/qt5/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so
%{_libdir}/qt5/plugins/kf5/kfileitemaction/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}/libnextcloud_csync.so
%doc README.md
%changelog
* Tue Dec 12 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11.0-1mamba
- update to 3.11.0
* Thu Dec 29 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.4-1mamba
- update to 3.6.4
* Mon Dec 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.1-1mamba
- update to 3.4.1
* 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