FreeRDP-1.0.1 - major upstream rewrite and relicensing under Apache license

This commit is contained in:
Mads Kiilerich 2012-02-22 01:55:06 +01:00
parent 6871ae5d0a
commit e403f4cc67
3 changed files with 54 additions and 30 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/freerdp-0.8.1.tar.gz /freerdp-0.8.1.tar.gz
/freerdp-0.8.2.tar.gz /freerdp-0.8.2.tar.gz
/FreeRDP-1.0.1.tar.gz

View File

@ -1,19 +1,26 @@
Name: freerdp Name: freerdp
Version: 0.8.2 Version: 1.0.1
Release: 4%{?dist} Release: 1%{?dist}
Summary: Remote Desktop Protocol client Summary: Remote Desktop Protocol client
Group: Applications/Communications Group: Applications/Communications
License: GPLv2+ License: ASL 2.0
URL: http://www.freerdp.com/ URL: http://www.freerdp.com/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Source0: https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel BuildRequires: cmake
BuildRequires: cups-devel
BuildRequires: openssl-devel BuildRequires: openssl-devel
BuildRequires: libX11-devel BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXinerama-devel
BuildRequires: libXcursor-devel BuildRequires: libXcursor-devel
BuildRequires: libXdamage-devel
BuildRequires: libXv-devel
BuildRequires: libxkbfile-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: cups-devel
BuildRequires: pcsc-lite-devel
Provides: xfreerdp = %{version}-%{release} Provides: xfreerdp = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release}
@ -25,29 +32,26 @@ project.
xfreerdp can connect to RDP servers such as Microsoft Windows xfreerdp can connect to RDP servers such as Microsoft Windows
machines, xrdp and VirtualBox. 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 %package libs
Summary: Core libraries implementing the RDP protocol Summary: Core libraries implementing the RDP protocol
Group: System Environment/Libraries Group: Applications/Communications
%description libs %description libs
libfreerdp implements the core of the RDP protocol. libfreerdp-core can be embedded in applications.
libfreerdpchanman can be used to load plugins that can handle channels libfreerdp-channels and libfreerdp-kbd might be convenient to use in X
in the RDP protocol. applications together with libfreerdp-core.
libfreerdpkbd implements functionality for handling keyboards in X. libfreerdp-core can be extended with plugins handling RDP channels.
%package plugins %package plugins
Summary: Plugins for handling the standard RDP channels Summary: Plugins for handling the standard RDP channels
Group: System Environment/Libraries Group: Applications/Communications
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs = %{version}-%{release}
%description plugins %description plugins
A set of plugins to the channel manager implementing the standard virtual A set of plugins to the channel manager implementing the standard virtual
channels extending RDP core functionality. For example, sounds, clipboard channels extending RDP core functionality. For instance, sounds, clipboard
sync, disk/printer redirection, etc. sync, disk/printer redirection, etc.
@ -63,20 +67,37 @@ developing applications that use %{name}-libs.
%prep %prep
%setup -q %setup -q -n FreeRDP-FreeRDP-8e62721
%build %build
%configure --disable-static --with-sound=alsa --with-crypto=openssl %cmake \
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool -DWITH_CUPS=ON \
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -DWITH_PCSC=ON \
-DWITH_PULSEAUDIO=ON \
-DWITH_X11=ON \
-DWITH_XCURSOR=ON \
-DWITH_XEXT=ON \
-DWITH_XINERAMA=ON \
-DWITH_XKBFILE=ON \
-DWITH_XV=ON \
-DWITH_ALSA=OFF \
-DWITH_CUNIT=OFF \
-DWITH_DIRECTFB=OFF \
-DWITH_FFMPEG=OFF \
-DWITH_SSE2=OFF \
-DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # No need for keymap files when using xkbfile
rm -rf $RPM_BUILD_ROOT/usr/share/freerdp
%clean %clean
@ -92,27 +113,29 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/xfreerdp %{_bindir}/xfreerdp
%{_mandir}/*/* %{_mandir}/man1/xfreerdp.*
%files libs %files libs
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING AUTHORS doc/ipv6.txt ChangeLog %doc LICENSE README ChangeLog
%{_libdir}/*.so.* %{_libdir}/lib%{name}-*.so.*
%dir %{_libdir}/%{name}/ %dir %{_libdir}/%{name}/
%{_datadir}/%{name}/
%files plugins %files plugins
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/%{name}/*.so %{_libdir}/%{name}/*
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/* %{_includedir}/%{name}/
%{_libdir}/*.so %{_libdir}/lib%{name}-*.so
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* 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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

View File

@ -1 +1 @@
cde590336292c977dfc1b4b7badf24d2 freerdp-0.8.2.tar.gz 1282189a87893bf196da20382e45f6c1 FreeRDP-1.0.1.tar.gz