Modernize the spec file
This commit is contained in:
parent
c5a97eadde
commit
56fb5e71fd
@ -1,8 +1,5 @@
|
|||||||
%define __strip %{_mingw32_strip}
|
%define __strip %{_mingw32_strip}
|
||||||
%define __objdump %{_mingw32_objdump}
|
%define __objdump %{_mingw32_objdump}
|
||||||
%define _use_internal_dependency_generator 0
|
|
||||||
%define __find_requires %{_mingw32_findrequires}
|
|
||||||
%define __find_provides %{_mingw32_findprovides}
|
|
||||||
|
|
||||||
%global upstream_version 31b3bf3
|
%global upstream_version 31b3bf3
|
||||||
|
|
||||||
@ -15,12 +12,11 @@ Group: Development/Libraries
|
|||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://github.com/beekhof/mingw32-srvany
|
URL: http://github.com/beekhof/mingw32-srvany
|
||||||
Source0: http://github.com/downloads/beekhof/mingw32-srvany/mingw32-srvany-%{version}.tar.gz
|
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
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: automake autoconf libtool
|
BuildRequires: automake autoconf libtool
|
||||||
BuildRequires: redhat-rpm-config
|
BuildRequires: redhat-rpm-config
|
||||||
BuildRequires: mingw32-filesystem >= 56
|
BuildRequires: mingw32-filesystem
|
||||||
BuildRequires: mingw32-gcc
|
BuildRequires: mingw32-gcc
|
||||||
BuildRequires: mingw32-gcc-c++
|
BuildRequires: mingw32-gcc-c++
|
||||||
BuildRequires: mingw32-binutils
|
BuildRequires: mingw32-binutils
|
||||||
@ -45,14 +41,9 @@ autoreconf -i
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -n mingw32-srvany
|
%files -n mingw32-srvany
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_mingw32_bindir}/srvany.exe
|
%{_mingw32_bindir}/srvany.exe
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
@ -60,6 +51,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.0-8
|
* Wed Mar 07 2012 Kalev Lember <kalevlember@gmail.com> - 1.0-8
|
||||||
- Renamed the source package to mingw-srvany (#801031)
|
- Renamed the source package to mingw-srvany (#801031)
|
||||||
|
- Modernize the spec file
|
||||||
|
|
||||||
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0-7
|
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 1.0-7
|
||||||
- Rebuild against the mingw-w64 toolchain
|
- Rebuild against the mingw-w64 toolchain
|
||||||
|
Loading…
Reference in New Issue
Block a user