forked from opinkerfi/winexe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
winexe.spec
50 lines (41 loc) · 895 Bytes
/
winexe.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# norootforbuild
Summary: winexe
Name: winexe
Version: 1.01
Release: 1
License: GPL3
Group: Administration/Network
Source: %{name}-%{version}.tar.gz
BuildRequires: python-devel autoconf
%if 0%{?suse_version}
BuildRequires: util-linux
%if 0%{?suse_version} == 1110
BuildRequires: -post-build-checks -rpmlint-Factory
%endif
%else
BuildRequires: which
%endif
BuildRequires: perl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
winexe
%prep
%setup -q
%build
cd source4
./autogen.sh
%configure --enable-fhs
%{__make} basics idl bin/winexe
%install
echo %{buildroot}
rm -rf %{buildroot}
%__install -d %{buildroot}/usr/bin
%__install source4/bin/winexe %{buildroot}/usr/bin
%clean
rm -rf %{buildroot}
%files
%defattr(644,root,root,755)
%attr(755,root,root) /usr/bin/winexe
%changelog
* Fri Aug 03 2012 Pall Sigurdsson <[email protected]> 1.00-2.1
- new package built with tito