SHA256
1
0
forked from pool/freerdp

- split off -plugins subpackage

- specfile cleanup
- update to version 1.0.1
  - FreeRDP 1.x series is a complete rewrite now licensed under
    the Apache License 2.0
  - RemoteFX
    - Both encoder and decoder
    - SSE2 and NEON optimization
  - NSCodec
  - RemoteApp
    - Working, minor glitches
  - Multimedia Redirection
    - ffmpeg support
  - Network Level Authentication (NLA)
    - NTLMv2
  - Certificate validation
  - FIPS-compliant RDP security
  - new build system (cmake)
  - added official logo and icon

OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/freerdp?expand=0&rev=14
This commit is contained in:
Guido Berhoerster 2012-03-28 11:18:32 +00:00 committed by Git OBS Bridge
parent 1bf0c53991
commit 8be227d1aa
2 changed files with 91 additions and 78 deletions

View File

@ -1,30 +1,30 @@
-------------------------------------------------------------------
Wed Mar 28 09:37:04 UTC 2012 - gber@opensuse.org
- split off -plugins subpackage
- specfile cleanup
-------------------------------------------------------------------
Tue Mar 6 19:55:41 UTC 2012 - gankov@opensuse.org
- rewrote spec for using cmake.
- update to 1.0.1
FreeRDP 1.0 is the first release of FreeRDP under the Apache
License 2.0.
The FreeRDP 1.x series is a rewrite, meaning there is no
continuity with the previous FreeRDP 0.x series which were
released under GPLv2.
New Features:
* RemoteFX
* Both encoder and decoder
* SSE2 and NEON optimization
* NSCodec
* RemoteApp
* Working, minor glitches
* Multimedia Redirection
* ffmpeg support
* Network Level Authentication (NLA)
* NTLMv2
* Certificate validation
* FIPS-compliant RDP security
* new build system (cmake)
* added official logo and icon
- update to version 1.0.1
- FreeRDP 1.x series is a complete rewrite now licensed under
the Apache License 2.0
- RemoteFX
- Both encoder and decoder
- SSE2 and NEON optimization
- NSCodec
- RemoteApp
- Working, minor glitches
- Multimedia Redirection
- ffmpeg support
- Network Level Authentication (NLA)
- NTLMv2
- Certificate validation
- FIPS-compliant RDP security
- new build system (cmake)
- added official logo and icon
-------------------------------------------------------------------
Fri Dec 2 13:02:52 UTC 2011 - gber@opensuse.org

View File

@ -16,49 +16,56 @@
#
%define soname 1
%define libname libfreerdp-1_0
Name: freerdp
Version: 1.0.1
Release: 0
Summary: Remote Desktop Viewer
Summary: Remote Desktop Viewer Client
License: Apache-2.0
Group: Productivity/Networking/Other
Url: http://www.freerdp.com/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source0: https://github.com/downloads/FreeRDP/FreeRDP/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: cups-devel
BuildRequires: ed
BuildRequires: xmlto
BuildRequires: xorg-x11-devel
BuildRequires: zlib-devel
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpcsclite)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(openssl)
Recommends: libfreerdp-plugins
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libfreerdp%{soname} = %{version}
%description
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
following the Microsoft Open Specifications.
following the Microsoft Open Specifications. This package provides the client
application.
%package -n libfreerdp%{soname}
%package -n %{libname}
Summary: Remote Desktop Viewer Library
Group: System/Libraries
Provides: libfreerdpchanman%{soname} = %{version}-%{release}
Provides: libfreerdpgdi%{soname} = %{version}-%{release}
Provides: libfreerdpkbd%{soname} = %{version}-%{release}
%description -n libfreerdp%{soname}
%description -n %{libname}
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
following the Microsoft Open Specifications.
following the Microsoft Open Specifications. This package provides the shared
library.
This package provides the shared library as well as its plugins.
%package -n %{libname}-plugins
Summary: Plugins for %{libname}
Group: System/Libraries
Provides: libfreerdp-plugins = %{version}
Requires: %{libname} = %{version}
%description -n %{libname}-plugins
This package provides plugins for %{libname}.
%package devel
Summary: Development Files for %{name}
Group: Development/Libraries/C and C++
Requires: libfreerdp%{soname} = %{version}
Requires: %{libname} = %{version}
%description devel
This package contains development files necessary for developing applications
@ -69,7 +76,7 @@ based on libfreerdp.
# use a versioned subdirectory for plugins in order to comply with the shared
# library policy
ed -s CMakeLists.txt 2>/dev/null <<'EOF'
,s/FREERDP_PLUGIN_PATH "\${CMAKE_INSTALL_PREFIX}\/\${CMAKE_INSTALL_LIBDIR}\/freerdp"/FREERDP_PLUGIN_PATH "\${CMAKE_INSTALL_PREFIX}\/\${CMAKE_INSTALL_LIBDIR}\/freerdp%{soname}"/
,s/FREERDP_PLUGIN_PATH "\${CMAKE_INSTALL_PREFIX}\/\${CMAKE_INSTALL_LIBDIR}\/freerdp"/FREERDP_PLUGIN_PATH "\${CMAKE_INSTALL_PREFIX}\/\${CMAKE_INSTALL_LIBDIR}\/%{libname}"/
w
EOF
@ -77,27 +84,29 @@ EOF
mkdir build
cd build
export CFLAGS="%{optflags}"
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_PULSEAUDIO=ON \
-DWITH_PCSC=ON \
-DWITH_CUPS=ON \
-DWITH_FFMPEG=OFF \
-DWITH_SSE2=OFF \
..
cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_ALSA=ON \
-DWITH_PULSEAUDIO=ON \
-DWITH_PCSC=ON \
-DWITH_CUPS=ON \
-DWITH_FFMPEG=OFF \
-DWITH_SSE2=OFF \
..
make %{?_smp_mflags} VERBOSE=1
%install
cd build
%make_install
cd ..
# remove keymaps as we make use of libxkbfile
rm -rf $RPM_BUILD_ROOT/usr/share/freerdp/keymaps/
%post -n libfreerdp%{soname} -p /sbin/ldconfig
%post -n %{libname} -p /sbin/ldconfig
%postun -n libfreerdp%{soname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
@ -106,37 +115,41 @@ rm -rf $RPM_BUILD_ROOT/usr/share/freerdp/keymaps/
%{_datadir}/%{name}
%{_mandir}/man1/xfreerdp.1%{ext_man}
%files -n libfreerdp%{soname}
%files -n %{libname}
%defattr(-,root,root)
%doc LICENSE
%{_libdir}/libfreerdp-cache.so.%{soname}.*
%{_libdir}/libfreerdp-channels.so.%{soname}.*
%{_libdir}/libfreerdp-codec.so.%{soname}.*
%{_libdir}/libfreerdp-core.so.%{soname}.*
%{_libdir}/libfreerdp-gdi.so.%{soname}.*
%{_libdir}/libfreerdp-kbd.so.%{soname}.*
%{_libdir}/libfreerdp-rail.so.%{soname}.*
%{_libdir}/libfreerdp-utils.so.%{soname}.*
%dir %{_libdir}/freerdp%{soname}
%{_libdir}/freerdp%{soname}/audin.so
%{_libdir}/freerdp%{soname}/audin_alsa.so
%{_libdir}/freerdp%{soname}/audin_pulse.so
%{_libdir}/freerdp%{soname}/cliprdr.so
%{_libdir}/freerdp%{soname}/disk.so
%{_libdir}/freerdp%{soname}/drdynvc.so
%{_libdir}/freerdp%{soname}/parallel.so
%{_libdir}/freerdp%{soname}/printer.so
%{_libdir}/freerdp%{soname}/rdpdr.so
%{_libdir}/freerdp%{soname}/rdpsnd.so
%{_libdir}/freerdp%{soname}/rdpsnd_alsa.so
%{_libdir}/freerdp%{soname}/rdpsnd_pulse.so
%{_libdir}/freerdp%{soname}/scard.so
%{_libdir}/freerdp%{soname}/serial.so
%{_libdir}/freerdp%{soname}/rail.so
%{_libdir}/freerdp%{soname}/rdpdbg.so
%{_libdir}/freerdp%{soname}/tsmf.so
%{_libdir}/freerdp%{soname}/tsmf_alsa.so
%{_libdir}/freerdp%{soname}/tsmf_pulse.so
%{_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.*
%files -n %{libname}-plugins
%defattr(-,root,root)
%doc LICENSE
%dir %{_libdir}/%{libname}
%{_libdir}/%{libname}/audin.so
%{_libdir}/%{libname}/audin_alsa.so
%{_libdir}/%{libname}/audin_pulse.so
%{_libdir}/%{libname}/cliprdr.so
%{_libdir}/%{libname}/disk.so
%{_libdir}/%{libname}/drdynvc.so
%{_libdir}/%{libname}/parallel.so
%{_libdir}/%{libname}/printer.so
%{_libdir}/%{libname}/rdpdr.so
%{_libdir}/%{libname}/rdpsnd.so
%{_libdir}/%{libname}/rdpsnd_alsa.so
%{_libdir}/%{libname}/rdpsnd_pulse.so
%{_libdir}/%{libname}/scard.so
%{_libdir}/%{libname}/serial.so
%{_libdir}/%{libname}/rail.so
%{_libdir}/%{libname}/rdpdbg.so
%{_libdir}/%{libname}/tsmf.so
%{_libdir}/%{libname}/tsmf_alsa.so
%{_libdir}/%{libname}/tsmf_pulse.so
%files devel
%defattr(-,root,root)