2011-09-29 11:26:27 +00:00
|
|
|
#
|
|
|
|
# spec file for package freerdp
|
|
|
|
#
|
2016-05-11 19:36:51 +00:00
|
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-09-29 11:26:27 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2011-12-02 13:03:18 +00:00
|
|
|
|
|
|
|
|
2010-11-17 12:07:09 +00:00
|
|
|
Name: freerdp
|
2016-05-11 19:36:51 +00:00
|
|
|
Version: 2.0.0git.a7ca42e
|
2011-12-01 17:22:13 +00:00
|
|
|
Release: 0
|
2012-03-28 11:18:32 +00:00
|
|
|
Summary: Remote Desktop Viewer Client
|
2012-03-27 23:52:37 +00:00
|
|
|
License: Apache-2.0
|
2010-11-17 12:07:09 +00:00
|
|
|
Group: Productivity/Networking/Other
|
2012-03-27 23:52:37 +00:00
|
|
|
Url: http://www.freerdp.com/
|
2016-05-11 19:36:51 +00:00
|
|
|
Source0: freerdp-2.0.0git.a7ca42e.tar.gz
|
2014-06-13 05:12:21 +00:00
|
|
|
BuildRequires: alsa-devel
|
2012-03-27 23:52:37 +00:00
|
|
|
BuildRequires: cmake
|
2011-12-01 17:22:13 +00:00
|
|
|
BuildRequires: cups-devel
|
2011-09-29 11:26:27 +00:00
|
|
|
BuildRequires: ed
|
2016-05-11 19:36:51 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gstreamer-devel
|
|
|
|
BuildRequires: gstreamer-plugins-base-devel
|
2014-06-13 05:12:21 +00:00
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpulse-devel
|
2016-05-11 19:36:51 +00:00
|
|
|
BuildRequires: libxkbcommon-devel
|
2014-06-13 05:12:21 +00:00
|
|
|
BuildRequires: pcsc-lite-devel
|
2016-05-11 19:36:51 +00:00
|
|
|
BuildRequires: systemd-devel
|
2012-03-27 23:52:37 +00:00
|
|
|
BuildRequires: xmlto
|
|
|
|
BuildRequires: xorg-x11-devel
|
2012-03-28 11:18:32 +00:00
|
|
|
BuildRequires: zlib-devel
|
2010-11-17 12:07:09 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-11-17 11:33:29 +00:00
|
|
|
|
|
|
|
%description
|
2011-09-29 11:26:27 +00:00
|
|
|
FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
|
2012-03-28 11:18:32 +00:00
|
|
|
following the Microsoft Open Specifications. This package provides the client
|
|
|
|
application.
|
2010-11-17 11:33:29 +00:00
|
|
|
|
|
|
|
%package devel
|
2011-09-29 11:26:27 +00:00
|
|
|
Summary: Development Files for %{name}
|
2010-11-17 12:07:09 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2016-05-11 19:36:51 +00:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: libfreerdp-1_0
|
|
|
|
Provides: libfreerdp-1_0-plugins
|
2010-11-17 11:33:29 +00:00
|
|
|
|
|
|
|
%description devel
|
2011-09-29 11:26:27 +00:00
|
|
|
This package contains development files necessary for developing applications
|
|
|
|
based on libfreerdp.
|
2010-11-17 13:31:13 +00:00
|
|
|
|
2010-11-17 11:33:29 +00:00
|
|
|
%prep
|
2013-01-28 16:36:51 +00:00
|
|
|
%setup -q -n FreeRDP-%{version}
|
2010-11-17 11:33:29 +00:00
|
|
|
|
|
|
|
%build
|
2016-05-11 19:36:51 +00:00
|
|
|
%cmake \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2012-03-28 11:18:32 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
2012-03-29 08:54:04 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=%{_lib} \
|
2016-05-11 19:36:51 +00:00
|
|
|
-DCMAKE_NO_BUILTIN_CHRPATH=ON \
|
2012-03-28 11:18:32 +00:00
|
|
|
-DWITH_ALSA=ON \
|
|
|
|
-DWITH_CUPS=ON \
|
|
|
|
-DWITH_FFMPEG=OFF \
|
2016-05-11 19:36:51 +00:00
|
|
|
-DWITH_PCSC=ON \
|
|
|
|
-DWITH_PULSEAUDIO=ON \
|
2012-12-28 22:00:14 +00:00
|
|
|
%ifarch %ix86 x86_64
|
2012-12-27 15:28:42 +00:00
|
|
|
-DWITH_SSE2=ON \
|
2012-12-28 18:40:48 +00:00
|
|
|
%endif
|
2012-03-28 11:18:32 +00:00
|
|
|
..
|
2016-05-11 19:36:51 +00:00
|
|
|
make %{?_smp_mflags}
|
2010-11-17 11:33:29 +00:00
|
|
|
|
|
|
|
%install
|
2012-03-27 23:52:37 +00:00
|
|
|
cd build
|
2013-11-04 12:58:03 +00:00
|
|
|
make install 'DESTDIR=%{buildroot}'
|
2016-05-11 19:36:51 +00:00
|
|
|
find %{buildroot} -name "*.a" -delete
|
2012-03-28 11:18:32 +00:00
|
|
|
|
2016-05-11 19:36:51 +00:00
|
|
|
%fdupes -s %{buildroot}
|
2010-11-17 11:33:29 +00:00
|
|
|
|
2016-05-11 19:36:51 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2010-11-17 11:33:29 +00:00
|
|
|
|
2016-05-11 19:36:51 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2010-11-17 11:33:29 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2012-03-27 23:52:37 +00:00
|
|
|
%doc LICENSE README ChangeLog
|
2016-05-11 19:36:51 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/*.so.*
|
2010-11-17 12:07:09 +00:00
|
|
|
%{_mandir}/man1/xfreerdp.1%{ext_man}
|
|
|
|
|
2010-11-17 11:33:29 +00:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2016-05-11 19:36:51 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/cmake/*
|
|
|
|
%{_libdir}/pkgconfig/*
|
2010-11-17 11:33:29 +00:00
|
|
|
|
2011-10-18 20:31:28 +00:00
|
|
|
%changelog
|