%global debug_package %{nil} Summary: winexe Name: winexe Version: 1.3 Release: 1%{?dist} License: GPL3 Group: Administration/Network Source: %{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: pkgconfig BuildRequires: libtalloc-devel BuildRequires: samba4-devel >= 4.2.0 BuildRequires: popt-devel BuildRequires: mingw64-gcc BuildRequires: mingw32-gcc BuildRequires: waf BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: samba4-libs >= 4.2.0 %description Winexe remotely executes commands on Windows NT/2000/XP/2003/Vista/7/2008/8/2012 systems from GNU/Linux (and possibly also from other Unices capable of building the Samba 4 software package). %prep %setup -q %build cd source waf configure build %install echo %{buildroot} rm -rf %{buildroot} %__install -d %{buildroot}/usr/bin %__install source/build/winexe %{buildroot}/usr/bin %clean rm -rf %{buildroot} %files %defattr(644,root,root,755) %attr(755,root,root) /usr/bin/winexe %changelog * Tue Jul 10 2018 Tobias Florek 1.3-1 - use external waf (tob@butter.sh) - fix release to 0 (tob@butter.sh) * Tue Jul 10 2018 Tobias Florek 1.2-1b787d2.1 - new package built with tito - fix compilation with newer samba (including RHEL 7.3) * Sun Jun 05 2016 Julio Gonzalez Gil - 1.1-1b787d2.2 - Support CentOS7 again thanks to a patch from Michel Stowe at https://sourceforge.net/u/mstowe/winexe/ci/master/tree * Sun Jun 05 2016 Julio Gonzalez Gil - 1.1-1b787d2.1 - Require Samba 4.2 as a minimum. - Change waf script so it can use the new samba 4.x library names * Tue Oct 20 2015 Julio Gonzalez Gil - 1.1-1b787d2 - 1.1b787d2 build from http://sourceforge.net/p/winexe/winexe-waf/ci/b787d2a2c4b1abc3653bad10aec943b8efcd7aab