winusb/winusb.spec

68 lines
1.9 KiB
RPMSpec

Name: winusb
Version: 1.0.11
Release: 2mamba
Summary: A program to create Windows USB stick installer from a real Windows DVD or an image
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://en.congelli.eu/prog_info_winusb.html
Source: http://en.congelli.eu/download/winusb/winusb-%{version}.tar.gz
Patch0: winusb-1.0.11-wxGTK-3.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libwxBase-unicode-devel
BuildRequires: libwxGTK-unicode-devel
## AUTOBUILDREQ-END
Requires: gksu
Requires: ntfsprogs
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
winusb - A program to create Windows USB stick installer from a real Windows DVD or an image.
%debug_package
%prep
%setup -q
%patch0 -p1
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/winusb
%{_bindir}/winusbgui
%{_datadir}/applications/winusbgui.desktop
%{_datadir}/pixmaps/winusbgui-icon.png
%dir %{_datadir}/winusb
%dir %{_datadir}/winusb/data
%{_datadir}/winusb/data/*
%dir %{_datadir}/winusb/locale
%dir %{_datadir}/winusb/locale/fr
%dir %{_datadir}/winusb/locale/fr/LC_MESSAGES
%{_datadir}/winusb/locale/fr/LC_MESSAGES/trad.mo
%{_datadir}/winusb/locale/fr/LC_MESSAGES/wxstd.mo
%{_mandir}/man1/winusb.1*
%{_mandir}/man1/winusbgui.1*
%doc AUTHORS COPYING
%changelog
* Wed Jul 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.11-2mamba
- require ntfsprogs and build patch for wxGTK 3.0
* Sun Dec 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.11-1mamba
- package created using the webbuild interface