Use new upstream tar with standard naming

- Use _isa for subpackage dependencies
This commit is contained in:
Mads Kiilerich 2012-03-01 02:19:03 +01:00
parent b24fa1455d
commit 3be4509dbc
3 changed files with 14 additions and 7 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/freerdp-0.8.2.tar.gz /freerdp-0.8.2.tar.gz
/FreeRDP-1.0.1.tar.gz /FreeRDP-1.0.1.tar.gz
/fastpath_send_input_pdu-sec_bytes.patch /fastpath_send_input_pdu-sec_bytes.patch
/freerdp-1.0.1.tar.gz

View File

@ -1,12 +1,12 @@
Name: freerdp Name: freerdp
Version: 1.0.1 Version: 1.0.1
Release: 4%{?dist} Release: 5%{?dist}
Summary: Remote Desktop Protocol client Summary: Remote Desktop Protocol client
Group: Applications/Communications Group: Applications/Communications
License: ASL 2.0 License: ASL 2.0
URL: http://www.freerdp.com/ URL: http://www.freerdp.com/
Source0: https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-%{version}.tar.gz Source0: https://github.com/downloads/FreeRDP/FreeRDP/%{name}-%{version}.tar.gz
# https://github.com/FreeRDP/FreeRDP/commit/165d39a290a109c0af16a1d223d1426cb524a844 backport # https://github.com/FreeRDP/FreeRDP/commit/165d39a290a109c0af16a1d223d1426cb524a844 backport
Patch0: fastpath_send_input_pdu-sec_bytes.patch Patch0: fastpath_send_input_pdu-sec_bytes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -27,7 +27,8 @@ BuildRequires: pcsc-lite-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Provides: xfreerdp = %{version}-%{release} Provides: xfreerdp = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}, %{name}-plugins = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: %{name}-plugins%{?_isa} = %{version}-%{release}
%description %description
The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP The xfreerdp Remote Desktop Protocol (RDP) client from the FreeRDP
@ -52,7 +53,7 @@ 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: Applications/Communications Group: Applications/Communications
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{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 instance, sounds, clipboard channels extending RDP core functionality. For instance, sounds, clipboard
@ -62,7 +63,7 @@ sync, disk/printer redirection, etc.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%description devel %description devel
@ -71,7 +72,8 @@ developing applications that use %{name}-libs.
%prep %prep
%setup -q -n FreeRDP-FreeRDP-8e62721
%setup -q
%patch0 -p1 %patch0 -p1
cat << EOF > xfreerdp.desktop cat << EOF > xfreerdp.desktop
@ -162,6 +164,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog %changelog
* 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 * Tue Feb 28 2012 Mads Kiilerich <mads@kiilerich.com> - 1.0.1-4
- Include patch for sending invalid extra data - Include patch for sending invalid extra data

View File

@ -1,2 +1,2 @@
1282189a87893bf196da20382e45f6c1 FreeRDP-1.0.1.tar.gz c843185e0ff22ce8409954651718f338 freerdp-1.0.1.tar.gz
e4f49159bfb94ea534a8d14a2a5b5067 fastpath_send_input_pdu-sec_bytes.patch e4f49159bfb94ea534a8d14a2a5b5067 fastpath_send_input_pdu-sec_bytes.patch