mingw-srvany/mingw-srvany.spec

108 lines
3.1 KiB
RPMSpec
Raw Normal View History

%{?mingw_package_header}
2010-12-15 11:43:23 +00:00
%global gitdate 20131118
%global commit 5774c46c67858b2aad503628b4e1ece6d5aad562
%global shortcommit 5774c46c
2010-12-15 11:43:23 +00:00
Name: mingw-srvany
2010-12-15 11:43:23 +00:00
Version: 1.0
Release: 14.%{gitdate}git%{shortcommit}%{?dist}
2010-12-15 11:43:23 +00:00
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.
2010-12-15 11:43:23 +00:00
BuildRequires: automake autoconf libtool
2012-03-07 17:46:16 +00:00
BuildRequires: mingw32-filesystem
2010-12-15 11:43:23 +00:00
BuildRequires: mingw32-gcc
BuildRequires: mingw32-gcc-c++
2010-12-15 11:43:23 +00:00
%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}
2010-12-15 11:43:23 +00:00
%prep
%setup -q -n rhsrvany-%{commit}
cp %{SOURCE1} .
2010-12-15 11:43:23 +00:00
%build
autoreconf -i
%{mingw32_configure}
2010-12-15 11:43:23 +00:00
make %{?_smp_mflags}
2010-12-15 11:43:23 +00:00
%install
make DESTDIR=$RPM_BUILD_ROOT install
%files -n mingw32-srvany
2010-12-15 11:43:23 +00:00
%doc COPYING
%{mingw32_bindir}/rhsrvany.exe
2010-12-15 11:43:23 +00:00
%changelog
* Tue Jul 8 2014 Richard W.M. Jones <rjones@redhat.com> - 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 <rjones@redhat.com> - 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 <rel-eng@lists.fedoraproject.org> - 1.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.0-8
- Renamed the source package to mingw-srvany (#801031)
2012-03-07 17:46:16 +00:00
- Modernize the spec file
- Use mingw macros without leading underscore
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0-7
- Rebuild against the mingw-w64 toolchain
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2010-12-15 11:43:23 +00:00
* Fri Dec 3 2010 Andrew Beekhof <andrew@beekhof.net> - 1.0-4
- Fixed the license tag
* Mon Oct 25 2010 Andrew Beekhof <andrew@beekhof.net> - 1.0-3
- Incorporate feedback from Fedora review
* Mon Sep 13 2010 Andrew Beekhof <andrew@beekhof.net> - 1.0-1
- Initial build.