Blame SPECS/freerdp.spec

d7ca03
Name:           freerdp
d7ca03
Version:        1.0.2
ad3fed
Release:        6%{?dist}.1
d7ca03
Summary:        Remote Desktop Protocol client
d7ca03
d7ca03
Group:          Applications/Communications
d7ca03
License:        ASL 2.0
d7ca03
URL:            http://www.freerdp.com/
d7ca03
Source0:        http://pub.freerdp.com/releases/%{name}-%{version}.tar.gz
d7ca03
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
d7ca03
d7ca03
BuildRequires:  cmake
d7ca03
BuildRequires:  xmlto
d7ca03
BuildRequires:  openssl-devel
d7ca03
BuildRequires:  libX11-devel
d7ca03
BuildRequires:  libXext-devel
d7ca03
BuildRequires:  libXinerama-devel
d7ca03
BuildRequires:  libXcursor-devel
d7ca03
BuildRequires:  libXdamage-devel
d7ca03
BuildRequires:  libXv-devel
d7ca03
BuildRequires:  libxkbfile-devel
d7ca03
BuildRequires:  pulseaudio-libs-devel
d7ca03
BuildRequires:  cups-devel
d7ca03
BuildRequires:  pcsc-lite-devel
d7ca03
BuildRequires:  desktop-file-utils
d7ca03
d7ca03
Provides:       xfreerdp = %{version}-%{release}
d7ca03
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
d7ca03
Requires:       %{name}-plugins%{?_isa} = %{version}-%{release}
d7ca03
53bdd9
Patch0: 0001-xfreerdp.1.xml-Don-t-claim-to-support-multiple-conne.patch
53bdd9
Patch1: 0002-Replace-itemizedlist-s-with-variablelist-s.patch
53bdd9
Patch2: 0003-List-plugins-available-in-RHEL-6.patch
53bdd9
ad3fed
# https://bugzilla.redhat.com/show_bug.cgi?id=1186916
8fdfec
Patch3: libfreerdp-core-fix-issue-436.patch
8fdfec
ad3fed
# https://bugzilla.redhat.com/show_bug.cgi?id=1296654
ad3fed
Patch4: fix-crashes-in-pulseaudio.patch
ad3fed
d7ca03
%description
d7ca03
The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP
d7ca03
project.
d7ca03
d7ca03
xfreerdp can connect to RDP servers such as Microsoft Windows
d7ca03
machines, xrdp and VirtualBox.
d7ca03
d7ca03
d7ca03
%package        libs
d7ca03
Summary:        Core libraries implementing the RDP protocol
d7ca03
Group:          Applications/Communications
d7ca03
%description    libs
d7ca03
libfreerdp-core can be embedded in applications.
d7ca03
d7ca03
libfreerdp-channels and libfreerdp-kbd might be convenient to use in X
d7ca03
applications together with libfreerdp-core.
d7ca03
d7ca03
libfreerdp-core can be extended with plugins handling RDP channels.
d7ca03
d7ca03
d7ca03
%package        plugins
d7ca03
Summary:        Plugins for handling the standard RDP channels
d7ca03
Group:          Applications/Communications
d7ca03
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
d7ca03
%description    plugins
d7ca03
A set of plugins to the channel manager implementing the standard virtual
d7ca03
channels extending RDP core functionality. For instance, sounds, clipboard
d7ca03
sync, disk/printer redirection, etc.
d7ca03
d7ca03
d7ca03
%package        devel
d7ca03
Summary:        Development files for %{name}
d7ca03
Group:          Development/Libraries
d7ca03
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
d7ca03
Requires:       pkgconfig
d7ca03
d7ca03
%description    devel
d7ca03
The %{name}-devel package contains libraries and header files for
d7ca03
developing applications that use %{name}-libs.
d7ca03
d7ca03
d7ca03
%prep
d7ca03
d7ca03
%setup -q
d7ca03
53bdd9
%patch0 -p1
53bdd9
%patch1 -p1
53bdd9
%patch2 -p1
8fdfec
%patch3 -p1 -b .fix-invalid-dereference
ad3fed
%patch4 -p1 -b .fix-crashes-in-pulseaudio
53bdd9
d7ca03
cat << EOF > xfreerdp.desktop 
d7ca03
[Desktop Entry]
d7ca03
Type=Application
d7ca03
Name=X FreeRDP
d7ca03
NoDisplay=true
d7ca03
Comment=Connect to RDP server and display remote desktop
d7ca03
Icon=%{name}
d7ca03
Exec=/usr/bin/xfreerdp
d7ca03
Terminal=false
d7ca03
Categories=Network;RemoteAccess;
d7ca03
EOF
d7ca03
d7ca03
d7ca03
%build
d7ca03
d7ca03
%cmake \
d7ca03
        -DWITH_CUPS=ON \
d7ca03
        -DWITH_PCSC=ON \
d7ca03
        -DWITH_PULSEAUDIO=ON \
d7ca03
        -DWITH_X11=ON \
d7ca03
        -DWITH_XCURSOR=ON \
d7ca03
        -DWITH_XEXT=ON \
d7ca03
        -DWITH_XINERAMA=ON \
d7ca03
        -DWITH_XKBFILE=ON \
d7ca03
        -DWITH_XV=ON \
d7ca03
        -DWITH_ALSA=OFF \
d7ca03
        -DWITH_CUNIT=OFF \
d7ca03
        -DWITH_DIRECTFB=OFF \
d7ca03
        -DWITH_FFMPEG=OFF \
d7ca03
        -DWITH_SSE2=OFF \
d7ca03
        -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
d7ca03
        .
d7ca03
d7ca03
make %{?_smp_mflags}
d7ca03
d7ca03
d7ca03
%install
d7ca03
rm -rf $RPM_BUILD_ROOT
d7ca03
d7ca03
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
d7ca03
d7ca03
# No need for keymap files when using xkbfile
d7ca03
rm -rf $RPM_BUILD_ROOT/usr/share/freerdp
d7ca03
d7ca03
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications xfreerdp.desktop
d7ca03
install -p -D resources/FreeRDP_Icon_256px.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
d7ca03
d7ca03
d7ca03
%clean
d7ca03
rm -rf $RPM_BUILD_ROOT
d7ca03
d7ca03
d7ca03
%post
d7ca03
# This is no gtk application, but try to integrate nicely with GNOME if it is available
d7ca03
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
d7ca03
d7ca03
d7ca03
%post libs -p /sbin/ldconfig
d7ca03
d7ca03
d7ca03
%postun libs -p /sbin/ldconfig
d7ca03
d7ca03
d7ca03
%files
d7ca03
%defattr(-,root,root,-)
d7ca03
%{_bindir}/xfreerdp
d7ca03
%{_mandir}/man1/xfreerdp.*
d7ca03
%{_datadir}/applications/xfreerdp.desktop
d7ca03
%{_datadir}/icons/hicolor/256x256/apps/%{name}.png
d7ca03
d7ca03
%files libs
d7ca03
%defattr(-,root,root,-)
d7ca03
%doc LICENSE README ChangeLog
d7ca03
%{_libdir}/lib%{name}-*.so.*
d7ca03
%dir %{_libdir}/%{name}/
d7ca03
d7ca03
%files plugins
d7ca03
%defattr(-,root,root,-)
d7ca03
%{_libdir}/%{name}/*
d7ca03
d7ca03
%files devel
d7ca03
%defattr(-,root,root,-)
d7ca03
%{_includedir}/%{name}/
d7ca03
%{_libdir}/lib%{name}-*.so
d7ca03
%{_libdir}/pkgconfig/%{name}.pc
d7ca03
d7ca03
d7ca03
%changelog
ad3fed
* Fri Jan 15 2016 Ondrej Holy <oholy@redhat.com> - 1.0.2-6.el7_2.1
ad3fed
- Fix crashes in pulseaudio
ad3fed
- Resolves: #1298832
ad3fed
ad3fed
* Thu Mar 19 2015 Ondrej Holy <oholy@redhat.com> - 1.0.2-6
8fdfec
- Fix crash during CA verification caused by invalid pointer dereference
ad3fed
- Resolves: #1186916
8fdfec
53bdd9
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.0.2-5
53bdd9
- Mass rebuild 2014-01-24
53bdd9
53bdd9
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.0.2-4
53bdd9
- Mass rebuild 2013-12-27
53bdd9
53bdd9
* Thu Dec 19 2013 Soren Sandmann <ssp@redhat.com> - 1.0.2-3
53bdd9
- Man page fixes
53bdd9
  - Document that multiple connections don't work (988294)
53bdd9
  - Document the list of plugins (988307, 988308)
53bdd9
d7ca03
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2
d7ca03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d7ca03
d7ca03
* Wed Jan 02 2013 Mads Kiilerich <mads@kiilerich.com> - 1.0.2-1
d7ca03
- freerdp-1.0.2
d7ca03
d7ca03
* Sun Sep 30 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-7
d7ca03
- merge f17 1.0.1-6 - Backport fix for bug 816692
d7ca03
d7ca03
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-6
d7ca03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d7ca03
d7ca03
* Wed Feb 29 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-5
d7ca03
- Use new upstream tar with standard naming
d7ca03
- Use _isa for subpackage dependencies
d7ca03
d7ca03
* Tue Feb 28 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-4
d7ca03
- Include patch for sending invalid extra data
d7ca03
d7ca03
* Tue Feb 28 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-3
d7ca03
- Install a freedesktop .desktop file and a high-res icon instead of relying on
d7ca03
  _NET_WM_ICON
d7ca03
d7ca03
* Sat Feb 25 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-2
d7ca03
- Explicit build requirement for xmlto - needed for EL6
d7ca03
d7ca03
* Wed Feb 22 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-1
d7ca03
- FreeRDP-1.0.1 - major upstream rewrite and relicensing under Apache license
d7ca03
d7ca03
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-4
d7ca03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d7ca03
d7ca03
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.2-3
d7ca03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d7ca03
d7ca03
* Fri Jan 28 2011 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-2
d7ca03
- rebuild on rawhide because of broken dependencies
d7ca03
d7ca03
* Tue Nov 16 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.2-1
d7ca03
- freerdp-0.8.2
d7ca03
d7ca03
* Mon Nov 08 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-2
d7ca03
- make -devel require pkgconfig
d7ca03
- first official Fedora package
d7ca03
d7ca03
* Sun Nov 07 2010 Mads Kiilerich <mads@kiilerich.com> - 0.8.1-1
d7ca03
- freerdp-0.8.1
d7ca03
d7ca03
* Sat Sep 25 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-2
d7ca03
- hack the generated libtool to not set rpath on x86_64
d7ca03
- configure with alsa explicitly
d7ca03
d7ca03
* Tue Aug 24 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.4-1
d7ca03
- freerdp-0.7.4
d7ca03
- cleanup of packaging structure
d7ca03
d7ca03
* Wed Jul 28 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.3-1
d7ca03
- 0.7.3
d7ca03
- fix some minor pylint warnings
d7ca03
d7ca03
* Fri Jul 23 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.2-2
d7ca03
- 0.7.2
d7ca03
- Address many comments from cwickert:
d7ca03
- - cleanup of old formatting, alignment with spectemplate-lib.spec and
d7ca03
    cwickert spec from #616193
d7ca03
- - add alsa as build requirement
d7ca03
- - remove superfluous configure options and disable static libs
d7ca03
- - add missing rpm groups
d7ca03
d7ca03
* Sun Jun 13 2010 Mads Kiilerich <mads@kiilerich.com> - 0.7.0-1
d7ca03
- First official release, first review request