%{?mingw_package_header} %global gitdate 20131118 %global commit 5774c46c67858b2aad503628b4e1ece6d5aad562 %global shortcommit 5774c46c Name: mingw-srvany Version: 1.0 Release: 14.%{gitdate}git%{shortcommit}%{?dist} Summary: Utility for creating services for Windows License: GPLv2+ BuildArch: noarch URL: http://github.com/rwmjones/rhsrvany Source0: https://github.com/rwmjones/rhsrvany/archive/%{commit}/rhsrvany-%{commit}.tar.gz Source1: COPYING # Needed because we build from the git version, using autoreconf. BuildRequires: automake autoconf libtool BuildRequires: mingw32-filesystem BuildRequires: mingw32-gcc BuildRequires: mingw32-gcc-c++ %description Utility for creating a service from any MinGW Windows binary %package -n mingw32-srvany Summary: Utility for creating services for Windows %description -n mingw32-srvany Utility for creating a service from any MinGW Windows binary %{?mingw_debug_package} %prep %setup -q -n rhsrvany-%{commit} cp %{SOURCE1} . %build autoreconf -i %{mingw32_configure} make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install %files -n mingw32-srvany %doc COPYING %{mingw32_bindir}/rhsrvany.exe %changelog * Tue Jul 8 2014 Richard W.M. Jones - 1.0-14 - Various packaging fixes (RHBZ#1117291). - Put git version into release tag. https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Release_Tag * Tue Jul 8 2014 Richard W.M. Jones - 1.0-13 - Switch to upstream version instead of fork. - There is no documentation upstream, but include a COPYING file. - The program is called 'rhsrvany.exe' (not srvany, which is a MSFT program). - Run rpmlint and fix problems. * Sat Jun 07 2014 Fedora Release Engineering - 1.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Mar 07 2012 Kalev Lember - 1.0-8 - Renamed the source package to mingw-srvany (#801031) - Modernize the spec file - Use mingw macros without leading underscore * Mon Feb 27 2012 Erik van Pienbroek - 1.0-7 - Rebuild against the mingw-w64 toolchain * Fri Jan 13 2012 Fedora Release Engineering - 1.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 3 2010 Andrew Beekhof - 1.0-4 - Fixed the license tag * Mon Oct 25 2010 Andrew Beekhof - 1.0-3 - Incorporate feedback from Fedora review * Mon Sep 13 2010 Andrew Beekhof - 1.0-1 - Initial build.