freerdp/freerdp.spec

387 lines
13 KiB
RPMSpec
Raw Normal View History

2015-11-15 10:56:06 +00:00
%global commit0 be8f8f72387e7878717b6f04c9a87f999449d20d
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
2010-11-08 22:37:46 +00:00
Name: freerdp
2015-11-15 10:56:06 +00:00
Version: 2.0.0
Release: 1%{?shortcommit0:.git.%{shortcommit0}}%{?dist}
Epoch: 2
2014-06-18 07:22:04 +00:00
Summary: Free implementation of the Remote Desktop Protocol (RDP)
License: ASL 2.0
2010-11-08 22:37:46 +00:00
URL: http://www.freerdp.com/
2015-11-15 10:56:06 +00:00
Source0: https://github.com/FreeRDP/FreeRDP/archive/%{commit0}/FreeRDP-%{commit0}.tar.gz#/FreeRDP-%{shortcommit0}.tar.gz
2014-06-07 19:53:39 +00:00
Patch0: freerdp-aarch64.patch
2010-11-08 22:37:46 +00:00
2014-06-18 07:22:04 +00:00
BuildRequires: alsa-lib-devel
BuildRequires: cmake >= 2.8
BuildRequires: cups-devel
BuildRequires: gsm-devel
BuildRequires: gstreamer1-devel
BuildRequires: gstreamer1-plugins-base-devel
2010-11-08 22:37:46 +00:00
BuildRequires: openssl-devel
2014-06-18 07:22:04 +00:00
BuildRequires: libjpeg-turbo-devel
2015-11-15 10:56:06 +00:00
BuildRequires: libwayland-client-devel
2010-11-08 22:37:46 +00:00
BuildRequires: libX11-devel
BuildRequires: libXcursor-devel
BuildRequires: libXdamage-devel
2014-06-18 07:22:04 +00:00
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libXinerama-devel
BuildRequires: libxkbfile-devel
2014-06-18 07:22:04 +00:00
BuildRequires: libXrandr-devel
BuildRequires: libXv-devel
BuildRequires: pcsc-lite-devel
2014-06-18 07:22:04 +00:00
BuildRequires: pulseaudio-libs-devel
2015-11-15 10:56:06 +00:00
BuildRequires: systemd-devel
2014-06-18 07:22:04 +00:00
BuildRequires: xmlto
BuildRequires: zlib-devel
2010-11-08 22:37:46 +00:00
Provides: xfreerdp = %{version}-%{release}
2013-09-10 11:58:50 +00:00
Requires: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
2014-06-18 07:22:04 +00:00
Requires: libwinpr%{?_isa} = %{?epoch}:%{version}-%{release}
2010-11-08 22:37:46 +00:00
%description
2014-06-18 07:22:04 +00:00
The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP project.
2010-11-08 22:37:46 +00:00
2014-06-18 07:22:04 +00:00
xfreerdp can connect to RDP servers such as Microsoft Windows machines, xrdp and
VirtualBox.
2010-11-08 22:37:46 +00:00
%package libs
Summary: Core libraries implementing the RDP protocol
2014-06-18 07:22:04 +00:00
Requires: libwinpr%{?_isa} = %{?epoch}:%{version}-%{release}
Obsoletes: %{name}-plugins < 1:1.1.0
2014-06-18 07:22:04 +00:00
Provides: %{name}-plugins = %{?epoch}:%{version}-%{release}
2010-11-08 22:37:46 +00:00
%description libs
libfreerdp-core can be embedded in applications.
2010-11-08 22:37:46 +00:00
libfreerdp-channels and libfreerdp-kbd might be convenient to use in X
applications together with libfreerdp-core.
2010-11-08 22:37:46 +00:00
libfreerdp-core can be extended with plugins handling RDP channels.
2010-11-08 22:37:46 +00:00
%package devel
Summary: Development files for %{name}
2013-09-10 11:58:50 +00:00
Requires: %{name}-libs%{?_isa} = %{?epoch}:%{version}-%{release}
2010-11-08 22:37:46 +00:00
Requires: pkgconfig
2014-06-18 07:22:04 +00:00
Requires: cmake >= 2.8
2010-11-08 22:37:46 +00:00
%description devel
2014-06-18 07:22:04 +00:00
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}-libs.
2015-03-13 01:01:30 +00:00
%package server
Summary: Server support for %{name}
%description server
The %{name}-server package contains servers which can export a desktop via
the RDP protocol.
2014-06-18 07:22:04 +00:00
%package -n libwinpr
Summary: Windows Portable Runtime
Provides: %{name}-libwinpr = %{?epoch}:%{version}-%{release}
Obsoletes: %{name}-libwinpr < %{?epoch}:%{version}-%{release}
%description -n libwinpr
WinPR provides API compatibility for applications targeting non-Windows
environments. When on Windows, the original native API is being used instead of
the equivalent WinPR implementation, without having to modify the code using it.
%package -n libwinpr-devel
Summary: Windows Portable Runtime development files
Requires: libwinpr%{?_isa} = %{?epoch}:%{version}-%{release}
Requires: pkgconfig
Requires: cmake >= 2.8
2010-11-08 22:37:46 +00:00
2014-06-18 07:22:04 +00:00
%description -n libwinpr-devel
The %{name}-libwinpr-devel package contains libraries and header files for
developing applications that use %{name}-libwinpr.
2010-11-08 22:37:46 +00:00
%prep
2015-11-15 10:56:06 +00:00
%setup -qn FreeRDP-%{commit0}
2014-06-07 19:53:39 +00:00
%patch0 -p1 -b .aarch64
2010-11-08 22:37:46 +00:00
2014-06-18 07:22:04 +00:00
# Rpmlint fixes
find . -name "*.h" -exec chmod 664 {} \;
2010-11-08 22:37:46 +00:00
%build
2013-12-26 01:33:04 +00:00
%cmake %{?_cmake_skip_rpath} \
2014-06-18 07:22:04 +00:00
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
-DWITH_ALSA=ON \
-DWITH_CUPS=ON \
2014-07-18 10:39:16 +00:00
-DWITH_CHANNELS=ON -DSTATIC_CHANNELS=OFF \
2015-11-15 10:56:06 +00:00
-DWITH_CLIENT=ON \
2014-06-18 07:22:04 +00:00
-DWITH_DIRECTFB=OFF \
-DWITH_FFMPEG=OFF \
-DWITH_GSM=ON \
-DWITH_GSTREAMER_1_0=ON \
-DWITH_IPP=OFF \
-DWITH_JPEG=ON \
2015-11-15 10:56:06 +00:00
-DWITH_MANPAGES=ON \
2014-06-18 07:22:04 +00:00
-DWITH_OPENSSL=ON \
-DWITH_PCSC=ON \
-DWITH_PULSE=ON \
2015-03-13 01:01:30 +00:00
-DWITH_SERVER=ON \
2015-11-15 10:56:06 +00:00
-DWITH_WAYLAND=ON \
2014-06-18 07:22:04 +00:00
-DWITH_X11=ON \
-DWITH_XCURSOR=ON \
-DWITH_XEXT=ON \
-DWITH_XKBFILE=ON \
-DWITH_XI=ON \
-DWITH_XINERAMA=ON \
-DWITH_XRENDER=ON \
-DWITH_XV=ON \
-DWITH_ZLIB=ON \
2013-09-01 19:14:39 +00:00
%ifarch x86_64
2014-06-18 07:22:04 +00:00
-DWITH_SSE2=ON \
%else
-DWITH_SSE2=OFF \
2013-09-01 19:14:39 +00:00
%endif
%ifarch armv7hl
2014-06-18 07:22:04 +00:00
-DARM_FP_ABI=hard \
-DWITH_NEON=OFF \
%endif
%ifarch armv7hnl
2014-06-18 07:22:04 +00:00
-DARM_FP_ABI=hard \
-DWITH_NEON=ON \
%endif
%ifarch armv5tel armv6l armv7l
2014-06-18 07:22:04 +00:00
-DARM_FP_ABI=soft \
-DWITH_NEON=OFF \
2014-06-07 19:53:39 +00:00
%endif
%ifarch aarch64
2014-06-18 07:22:04 +00:00
-DWITH_SSE2=OFF \
%endif
2014-06-18 07:22:04 +00:00
.
2010-11-08 22:37:46 +00:00
make %{?_smp_mflags}
%install
2014-06-18 07:22:04 +00:00
make install DESTDIR=%{buildroot} INSTALL='install -p'
2015-11-15 10:56:06 +00:00
#find %{buildroot} -name "*.a" -delete
2010-11-08 22:37:46 +00:00
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
2014-06-18 07:22:04 +00:00
%post -n libwinpr -p /sbin/ldconfig
2010-11-08 22:37:46 +00:00
2014-06-18 07:22:04 +00:00
%postun -n libwinpr -p /sbin/ldconfig
2013-09-03 22:37:46 +00:00
2010-11-08 22:37:46 +00:00
%files
2015-11-15 10:56:06 +00:00
%{_bindir}/wlfreerdp
2010-11-08 22:37:46 +00:00
%{_bindir}/xfreerdp
%{_mandir}/man1/xfreerdp.*
2010-11-08 22:37:46 +00:00
%files libs
2015-11-15 10:56:06 +00:00
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README ChangeLog
2014-06-18 07:22:04 +00:00
%{_libdir}/%{name}/
%{_libdir}/lib%{name}*.so.*
%{_libdir}/libx%{name}*.so.*
2015-03-13 01:01:30 +00:00
%{_libdir}/librdtk.so.*
2010-11-08 22:37:46 +00:00
%files devel
2014-06-18 07:22:04 +00:00
%{_libdir}/cmake/FreeRDP
2015-03-13 01:01:30 +00:00
%{_libdir}/cmake/RdTk
2014-06-18 07:22:04 +00:00
%{_includedir}/%{name}
2015-03-13 01:01:30 +00:00
%{_includedir}/rdtk
2014-06-18 07:22:04 +00:00
%{_libdir}/lib%{name}*.so
%{_libdir}/libx%{name}*.so
2015-03-13 01:01:30 +00:00
%{_libdir}/librdtk.so
2010-11-08 22:37:46 +00:00
%{_libdir}/pkgconfig/%{name}.pc
2015-03-13 01:01:30 +00:00
%files server
%{_bindir}/freerdp-shadow
2014-06-18 07:22:04 +00:00
%files -n libwinpr
2015-11-15 10:56:06 +00:00
%{!?_licensedir:%global license %%doc}
%license LICENSE
%doc README ChangeLog
2014-06-18 07:22:04 +00:00
%{_libdir}/libwinpr*.so.*
%files -n libwinpr-devel
%{_libdir}/cmake/WinPR
%{_includedir}/winpr
%{_libdir}/libwinpr*.so
%{_libdir}/pkgconfig/winpr.pc
2010-11-08 22:37:46 +00:00
%changelog
2015-11-15 10:56:06 +00:00
* Sun Nov 15 2015 Simone Caronni <negativo17@gmail.com> - 2:2.0.0-1.git.be8f8f7
- Update to latest snapshot, remove upstreamed patches.
- Update to new packaging guidelines for GitHub sources and license tag.
- Adjust CMake options to latest release, enable Wayland backend.
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.2.0-0.10.git.24a752a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sun Mar 22 2015 Kalev Lember <kalevlember@gmail.com> - 2:1.2.0-0.9.git.24a752a
- Bump epoch after the version downgrade
2015-03-18 09:18:42 +00:00
* Wed Mar 18 2015 David Woodhouse <dwmw2@infradead.org> - 1:1.2.0-0.8.git.24a752a
- Fix version number. No epoch++ since it was only in rawhide & f22-beta updates-testing.
* Tue Mar 17 2015 David Woodhouse <dwmw2@infradead.org> - 1:1.2.1-0.2.git.24a752a
- Revert to an older snapshot (+fixes) to fix guacamole-server build failure
* Fri Mar 13 2015 Simone Caronni <negativo17@gmail.com> - 1:1.2.1-0.1.git.6ac7180
- Use packaging guidelines for Github snapshots.
- Version is now at 1.2.1-dev.
2015-03-13 01:01:30 +00:00
* Fri Mar 13 2015 David Woodhouse <dwmw2@infradead.org> - 1:1.2.0-0.7.beta.1
- Update to git snapshot (dfc12385) and enable server build
* Thu Jan 15 2015 Orion Poplawski <orion@cora.nwra.com> - 1:1.2.0-0.6.beta.1
- Use better upstream patch to fix command line parsing
* Wed Jan 14 2015 Orion Poplawski <orion@cora.nwra.com> - 1:1.2.0-0.5.beta.1
- Add patch to fix command line parsing segfault (bug #1150349) and to
fix old style command line options
2014-12-18 13:44:55 +00:00
* Tue Dec 16 2014 Simone Caronni <negativo17@gmail.com> - 1:1.2.0-0.4.beta.1
- Fix build on CMake 3.1.
2014-11-12 11:22:41 +00:00
* Wed Nov 12 2014 Simone Caronni <negativo17@gmail.com> - 1:1.2.0-0.3.beta.1
- Update to latest 1.2.0 beta 1 refresh.
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.0-0.2.beta.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2014-06-18 07:22:04 +00:00
* Tue Jun 17 2014 Simone Caronni <negativo17@gmail.com> - 1:1.2.0-0.1.beta.1
- Update to latest 1.2.0 beta 1.
- Rename freerdp-libwinpr to libwinpr and create a separate libwinpr-devel
subpackage now that is considered a different set of libraries.
- Put CMake files in devel subpackages.
- Enable new Gstreamer 1.0, OpenSSL, JPEG, GSM, Zlib, libXi and Xrandr support.
2014-07-18 10:39:16 +00:00
- Disable static channels.
2014-06-18 07:22:04 +00:00
- Add new BuildRequires, build options and sort them.
- Fix rpmlint complaints.
- Align all description etc. to column 80.
- Remove desktop file for xfreerdp, it is command line only and has its own
icon.
2014-06-07 19:53:39 +00:00
* Sat Jun 7 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1:1.1.0-0.12.beta.2013071101
- Fix aarch64
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.1.0-0.11.beta.2013071101
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-03-25 00:28:03 +00:00
* Tue Mar 25 2014 Mads Kiilerich <mads@kiilerich.com> - 1:1.1.0-0.10.beta.2013071101
- Fix PulseAudio define
* Sun Feb 2 2014 Ville Skyttä <ville.skytta@iki.fi> - 1:1.1.0-0.9.beta.2013071101
- Install SVG icon.
2013-12-26 01:33:04 +00:00
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1:1.1.0-0.8.beta.2013071101
- Disable RPATH.
* Mon Nov 04 2013 Kalev Lember <kalevlember@gmail.com> - 1.1.0-0.7.beta.2013071101
- Add missing epoch to freerdp-plugins obsoletes
2013-09-10 11:58:50 +00:00
* Tue Sep 10 2013 Simone Caronni <negativo17@gmail.com> - 1.1.0-0.6.beta.2013071101
- Add epoch to requirements.
2013-09-10 00:13:13 +00:00
* Tue Sep 10 2013 Simone Caronni <negativo17@gmail.com> - 1.1.0-0.5.beta.2013071101
- Bump epoch.
2013-09-05 01:06:01 +00:00
* Thu Sep 05 2013 Mads Kiilerich <mads@kiilerich.com> - 1.1.0-0.4.beta.2013071101
- libxfreerdp-client is needed ...
* Tue Sep 03 2013 Mads Kiilerich <mads@kiilerich.com> - 1.1.0-0.3.beta1
2013-09-03 22:37:46 +00:00
- Add missing ldconfig for libwinpr
- Based on patch from Simone Caronni:
- Update to the latest beta 1 refresh (1.1.0-beta+2013071101).
- Remove obsolete defattr, Group and BuildRoot RPM tags for Fedora / RHEL 6+.
- Move license file and documentation to libwinpr subpackage so any combination
of installed packages result in the LICENSE file available.
2013-09-01 19:14:39 +00:00
* Sun Sep 01 2013 Mads Kiilerich <mads@kiilerich.com> - 1.1.0-0.2.beta1
- SSE2 should only be used on x86_64
* Sun Sep 01 2013 Dennis Gilmore <dennis@ausil.us> - 1.1.0-0.1.beta1
- disable neon on armv7hl and armv5tel
- set arm floating point correctly for the different targets
* Sun Sep 01 2013 Mads Kiilerich <mads@kiilerich.com> - 1.1.0-0.beta+2013071101
- Update to 1.1.0 beta1, add winpr package, drop plugins package.
- Drop unnecessary rm -rf of build roots.
2013-09-01 11:57:08 +00:00
* Sat Aug 31 2013 Mads Kiilerich <mads@kiilerich.com> - 1.0.2-4
- don't make freerdp.png executable
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2013-01-03 00:15:31 +00:00
* Wed Jan 02 2013 Mads Kiilerich <mads@kiilerich.com> - 1.0.2-1
- freerdp-1.0.2
* Sun Sep 30 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-7
- merge f17 1.0.1-6 - Backport fix for bug 816692
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Feb 29 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-5
- Use new upstream tar with standard naming
- Use _isa for subpackage dependencies
* Tue Feb 28 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-4
- Include patch for sending invalid extra data
* Tue Feb 28 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-3
- Install a freedesktop .desktop file and a high-res icon instead of relying on
_NET_WM_ICON
* Sat Feb 25 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-2
- Explicit build requirement for xmlto - needed for EL6
* Wed Feb 22 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-1
- FreeRDP-1.0.1 - major upstream rewrite and relicensing under Apache license
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jan 28 2011 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-2
- rebuild on rawhide because of broken dependencies
2010-11-15 23:53:50 +00:00
* Tue Nov 16 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-1
- freerdp-0.8.2
2010-11-08 22:37:46 +00:00
* Mon Nov 08 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-2
- make -devel require pkgconfig
- first official Fedora package
* Sun Nov 07 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-1
- freerdp-0.8.1
* Sat Sep 25 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-2
- hack the generated libtool to not set rpath on x86_64
- configure with alsa explicitly
* Tue Aug 24 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-1
- freerdp-0.7.4
- cleanup of packaging structure
* Wed Jul 28 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.3-1
- 0.7.3
- fix some minor pylint warnings
* Fri Jul 23 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.2-2
- 0.7.2
- Address many comments from cwickert:
- - cleanup of old formatting, alignment with spectemplate-lib.spec and
cwickert spec from #616193
- - add alsa as build requirement
- - remove superfluous configure options and disable static libs
- - add missing rpm groups
* Sun Jun 13 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.0-1
- First official release, first review request