diff --git a/.gitignore b/.gitignore index 05c8477..51064e0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ 0xFFFF-0.3.9.tar.gz +/0xFFFF-0.8.tar.gz diff --git a/0xFFFF.spec b/0xFFFF.spec index e802b0e..7d0b306 100644 --- a/0xFFFF.spec +++ b/0xFFFF.spec @@ -1,12 +1,12 @@ +%global debug_package %{nil} + Name: 0xFFFF -Version: 0.3.9 -Release: 20%{?dist} +Version: 0.8 +Release: 1%{?dist} Summary: The Open Free Fiasco Firmware Flasher - License: GPLv3 -URL: http://www.nopcode.org/0xFFFF/ -Source0: http://www.nopcode.org/0xFFFF/get/%{name}-%{version}.tar.gz - +URL: https://talk.maemo.org/showthread.php?t=87996 +Source0: https://github.com/pali/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: libusb-devel @@ -17,28 +17,24 @@ utilities for the Nokia Internet Tablets like flashing setting device options, packing/unpacking FIASCO firmware format and more. %prep -%setup -q -sed -i /^LDFLAGS/d config.mk -sed -i "s|^CFLAGS+=.*|CFLAGS+=$RPM_OPT_FLAGS|" config.mk +%autosetup %build -make -C src %{?_smp_mflags} -make -C logotool CFLAGS="$RPM_OPT_FLAGS" +%make_build -C src %install -rm -rf $RPM_BUILD_ROOT -mkdir -p $RPM_BUILD_ROOT%{_bindir} -install -m0755 src/0xFFFF $RPM_BUILD_ROOT%{_bindir}/0xFFFF -install -m0755 logotool/logotool $RPM_BUILD_ROOT%{_bindir}/logotool - - - +%make_install PREFIX=/usr %files -%doc COPYING README INSTALL +%doc README INSTALL +%license COPYING %{_bindir}/* +%{_mandir}/man1/0xFFFF.1.gz %changelog +* Sat Jul 06 2019 Filipe Rosset - 0.8-1 +- Update to 0.8 fixes rhbz#1603247 and rhbz#1674565 + * Thu Jan 31 2019 Fedora Release Engineering - 0.3.9-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index b267913..296cd69 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9966d488fd41fa1ca654f08086b06fee 0xFFFF-0.3.9.tar.gz +SHA512 (0xFFFF-0.8.tar.gz) = 514104d60561d601628081de44109c89a21e861e2a0c8ad7e5b9b0fef19c068af9ee1b274a55722083f85b0ca9f6a84a8c6cd97b9017d85b4e975974bb73506a