Blame SPECS/mingw-srvany.spec

35bece
%{?mingw_package_header}
35bece
35bece
# Only build the 32 bit package.
35bece
%global mingw_build_win32 1
35bece
%global mingw_build_win64 0
35bece
2d4048
Name:	        mingw-srvany
2d4048
Version:        1.1
2d4048
Release:        3%{?dist}
2d4048
Summary:        Utility for creating services for Windows
35bece
2d4048
License:        GPLv2+
2d4048
BuildArch:      noarch
35bece
2d4048
URL:	        https://github.com/rwmjones/rhsrvany
2d4048
Source0:        https://github.com/rwmjones/rhsrvany/archive/refs/tags/v%{version}.tar.gz#/rhsrvany-%{version}.tar.gz
2d4048
Source1:        COPYING
35bece
35bece
# Needed because we build from the git version, using autoreconf.
2d4048
BuildRequires:  make
2d4048
BuildRequires:  automake autoconf libtool
35bece
2d4048
BuildRequires:  mingw32-filesystem
2d4048
BuildRequires:  mingw32-gcc
2d4048
BuildRequires:  mingw32-gcc-c++
35bece
35bece
35bece
%description
35bece
Utility for creating a service from any MinGW Windows binary
35bece
35bece
35bece
%package -n mingw32-srvany
35bece
Summary:	Utility for creating services for Windows
35bece
35bece
35bece
%description -n mingw32-srvany
35bece
Utility for creating a service from any MinGW Windows binary
35bece
35bece
35bece
%{?mingw_debug_package}
35bece
35bece
35bece
%prep
2d4048
%setup -q -n rhsrvany-%{version}
35bece
cp %{SOURCE1} .
35bece
35bece
35bece
%build
35bece
autoreconf -i
35bece
%{mingw32_configure}
35bece
make %{?_smp_mflags}
35bece
35bece
35bece
%install
35bece
make DESTDIR=$RPM_BUILD_ROOT install
35bece
35bece
35bece
%files -n mingw32-srvany
35bece
%doc COPYING
35bece
%{mingw32_bindir}/rhsrvany.exe
35bece
%{mingw32_bindir}/pnp_wait.exe
35bece
35bece
35bece
%changelog
2d4048
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
2d4048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
2d4048
2d4048
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-2
2d4048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2d4048
2d4048
* Tue Oct 19 2021 Richard W.M. Jones <rjones@redhat.com> - 1.1-1
2d4048
- Move to real version numbers upstream.
35bece
2d4048
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-28.20210127git89f2162c
2d4048
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
35bece
35bece
* Wed Jan 27 2021 Richard W.M. Jones <rjones@redhat.com> - 1.0-27
35bece
- Update to 20210127.
35bece
- Add pnp_wait.exe binary.
35bece
35bece
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-26.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
35bece
35bece
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-25.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
35bece
35bece
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-24.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
35bece
35bece
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-23.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
35bece
35bece
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-22.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
35bece
35bece
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-21.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
35bece
35bece
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-20.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
35bece
35bece
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-19.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
35bece
35bece
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-18.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
35bece
35bece
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-17.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
35bece
35bece
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-16.20150115gitfd659e77
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
35bece
35bece
* Wed Mar  4 2015 Richard W.M. Jones <rjones@redhat.com> - 1.0-15
35bece
- Update to 20150115.
35bece
- Includes fix for out of bounds array read (RHBZ#1187226).
35bece
- Set macros so we only build the 32 bit target.
35bece
35bece
* Tue Jul  8 2014 Richard W.M. Jones <rjones@redhat.com> - 1.0-14
35bece
- Various packaging fixes (RHBZ#1117291).
35bece
- Put git version into release tag.
35bece
  https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Release_Tag
35bece
35bece
* Tue Jul  8 2014 Richard W.M. Jones <rjones@redhat.com> - 1.0-13
35bece
- Switch to upstream version instead of fork.
35bece
- There is no documentation upstream, but include a COPYING file.
35bece
- The program is called 'rhsrvany.exe' (not srvany, which is a MSFT program).
35bece
- Run rpmlint and fix problems.
35bece
35bece
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-12
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
35bece
35bece
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-11
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
35bece
35bece
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
35bece
35bece
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
35bece
35bece
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.0-8
35bece
- Renamed the source package to mingw-srvany (#801031)
35bece
- Modernize the spec file
35bece
- Use mingw macros without leading underscore
35bece
35bece
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0-7
35bece
- Rebuild against the mingw-w64 toolchain
35bece
35bece
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
35bece
35bece
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
35bece
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
35bece
35bece
* Fri Dec 3 2010 Andrew Beekhof <andrew@beekhof.net> - 1.0-4
35bece
- Fixed the license tag
35bece
35bece
* Mon Oct 25 2010 Andrew Beekhof <andrew@beekhof.net> - 1.0-3
35bece
- Incorporate feedback from Fedora review
35bece
35bece
* Mon Sep 13 2010 Andrew Beekhof <andrew@beekhof.net> - 1.0-1
35bece
- Initial build.