Blame SPECS/mingw-srvany.spec

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