SHA256
1
0
forked from pool/freerdp

Accepting request 111469 from home:Gankov:branches:X11:RemoteDesktop

fix all requirements
Thanks Guido Berhoerster

OBS-URL: https://build.opensuse.org/request/show/111469
OBS-URL: https://build.opensuse.org/package/show/X11:RemoteDesktop/freerdp?expand=0&rev=13
This commit is contained in:
Guido Berhoerster 2012-03-27 23:52:37 +00:00 committed by Git OBS Bridge
parent 9523cfb21e
commit 1bf0c53991
5 changed files with 87 additions and 52 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:389a707b491bd1905c8395ede3df61ac73a55d866f8a56354c6442c23c8730e1
size 936410

3
freerdp-1.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:144175e46a6bd01eea6f1f4f8fc9f33f802733bb06c1f05b5083d58b11df79e0
size 3502100

View File

@ -1,11 +0,0 @@
--- configure.ac.orig 2010-11-17 14:10:59.000000000 +0100
+++ configure.ac 2010-11-17 14:25:59.000000000 +0100
@@ -1,7 +1,6 @@
AC_INIT(freerdp, m4_esyscmd([build-aux/git-version-gen .tarball-version]),
[freerdp-devel@lists.sourceforge.net])
-AM_INIT_AUTOMAKE([1.11 dist-xz color-tests parallel-tests])
-AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
+AM_INIT_AUTOMAKE([1.10])
AM_CONFIG_HEADER([config.h])
AC_CONFIG_SRCDIR([libfreerdp/freerdp.c])

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
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
-------------------------------------------------------------------
Fri Dec 2 13:02:52 UTC 2011 - gber@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package freerdp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,25 +16,25 @@
#
%define soname 0
%define soname 1
Name: freerdp
Version: 0.8.2
Version: 1.0.1
Release: 0
Summary: Remote Desktop Viewer
Url: http://www.freerdp.com/
License: GPL-2.0+
License: Apache-2.0
Group: Productivity/Networking/Other
Source0: http://sourceforge.net/projects/freerdp/files/0.8/freerdp-%{version}.tar.gz
# PATCH-FIX-OPENSUSE freerdp-remove_am_silent_rules.patch pascal.bleser@opensuse.org -- Remove the AM_SILENT_RULES tag, useless and is undefined on older dists when running autoreconf
Patch0: freerdp-remove_am_silent_rules.patch
BuildRequires: automake
BuildRequires: libtool
Url: http://www.freerdp.com/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: cups-devel
BuildRequires: ed
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(openssl)
BuildRequires: xmlto
BuildRequires: xorg-x11-devel
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpcsclite)
BuildRequires: pkgconfig(libpulse)
BuildRequires: pkgconfig(openssl)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: libfreerdp%{soname} = %{version}
@ -66,28 +66,34 @@ based on libfreerdp.
%prep
%setup -q
%patch0
# use a versioned subdirectory for plugins in order to comply with the shared
# library policy
ed -s configure.ac 2>/dev/null <<'EOF'
,s/PLUGIN_PATH='\${libdir}\/freerdp'/PLUGIN_PATH='\${libdir}\/freerdp%{soname}'/
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}"/
w
EOF
%build
autoreconf -fi
%configure \
--disable-static \
--with-ipv6 \
--enable-smartcard \
--with-sound=alsa \
--with-crypto=openssl
make %{?_smp_mflags} V=1
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 \
..
make %{?_smp_mflags} VERBOSE=1
%install
cd build
%make_install
find "%{buildroot}%{_libdir}" -name '*.la' -exec rm -f {} +
cd ..
rm -rf $RPM_BUILD_ROOT/usr/share/freerdp/keymaps/
%post -n libfreerdp%{soname} -p /sbin/ldconfig
@ -95,38 +101,50 @@ find "%{buildroot}%{_libdir}" -name '*.la' -exec rm -f {} +
%files
%defattr(-,root,root)
%doc COPYING AUTHORS doc/ipv6.txt doc/ChangeLog
%doc LICENSE README ChangeLog
%{_bindir}/xfreerdp
%{_datadir}/%{name}
%{_mandir}/man1/xfreerdp.1%{ext_man}
%files -n libfreerdp%{soname}
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libfreerdp.so.%{soname}
%{_libdir}/libfreerdp.so.%{soname}.*
%{_libdir}/libfreerdpchanman.so.%{soname}
%{_libdir}/libfreerdpchanman.so.%{soname}.*
%{_libdir}/libfreerdpgdi.so.%{soname}
%{_libdir}/libfreerdpgdi.so.%{soname}.*
%{_libdir}/libfreerdpkbd.so.%{soname}
%{_libdir}/libfreerdpkbd.so.%{soname}.*
%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}/pnpdr.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
%files devel
%defattr(-,root,root)
%{_includedir}/freerdp
%{_libdir}/lib*.so
%dir %{_includedir}/freerdp
%dir %{_includedir}/freerdp/*
%{_includedir}/freerdp/*.h
%{_includedir}/freerdp/*/*.h
%{_libdir}/libfreerdp-*.so
%{_libdir}/pkgconfig/freerdp.pc
%changelog