124 lines
3.8 KiB
RPMSpec
124 lines
3.8 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
||
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 <silvan.calarco@mambasoft.it> 2.3.3-1mamba
|
||
- package created using the webbuild interface
|