update to 1.0.2 [release 1.0.2-1mamba;Mon Apr 22 2013]

This commit is contained in:
Automatic Build System 2024-01-05 22:33:25 +01:00
parent 82b7605fe1
commit ae4874f0df
3 changed files with 192 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# freerdp
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), according to the Microsoft Open Specifications.

View File

@ -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})

155
freerdp.spec Normal file
View File

@ -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 <davide.madrisan@gmail.com>
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 <autodist@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Sun Sep 30 2012 Davide Madrisan <davide.madrisan@gmail.com> 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 <davide.madrisan@gmail.com> 1.0.1-2mamba
- build requires libxml2-utils and docbook-utils
* Sat Sep 29 2012 Davide Madrisan <davide.madrisan@gmail.com> 1.0.1-1mamba
- package created by autospec