diff --git a/.gitignore b/.gitignore index e69de29..d2b92ae 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/mingw32-srvany-1.0.tar.gz diff --git a/mingw32-srvany.spec b/mingw32-srvany.spec new file mode 100644 index 0000000..4a4c75e --- /dev/null +++ b/mingw32-srvany.spec @@ -0,0 +1,69 @@ +%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 - 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. diff --git a/sources b/sources index e69de29..b42a550 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b61399d6946ebb58318899c850f90a74 mingw32-srvany-1.0.tar.gz