Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > e3708a650c8eb1db7dd38ca87b42c627 > files > 2

freerdp-2.0.0-0.rc2.1.mga6.src.rpm

%define up_name		freerdp2

%define winpr_major	2
%define uwac_major	0
%define major		2
%define libname		%mklibname %{name} %{major}
%define develname	%mklibname %{name} -d

%define rc_ver		1
%define rc_name		rc2
%if %{rc_ver}
%define release		%mkrel -c %{rc_name} %{rel}
%define tarballver	%{version}-%{rc_name}
%define tarballdir	%{version}-%{rc_name}
%else
%define release		%mkrel %{rel}
%define tarballver	%{version}
%define tarballdir	v%{version}
%endif

%define rel		1

Name:		freerdp
Version:	2.0.0
Release:	%{release}
Summary:	A free remote desktop protocol client
License:	Apache License
Group:		Networking/Remote access
Url:		http://www.freerdp.com/
Source0:	https://github.com/FreeRDP/FreeRDP/archive/%{tarballdir}/FreeRDP-%{tarballver}.tar.gz
BuildRequires:	cmake
BuildRequires:	docbook-style-xsl
BuildRequires:	xmlto
BuildRequires:	cups-devel
BuildRequires:	ffmpeg-devel
BuildRequires:	gsm-devel
BuildRequires:	pkgconfig(libjpeg)
BuildRequires:	pkgconfig(openssl)
BuildRequires:	pkgconfig(libpulse)
BuildRequires:	pkgconfig(xcursor)
BuildRequires:	pkgconfig(xinerama)
BuildRequires:	pkgconfig(xkbfile)
BuildRequires:	pkgconfig(xv)
BuildRequires:	pkgconfig(x11)
BuildRequires:	pkgconfig(gstreamer-1.0)
BuildRequires:	pkgconfig(gstreamer-base-1.0)
BuildRequires:	pkgconfig(gstreamer-app-1.0)
BuildRequires:	pkgconfig(gstreamer-audio-1.0)
BuildRequires:	pkgconfig(gstreamer-fft-1.0)
BuildRequires:	pkgconfig(gstreamer-pbutils-1.0)
BuildRequires:	pkgconfig(gstreamer-video-1.0)
BuildRequires:	pkgconfig(libpcsclite)
BuildRequires:	pkgconfig(systemd)
BuildRequires:	pkgconfig(xdamage)
BuildRequires:	pkgconfig(wayland-client)
BuildRequires:	pkgconfig(xrandr)
BuildRequires:	pkgconfig(xi)
BuildRequires:	pkgconfig(xkbcommon)
BuildRequires:	pkgconfig(zlib)

%description
FreeRDP is a fork of the rdesktop project.

#----------------------------------------------------

%package -n	%{libname}
Summary:	Main library for %{name}
Group:		System/Libraries
# ease for update
Conflicts:	%{mklibname freerdp 1} < 1.2.0-5

%description -n	%{libname}
Shared libraries for %{name}.

#----------------------------------------------------

%package -n	%{develname}
Summary:	Development files for %{name}
Group:		Development/C++
Requires:	%{libname} = %{version}-%{release}
Provides:	%{name}-devel = %{version}-%{release}

%description -n	%{develname}
Development files and headers for %{name}.

#----------------------------------------------------

%prep
%setup -qn FreeRDP-%{tarballver}

%build
%cmake \
    -DWITH_CUPS=ON \
    -DWITH_PULSE=ON \
    -DWITH_X11=ON \
    -DWITH_XCURSOR=ON \
    -DWITH_XEXT=ON \
    -DWITH_XINERAMA=ON \
    -DWITH_XKBFILE=ON \
    -DWITH_XV=ON \
    -DWITH_GSM=ON \
    -DWITH_JPEG=ON \
    -DWITH_WAYLAND=ON \
    -DWITH_PCSC=ON \
    -DWITH_ZLIB=ON \
    -DWITH_SERVER=ON \
    -DWITH_FFMPEG=ON \
    -DWITH_ALSA=OFF \
    -DWITH_CUNIT=OFF \
    -DWITH_DIRECTFB=OFF \
%ifarch x86_64
    -DWITH_SSE2=ON \
%else
    -DWITH_SSE2=OFF \
%endif
%ifarch armv7hl
    -DARM_FP_ABI=hard \
    -DWITH_NEON=OFF \
%endif
%ifarch armv7hnl
    -DARM_FP_ABI=hard \
    -DWITH_NEON=ON \
%endif
%ifarch armv5tl armv5tel armv6l armv7l
    -DARM_FP_ABI=soft \
    -DWITH_NEON=OFF \
%endif
    -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib}

%make_build

%install
%make_install -C build

# we don't want these
find %{buildroot} -name '*.la' -delete
find %{buildroot} -name '*.a' -delete

%files
%doc ChangeLog README
%license LICENSE
%{_bindir}/*
#%%{_libdir}/%%{name}/
%{_mandir}/man1/xfreerdp.1.*
%{_mandir}/man1/freerdp-shadow-cli.1.*
%{_mandir}/man1/winpr-hash.1.*
%{_mandir}/man1/winpr-makecert.1.*
%{_mandir}/man1/wlfreerdp.1.*
%{_mandir}/man7/wlog.7.*

%files -n %{libname}
%{_libdir}/lib*%{name}*.so.%{major}{,.*}
%{_libdir}/libwinpr*.so.%{winpr_major}{,.*}
%{_libdir}/libuwac*.so.%{uwac_major}{,.*}

%files -n %{develname}
%{_libdir}/*.so
%{_includedir}/%{up_name}/
%{_includedir}/winpr*/
%{_includedir}/uwac*/
%{_libdir}/pkgconfig/%{name}*.pc
%{_libdir}/pkgconfig/winpr*.pc
%{_libdir}/pkgconfig/uwac*.pc
%{_libdir}/cmake/FreeRDP*/
%{_libdir}/cmake/WinPR*/
%{_libdir}/cmake/uwac*/


%changelog
* Wed Apr 18 2018 daviddavid <daviddavid> 2.0.0-0.rc2.1.mga6
  (not released yet)
+ Revision: 1219803
- new version: 2.0.0-rc2 (Third release candidate for 2.0.0) (mga#22921)
- new version: 2.0.0-rc0 (First release candidate for 2.0.0)
- fixes multiple security issues (mga#21427)

* Tue May 02 2017 akien <akien> 2.0.0-0.git20161228.3.mga6
+ Revision: 1098287
- Rebuild for ffmpeg 3.3

* Wed Mar 08 2017 akien <akien> 2.0.0-0.git20161228.2.mga6
+ Revision: 1089854
- Rebuild for ffmpeg 3.2.4

* Sun Jan 01 2017 daviddavid <daviddavid> 2.0.0-0.git20161228.1.mga6
+ Revision: 1079495
- new snapshot release: 2.0.0-git20161228 (sixth attempt of freerdp 2)
  * commit: 90877f5acb61bdba5bf5a3cc4e7f42f42b0c51a2

* Wed Nov 02 2016 daviddavid <daviddavid> 2.0.0-0.git20161005.1.mga6
+ Revision: 1064736
- new snapshot release: 2.0.0-git20161005 (fifth attempt of freerdp 2)
  * commit: 1d06087b601a4cc723592e9a6efbf9bee0dc2d12
- enable sse2 only on x86_64 arch

* Fri Aug 12 2016 daviddavid <daviddavid> 2.0.0-0.git20160722.1.mga6
+ Revision: 1046080
- new snapshot release: 2.0.0-git20160722 (fourth attempt of freerdp 2)
  * commit: 5b2455f3147aca395a441fc65b602938600f0788

* Wed May 18 2016 daviddavid <daviddavid> 2.0.0-0.git20160513.1.mga6
+ Revision: 1016624
- new snapshot release: 2.0.0-git20160513 (third attempt of freerdp 2)
  * commit: 4e66df7228b14e432a0793d32ac2524d37cb88ec

* Mon Mar 28 2016 daviddavid <daviddavid> 2.0.0-0.git20160317.1.mga6
+ Revision: 995873
- new snapshot release: 2.0.0-git20160317 (second attempt of freerdp 2)
  * commit: 75ae3f58df5a14b4a67439aca96061a9c2ea5040
- now rdtk and winpr libmajor is 2
- update files list

* Fri Mar 04 2016 daviddavid <daviddavid> 2.0.0-0.git20160303.2.mga6
+ Revision: 985442
- add back our arm arch on armv5tl (removed accidentally)

* Fri Mar 04 2016 daviddavid <daviddavid> 2.0.0-0.git20160303.1.mga6
+ Revision: 985437
- new snapshot release: 2.0.0-git20160303 (first attempt of freerdp 2)
  * commit: 167fd478609cb5911bba0760d8e57f21806d8199
- remove merged upstream patches
- update files list

* Wed Jan 20 2016 daviddavid <daviddavid> 2.0.0-0.git20160112.2.mga6
+ Revision: 926048
- add our arm arch on armv5tl

* Thu Jan 14 2016 daviddavid <daviddavid> 2.0.0-0.git20160112.1.mga6
+ Revision: 922970
- new snapshot release: 2.0.0-git20160112
  * commit: 9b8b1d6480245cc3dbe14d3899a5deb323e5bfe5
- add patch1 to fix installation of winpr-wtypes.h and winpr-version.h headers files

* Mon Dec 14 2015 daviddavid <daviddavid> 2.0.0-0.git20151210.2.mga6
+ Revision: 910353
- conflict old library to ease update
- enable ffmpeg support
- add patch0 to fix installation of winpr-makecert and winpr-hash targets

* Fri Dec 11 2015 daviddavid <daviddavid> 2.0.0-0.git20151210.1.mga6
+ Revision: 909404
- new snapshot release: 2.0.0-git20151210
  * commit: 70b9e994e1f393021849865e0bc3f5985878c402
- enable gsm and jpeg support
- enable pcsclite and wayland-client support
- enable xdamage and systemd support
- enable freerdp-server support
- fix License

* Sat Nov 28 2015 neoclust <neoclust> 1.2.0-4.git20151016.2.mga6
+ Revision: 906773
- Add cmake switches for ARM from fedora

* Fri Oct 16 2015 daviddavid <daviddavid> 1.2.0-4.git20151016.1.mga6
+ Revision: 892221
- new snapshot release: 1.2.0-git20151016 (fix build failure for new gstreamer versions)
  * commit: 7aca1e0dc506bc91cca3f3b9e05c8bd653b09032

* Sun Sep 20 2015 daviddavid <daviddavid> 1.2.0-4.git20150918.2.mga6
+ Revision: 882007
- new snapshot release: 1.2.0-git20150918
  * commit: d1cb3410de0d1c7b2bb8a5e201690799b5f485fb

* Thu Sep 03 2015 daviddavid <daviddavid> 1.2.0-4.git72d9014.1.mga6
+ Revision: 872508
- new snapshot release: 1.2.0-git72d901454c45f87e625e474b2ee7f94e1b1b64d8
  * needed for Remmina 1.2.0 build
- update URL and Source URL
- remove no more needed previous cmake patch
- update file list
- introduce license macro

* Thu Aug 27 2015 ovitters <ovitters> 1.2.0-3.mga6
+ Revision: 870296
- enable xrandr,xi

* Thu Aug 27 2015 ovitters <ovitters> 1.2.0-2.mga6
+ Revision: 870292
- enable gstreamer 1.0 support

* Thu Aug 27 2015 ovitters <ovitters> 1.2.0-1.mga6
+ Revision: 870273
- really add patch
- add patch to fix build with new cmake
- new version 1.2.0-beta1-android9

* Wed Oct 15 2014 umeabot <umeabot> 1.0.2-5.mga5
+ Revision: 740922
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.0.2-4.mga5
+ Revision: 679349
- Mageia 5 Mass Rebuild

* Tue Jul 01 2014 luigiwalser <luigiwalser> 1.0.2-3.mga5
+ Revision: 641803
- rebuild to update release tag

* Tue Jul 01 2014 luigiwalser <luigiwalser> 1.0.2-2.mga5
+ Revision: 641790
- add patches from opensuse to fix CVE-2014-0250 and CVE-2014-0791

* Sat Oct 19 2013 umeabot <umeabot> 1.0.2-2.mga4
+ Revision: 527532
- Mageia 4 Mass Rebuild

* Sun Jun 09 2013 fwang <fwang> 1.0.2-1.mga4
+ Revision: 441066
- new version 1.0.2

* Fri Jan 11 2013 umeabot <umeabot> 1.0.1-2.mga3
+ Revision: 350933
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Tue Aug 07 2012 guillomovitch <guillomovitch> 1.0.1-1.mga3
+ Revision: 279710
- new version

* Thu Mar 03 2011 saispo <saispo> 0.8.2-1.mga1
+ Revision: 63376
- imported package freerdp