From 0ba6ff3148f3902d105b4f464ce4f3192af1ca03 Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Nov 08 2010 22:37:46 +0000 Subject: - first official Fedora package --- diff --git a/.gitignore b/.gitignore index e69de29..a3a9039 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/freerdp-0.8.1.tar.gz diff --git a/freerdp.spec b/freerdp.spec new file mode 100644 index 0000000..e92b2f2 --- /dev/null +++ b/freerdp.spec @@ -0,0 +1,145 @@ +Name: freerdp +Version: 0.8.1 +Release: 2%{?dist} +Summary: Remote Desktop Protocol client + +Group: Applications/Communications +License: GPLv2+ +URL: http://www.freerdp.com/ +Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: alsa-lib-devel +BuildRequires: cups-devel +BuildRequires: openssl-devel +BuildRequires: libX11-devel +BuildRequires: libXcursor-devel + +Provides: xfreerdp = %{version}-%{release} +Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release} + +%description +The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP +project. + +xfreerdp can connect to RDP servers such as Microsoft Windows +machines, xrdp and VirtualBox. + +FreeRDP is a fork of the rdesktop project and intends to rapidly +improve on it and re-implement what is needed. + + +%package libs +Summary: Core libraries implementing the RDP protocol +Group: System Environment/Libraries +%description libs +libfreerdp implements the core of the RDP protocol. + +libfreerdpchanman can be used to load plugins that can handle channels +in the RDP protocol. + +libfreerdpkbd implements functionality for handling keyboards in X. + + +%package plugins +Summary: Plugins for handling the standard RDP channels +Group: System Environment/Libraries +Requires: %{name}-libs = %{version}-%{release} +%description plugins +A set of plugins to the channel manager implementing the standard virtual +channels extending RDP core functionality. For example, sounds, clipboard +sync, disk/printer redirection, etc. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}-libs = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}-libs. + + +%prep +%setup -q + + +%build +%configure --disable-static --with-sound=alsa --with-crypto=openssl +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post libs -p /sbin/ldconfig + + +%postun libs -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%{_bindir}/xfreerdp +%{_mandir}/*/* + +%files libs +%defattr(-,root,root,-) +%doc COPYING AUTHORS doc/ipv6.txt ChangeLog +%{_libdir}/*.so.* +%dir %{_libdir}/%{name}/ +%{_datadir}/%{name}/ + +%files plugins +%defattr(-,root,root,-) +%{_libdir}/%{name}/*.so + +%files devel +%defattr(-,root,root,-) +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}.pc + + +%changelog +* Mon Nov 08 2010 Mads Kiilerich - 0.8.1-2 +- make -devel require pkgconfig +- first official Fedora package + +* Sun Nov 07 2010 Mads Kiilerich - 0.8.1-1 +- freerdp-0.8.1 + +* Sat Sep 25 2010 Mads Kiilerich - 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 - 0.7.4-1 +- freerdp-0.7.4 +- cleanup of packaging structure + +* Wed Jul 28 2010 Mads Kiilerich - 0.7.3-1 +- 0.7.3 +- fix some minor pylint warnings + +* Fri Jul 23 2010 Mads Kiilerich - 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 - 0.7.0-1 +- First official release, first review request diff --git a/sources b/sources index e69de29..2c216b8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1e64b766874966004c07db12fe73dde8 freerdp-0.8.1.tar.gz