From e0e5f131249d4d956d714e4e9c631e3ee4523eef Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 27 Jun 2014 00:31:25 -0500 Subject: cygwin-default-manifest 6.3 --- cygwin-default-manifest.spec | 71 ++++++++++++++++++++++++++++++++++++++++++++ get-sources.sh | 10 +++++++ 2 files changed, 81 insertions(+) create mode 100644 cygwin-default-manifest.spec create mode 100755 get-sources.sh diff --git a/cygwin-default-manifest.spec b/cygwin-default-manifest.spec new file mode 100644 index 0000000..61687d7 --- /dev/null +++ b/cygwin-default-manifest.spec @@ -0,0 +1,71 @@ +%{?cygwin_package_header} + +Name: cygwin-default-manifest +Version: 6.3 +Release: 1 +Summary: Default application manifests for Cygwin toolchains + +Group: Development/Libraries +License: Public Domain +URL: http://cygwin.com/ +BuildArch: noarch + +# use get-sources.sh to download from cvs tag +Source0: windows-default-manifest-%{version}.tar.xz + +BuildRequires: autoconf automake +BuildRequires: cygwin32-filesystem +BuildRequires: cygwin32-binutils +BuildRequires: cygwin64-filesystem +BuildRequires: cygwin64-binutils + + +%description +This package provides a default application manifest for those applications +without their own. This manifest avoids UAC installer detection of programs +with certain names, and declares the application compatible with all current +versions of Windows. Since Windows 8.1 and Windows Server 2012 R2, +applications without compatibility manifests are treated as compatible with +the oldest supported version of Windows (e.g. Vista). + +%package -n cygwin32-default-manifest +Summary: Default application manifests for Cygwin32 toolchain +Group: Development/Libraries + +%description -n cygwin32-default-manifest +%{description} + +%package -n cygwin64-default-manifest +Summary: Default application manifests for Cygwin64 toolchain +Group: Development/Libraries + +%description -n cygwin64-default-manifest +%{description} + + +%prep +%setup -q -n windows-default-manifest-%{version} +autoreconf -fiv + + +%build +%cygwin_configure +%cygwin_make %{?_smp_mflags} + + +%install +%cygwin_make install DESTDIR=$RPM_BUILD_ROOT + + +%files -n cygwin32-default-manifest +%doc COPYING README +%{cygwin32_libdir}/default-manifest.o + +%files -n cygwin64-default-manifest +%doc COPYING README +%{cygwin64_libdir}/default-manifest.o + + +%changelog +* Fri Jun 27 2014 Yaakov Selkowitz - 6.3-1 +- Initial release diff --git a/get-sources.sh b/get-sources.sh new file mode 100755 index 0000000..8da4c76 --- /dev/null +++ b/get-sources.sh @@ -0,0 +1,10 @@ +set -e +set -x + +n=windows-default-manifest +eval v=$(awk '/^Version/{print $1=$2}' cygwin-default-manifest.spec) + +cvs -d :pserver:anoncvs@cygwin.com:/cvs/cygwin-apps co -r release-${v/./_} $n +mv $n $n-$v +tar Jcf $n-$v.tar.xz $n-$v/ +rm -fr $n-$v/ -- cgit