diff --git a/README.md b/README.md index a73debe..42f068e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # veyon +Cross-platform computer monitoring and classroom management. + diff --git a/italc-2.0.0-fix-missing-includes.patch b/italc-2.0.0-fix-missing-includes.patch new file mode 100644 index 0000000..6c8f2ff --- /dev/null +++ b/italc-2.0.0-fix-missing-includes.patch @@ -0,0 +1,14 @@ +diff -Nru italc-2.0.0.orig/lib/src/LocalSystem.cpp italc-2.0.0/lib/src/LocalSystem.cpp +--- italc-2.0.0.orig/lib/src/LocalSystem.cpp 2011-08-03 23:18:00.000000000 +0200 ++++ italc-2.0.0/lib/src/LocalSystem.cpp 2013-04-28 18:12:28.663832552 +0200 +@@ -30,6 +30,10 @@ + #include + #include + ++#ifdef ITALC_BUILD_LINUX ++#include ++#include ++#endif + + #ifdef ITALC_BUILD_WIN32 + diff --git a/veyon.spec b/veyon.spec new file mode 100644 index 0000000..b241463 --- /dev/null +++ b/veyon.spec @@ -0,0 +1,109 @@ +Name: veyon +Version: 4.7.0 +Release: 1mamba +Summary: Cross-platform computer monitoring and classroom management +Group: Graphical Desktop/Applications/Educational +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://veyon.io/it/ +Source: https://github.com/veyon/veyon.git/v%{version}/veyon-%{version}.tar.bz2 +Patch2: italc-2.0.0-fix-missing-includes.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libICE-devel +BuildRequires: libSM-devel +BuildRequires: libX11-devel +BuildRequires: libXcomposite-devel +BuildRequires: libXcursor-devel +BuildRequires: libXdamage-devel +BuildRequires: libXext-devel +BuildRequires: libXfixes-devel +BuildRequires: libXi-devel +BuildRequires: libXinerama-devel +BuildRequires: libXrandr-devel +BuildRequires: libXtst-devel +BuildRequires: libfakekey-devel +BuildRequires: libgcc +BuildRequires: libopenldap-devel +BuildRequires: libopenssl-devel +BuildRequires: libpam-devel +BuildRequires: libprocps-devel +BuildRequires: libqca-qt5-devel +BuildRequires: libsasl2-devel +BuildRequires: libstdc++6-devel +BuildRequires: libvncserver-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +Provides: italc +Obsoletes: italc <= 2.0.2 + +%description +Cross-platform computer monitoring and classroom management. + +%debug_package + +%prep +%setup -q +#%patch2 -p1 + +%build +%cmake -d build \ + -DSYSTEMD_SERVICE_INSTALL_DIR=%{_unitdir} + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_unitdir}/veyon.service +%{_bindir}/veyon-* +%dir %{_libdir}/veyon +%{_libdir}/veyon/* +%{_datadir}/applications/veyon-configurator.desktop +%{_datadir}/applications/veyon-master.desktop +%{_datadir}/polkit-1/actions/io.veyon.veyon-configurator.policy +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/icons/hicolor/scalable/apps/*.svg +%{_datadir}/pixmaps/*.xpm +%dir %{_datadir}/veyon/translations +%{_datadir}/veyon/translations/*.qm +%doc COPYING + +%changelog +* Sun Jan 09 2022 Silvan Calarco 4.7.0-1mamba +- update to 4.7.0 + +* Thu Jul 31 2014 Automatic Build System 2.0.2-1mamba +- automatic update by autodist + +* Sun Aug 11 2013 Automatic Build System 2.0.1-1mamba +- automatic update by autodist + +* Fri May 17 2013 Automatic Build System 2.0.0-1mamba +- automatic version update by autodist + +* Thu Jan 13 2011 Automatic Build System 1.0.13-1mamba +- automatic update by autodist + +* Wed Dec 15 2010 Automatic Build System 1.0.12-1mamba +- automatic update by autodist + +* Sat Oct 30 2010 Automatic Build System 1.0.11-1mamba +- automatic update by autodist + +* Sat Jun 13 2009 Automatic Build System 1.0.9-2mamba +- automatic rebuild by autodist + +* Mon Feb 02 2009 Silvan Calarco 1.0.9-1mamba +- update to 1.0.9 + +* Sat Jun 14 2008 Ercole 'ercolinux' Carpanetto rc3-1mamba +- package created by autospec