From 74fb267321f1edfe03d3461bf06048a14103ea17 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 07:37:28 +0100 Subject: [PATCH] package created using the webbuild interface [release 2.3.3-1mamba;Tue Apr 10 2018] --- README.md | 2 + nextcloud.spec | 123 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) create mode 100644 nextcloud.spec diff --git a/README.md b/README.md index e1fb7d8..71ff459 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # nextcloud +Nextcloud themed desktop client. Nextclod provides a safe home for all your data – community-driven, free & open source. + diff --git a/nextcloud.spec b/nextcloud.spec new file mode 100644 index 0000000..1568c0b --- /dev/null +++ b/nextcloud.spec @@ -0,0 +1,123 @@ +Name: nextcloud +Version: 2.3.3 +Release: 1mamba +Summary: Nextcloud themed desktop client +Group: Graphical Destkop/Applications/Internet +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://nextcloud.com +## GITSOURCE https://github.com/nextcloud/client_theming.git v2.3.3 +Source: https://github.com/nextcloud/client_theming.git/v%{version}/client_theming-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5WebKit-devel +BuildRequires: libgcc +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 client_theming-%{version} + +%build +%cmake -d build \ + -D OEM_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}/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 + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libnextclouddolphinpluginhelper.so +%{_libdir}/libnextcloudsync.so.* +%{_libdir}/nextcloud/libocsync.so.* +%{_libdir}/plugins/kf5/overlayicon/nextclouddolphinoverlayplugin.so +%{_libdir}/plugins/nextclouddolphinactionplugin.so +%doc LICENSE + +%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 10 2018 Silvan Calarco 2.3.3-1mamba +- package created using the webbuild interface