Blame WoeUSB.spec

4584bf
%global debug_package   %{nil}
4584bf
4584bf
Name:           WoeUSB
54c9cf
Version:        3.2.12
01345a
Release:        2%{?dist}
4584bf
Summary:        Windows USB installation media creator
4584bf
License:        GPLv3+
4584bf
URL:            https://github.com/slacka/WoeUSB
b8dadf
Source0:        https://github.com/slacka/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
4584bf
b595fd
Requires:       grub2-pc-modules
4584bf
BuildRequires:  gcc
4584bf
BuildRequires:  gcc-c++
4584bf
BuildRequires:  wxGTK3-devel
4584bf
BuildRequires:  autoconf
4584bf
BuildRequires:  automake
4584bf
BuildRequires:  libtool
4584bf
BuildRequires:  gettext
4584bf
BuildRequires:  desktop-file-utils
4584bf
4584bf
%description
4584bf
A utility that enables you to create your own bootable Windows installation
4584bf
USB storage device from an existing Windows Installation disc or disk image.
4584bf
4584bf
%prep
b8dadf
%autosetup
4584bf
4584bf
%build
4584bf
# Replace the version placeholders
4584bf
find . -type f -print0 | xargs -0 sed -i "s/@@WOEUSB_VERSION@@/%{version}/"
b8dadf
autoreconf -fiv
4584bf
%configure
4584bf
%make_build
4584bf
4584bf
%install
4584bf
%make_install
4584bf
sed -i '1!b;s/env bash/bash/' %{buildroot}%{_bindir}/woeusb
4d8a0d
sed -i '1!b;s/env bash/bash/' %{buildroot}%{_datadir}/woeusb/data/listDvdDrive
4d8a0d
sed -i '1!b;s/env bash/bash/' %{buildroot}%{_datadir}/woeusb/data/listUsb
fd8517
# rpmgrill fails if the desktop icon is only in /usr/share/pixmaps (bug #1539633)
fd8517
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
fd8517
mv %{buildroot}%{_datadir}/pixmaps/woeusbgui-icon.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
fd8517
desktop-file-validate %{buildroot}%{_datadir}/applications/woeusbgui.desktop
4584bf
4584bf
4584bf
%files
4584bf
%license COPYING
4584bf
# CLI
4584bf
%{_bindir}/woeusb
4584bf
%{_mandir}/man1/woeusb.1.gz
4584bf
# GUI
4584bf
%{_mandir}/man1/woeusbgui.1.gz
4584bf
%{_bindir}/woeusbgui
4584bf
%{_datadir}/applications/woeusbgui.desktop
fd8517
%{_datadir}/icons/hicolor/48x48/apps/woeusbgui-icon.png
4584bf
%dir %{_datadir}/woeusb
4584bf
%dir %{_datadir}/woeusb/data
4584bf
%{_datadir}/woeusb/data/c501-logo.png
4584bf
%{_datadir}/woeusb/data/icon.png
4584bf
%{_datadir}/woeusb/data/listDvdDrive
4584bf
%{_datadir}/woeusb/data/listUsb
4584bf
%{_datadir}/woeusb/data/woeusb-logo.png
0a027a
%dir %{_datadir}/woeusb/locale
0a027a
%dir %{_datadir}/woeusb/locale/fr
4584bf
%dir %{_datadir}/woeusb/locale/fr/LC_MESSAGES
0a027a
%dir %{_datadir}/woeusb/locale/zh_TW
0a027a
%dir %{_datadir}/woeusb/locale/zh_TW/LC_MESSAGES
b8dadf
%lang(fr) %{_datadir}/woeusb/locale/fr/LC_MESSAGES/woeusb.mo
4584bf
%lang(fr) %{_datadir}/woeusb/locale/fr/LC_MESSAGES/wxstd.mo
b8dadf
%lang(zh) %{_datadir}/woeusb/locale/zh_TW/LC_MESSAGES/woeusb.mo
b8dadf
4584bf
4584bf
%changelog
01345a
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.12-2
01345a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
01345a
54c9cf
* Wed Dec 26 2018 mprahl <mprahl@redhat.com> - 3.2.12-1
54c9cf
- new version
54c9cf
b595fd
* Sat Sep 08 2018 mprahl <mprahl@redhat.com> - 3.2.2-1
b595fd
- New version
b595fd
- Add grub2-pc-modules as a requirement
b595fd
56046e
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-2
56046e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
56046e
30eb14
* Tue May 29 2018 mprahl <mprahl@redhat.com> - 3.2.1-1
30eb14
- new version
30eb14
fd8517
* Mon Apr 2 2018 Matt Prahl <mprahl@redhat.com> - 3.1.5-2
fd8517
* Address rpmgrill failures
fd8517
adeaed
* Mon Apr 2 2018 Matt Prahl <mprahl@redhat.com> - 3.1.5-1
adeaed
- Update to v3.1.5
adeaed
5dda8c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-2
5dda8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5dda8c
b8dadf
* Mon Oct 9 2017 Matt Prahl <mprahl@redhat.com> - 2.2.2-1
b8dadf
- Update to v2.2.2
b8dadf
4584bf
* Wed Sep 20 2017 Matt Prahl <mprahl@redhat.com> - 2.1.3-1
4584bf
- Initial release