From ae4874f0df39a3663fc4f77feeb53733cf3b61fb Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 22:33:25 +0100 Subject: [PATCH] update to 1.0.2 [release 1.0.2-1mamba;Mon Apr 22 2013] --- README.md | 2 + ...p-1.0.1-fix_not_linked_with_libpulse.patch | 35 ++++ freerdp.spec | 155 ++++++++++++++++++ 3 files changed, 192 insertions(+) create mode 100644 freerdp-1.0.1-fix_not_linked_with_libpulse.patch create mode 100644 freerdp.spec diff --git a/README.md b/README.md index 58ed4b5..357739c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # freerdp +FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), according to the Microsoft Open Specifications. + diff --git a/freerdp-1.0.1-fix_not_linked_with_libpulse.patch b/freerdp-1.0.1-fix_not_linked_with_libpulse.patch new file mode 100644 index 0000000..f4d539d --- /dev/null +++ b/freerdp-1.0.1-fix_not_linked_with_libpulse.patch @@ -0,0 +1,35 @@ +diff -ru freerdp-1.0.1/channels/drdynvc/audin/pulse/CMakeLists.txt freerdp-1.0.1-c10866db/channels/drdynvc/audin/pulse/CMakeLists.txt +--- freerdp-1.0.1/channels/drdynvc/audin/pulse/CMakeLists.txt 2012-02-10 03:01:42.000000000 +0100 ++++ freerdp-1.0.1-c10866db/channels/drdynvc/audin/pulse/CMakeLists.txt 2012-09-30 19:56:14.000000000 +0200 +@@ -28,7 +28,7 @@ + set_target_properties(audin_pulse PROPERTIES PREFIX "") + + target_link_libraries(audin_pulse freerdp-utils) +-target_link_libraries(audin_pulse ${PULSE_LIBRARIES}) ++target_link_libraries(audin_pulse ${PULSEAUDIO_LIBRARY}) + + install(TARGETS audin_pulse DESTINATION ${FREERDP_PLUGIN_PATH}) + +diff -ru freerdp-1.0.1/channels/drdynvc/tsmf/pulse/CMakeLists.txt freerdp-1.0.1-c10866db/channels/drdynvc/tsmf/pulse/CMakeLists.txt +--- freerdp-1.0.1/channels/drdynvc/tsmf/pulse/CMakeLists.txt 2012-02-10 03:01:42.000000000 +0100 ++++ freerdp-1.0.1-c10866db/channels/drdynvc/tsmf/pulse/CMakeLists.txt 2012-09-30 19:56:43.000000000 +0200 +@@ -28,7 +28,7 @@ + set_target_properties(tsmf_pulse PROPERTIES PREFIX "") + + target_link_libraries(tsmf_pulse freerdp-utils) +-target_link_libraries(tsmf_pulse ${PULSE_LIBRARIES}) ++target_link_libraries(tsmf_pulse ${PULSEAUDIO_LIBRARY}) + + install(TARGETS tsmf_pulse DESTINATION ${FREERDP_PLUGIN_PATH}) + +diff -ru freerdp-1.0.1/channels/rdpsnd/pulse/CMakeLists.txt freerdp-1.0.1-c10866db/channels/rdpsnd/pulse/CMakeLists.txt +--- freerdp-1.0.1/channels/rdpsnd/pulse/CMakeLists.txt 2012-02-10 03:01:42.000000000 +0100 ++++ freerdp-1.0.1-c10866db/channels/rdpsnd/pulse/CMakeLists.txt 2012-09-30 19:57:14.000000000 +0200 +@@ -28,6 +28,6 @@ + set_target_properties(rdpsnd_pulse PROPERTIES PREFIX "") + + target_link_libraries(rdpsnd_pulse freerdp-utils) +-target_link_libraries(rdpsnd_pulse ${PULSE_LIBRARIES}) ++target_link_libraries(rdpsnd_pulse ${PULSEAUDIO_LIBRARY}) + + install(TARGETS rdpsnd_pulse DESTINATION ${FREERDP_PLUGIN_PATH}) diff --git a/freerdp.spec b/freerdp.spec new file mode 100644 index 0000000..26caaa0 --- /dev/null +++ b/freerdp.spec @@ -0,0 +1,155 @@ +Name: freerdp +Version: 1.0.2 +Release: 1mamba +Summary: A Remote Desktop Protocol Implementation +Group: Applications/Networking +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.freerdp.com/ +Source0: https://github.com/FreeRDP/FreeRDP/archive/%{version}.tar.gz +Patch0: %{name}-1.0.1-fix_not_linked_with_libpulse.patch +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libalsa-devel +BuildRequires: libavcodec-ffmpeg-devel +BuildRequires: libavutil-ffmpeg-devel +BuildRequires: libcups-devel +BuildRequires: libdirectfb-devel +BuildRequires: libopenssl-devel +BuildRequires: libpcsclite-devel +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel +BuildRequires: libXext-devel +BuildRequires: libXinerama-devel +BuildRequires: libxkbfile-devel +BuildRequires: libXv-devel +BuildRequires: libz-devel +BuildRequires: pkg-config +## AUTOBUILDREQ-END +BuildRequires: cmake +BuildRequires: xmlto +BuildRequires: libxml2-utils +BuildRequires: docbook-utils +Requires: %{name}-plugins = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), according to the Microsoft Open Specifications. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. +libfreerdp-core can be embedded in applications. +libfreerdp-channels and libfreerdp-kbd might be convenient to use in X applications together with libfreerdp-core. +libfreerdp-core can be extended with plugins handling RDP channels. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + +%package plugins +Group: Applications/Networking +Summary: Plugins for handling the standard RDP channels +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description plugins +A set of plugins to the channel manager implementing the standard virtual channels extending RDP core functionality. +For instance, sounds, clipboard sync, disk/printer redirection, etc. + +%debug_package + +%prep +%setup -q -n FreeRDP-%{version} +#%patch0 -p1 + +%build +%cmake -d build \ + -DCMAKE_BUILD_TYPE=Release \ + -DWITH_CUPS:BOOL=ON \ + -DWITH_PCSC:BOOL=ON \ + -DWITH_PULSEAUDIO:BOOL=ON \ + -DWITH_X11:BOOL=ON \ + -DWITH_XCURSOR:BOOL=ON \ + -DWITH_XEXT:BOOL=ON \ + -DWITH_XINERAMA:BOOL=ON \ + -DWITH_XKBFILE:BOOL=ON \ + -DWITH_XV:BOOL=ON \ + -DWITH_ALSA:BOOL=ON \ + -DWITH_CUNIT:BOOL=OFF \ + -DWITH_DIRECTFB:BOOL=ON \ + -DWITH_FFMPEG:BOOL=ON \ + -DWITH_SSE2=OFF \ + -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/xfreerdp +%{_bindir}/dfreerdp +%{_datadir}/%{name} +%{_mandir}/man1/xfreerdp.* +%doc LICENSE + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libfreerdp-cache.so.* +%{_libdir}/libfreerdp-channels.so.* +%{_libdir}/libfreerdp-codec.so.* +%{_libdir}/libfreerdp-core.so.* +%{_libdir}/libfreerdp-gdi.so.* +%{_libdir}/libfreerdp-kbd.so.* +%{_libdir}/libfreerdp-rail.so.* +%{_libdir}/libfreerdp-utils.so.* +%dir %{_libdir}/freerdp + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/freerdp/ +%{_libdir}/libfreerdp-cache.so +%{_libdir}/libfreerdp-channels.so +%{_libdir}/libfreerdp-codec.so +%{_libdir}/libfreerdp-core.so +%{_libdir}/libfreerdp-gdi.so +%{_libdir}/libfreerdp-kbd.so +%{_libdir}/libfreerdp-rail.so +%{_libdir}/libfreerdp-utils.so +%{_libdir}/pkgconfig/freerdp.pc + +%files plugins +%defattr(-,root,root) +%{_libdir}/freerdp/*.so + +%changelog +* Mon Apr 22 2013 Automatic Build System 1.0.2-1mamba +- update to 1.0.2 + +* Sun Sep 30 2012 Davide Madrisan 1.0.1-3mamba +- add the %{name}-plugins subpackage +- enable the pulseaudio plugin +- fix linking of rdpsnd_pulse.so against libpulse.so.0 + +* Sun Sep 30 2012 Davide Madrisan 1.0.1-2mamba +- build requires libxml2-utils and docbook-utils + +* Sat Sep 29 2012 Davide Madrisan 1.0.1-1mamba +- package created by autospec