70 lines
1.9 KiB
RPMSpec
70 lines
1.9 KiB
RPMSpec
%define __strip %{_mingw32_strip}
|
|
%define __objdump %{_mingw32_objdump}
|
|
%define _use_internal_dependency_generator 0
|
|
%define __find_requires %{_mingw32_findrequires}
|
|
%define __find_provides %{_mingw32_findprovides}
|
|
|
|
%global upstream_version 31b3bf3
|
|
|
|
Name: mingw32-srvany
|
|
Version: 1.0
|
|
Release: 7%{?dist}
|
|
Summary: Utility for creating services for Windows
|
|
|
|
Group: Development/Libraries
|
|
License: GPLv2+
|
|
URL: http://github.com/beekhof/mingw32-srvany
|
|
Source0: http://github.com/downloads/beekhof/mingw32-srvany/mingw32-srvany-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{upstream_release}-root-%(%{__id_u} -n)
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: automake autoconf libtool
|
|
BuildRequires: redhat-rpm-config
|
|
BuildRequires: mingw32-filesystem >= 56
|
|
BuildRequires: mingw32-gcc
|
|
BuildRequires: mingw32-gcc-c++
|
|
BuildRequires: mingw32-binutils
|
|
|
|
%description
|
|
Utility for creating a service from any MinGW Windows binary
|
|
|
|
%prep
|
|
%setup -q -n beekhof-mingw32-srvany-%{upstream_version}
|
|
|
|
%build
|
|
autoreconf -i
|
|
%{_mingw32_configure}
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_mingw32_bindir}/srvany.exe
|
|
%doc COPYING
|
|
%doc AUTHORS
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* 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.
|