Summary: Multi-purpose fuzzer
Summary(pl.UTF-8): Narzędzie zniekształcające o wielu zastosowaniach
Name: zzuf
-Version: 0.13
-Release: 3
+Version: 0.15
+Release: 1
License: WTFPL v2
Group: Development/Tools
-Source0: http://caca.zoy.org/files/zzuf/%{name}-%{version}.tar.gz
-# Source0-md5: 74579c429f9691f641a14f408997d42d
+#Source0Download: https://github.com/samhocevar/zzuf/releases
+Source0: https://github.com/samhocevar/zzuf/releases/download/v%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: a6cd6caabd8e803857783f83bc4e29bd
URL: http://caca.zoy.org/wiki/zzuf
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
-# rename due to conflict with zziplib
-%{__sed} -i -e 's/zzcat/zzufcat/' doc/zzcat.1.in doc/zzuf.1.in
-
%build
%configure \
--disable-static
# preloadable library
%{__rm} $RPM_BUILD_ROOT%{_libdir}/zzuf/libzzuf.la
-# rename due to conflict with zziplib
-%{__mv} $RPM_BUILD_ROOT%{_bindir}/{zzcat,zzufcat}
-%{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/{zzcat,zzufcat}.1
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README TODO
+%doc AUTHORS COPYING TODO
+%attr(755,root,root) %{_bindir}/zzat
%attr(755,root,root) %{_bindir}/zzuf
-%attr(755,root,root) %{_bindir}/zzufcat
%dir %{_libdir}/zzuf
%attr(755,root,root) %{_libdir}/zzuf/libzzuf.so
+%{_mandir}/man1/zzat.1*
%{_mandir}/man1/zzuf.1*
-%{_mandir}/man1/zzufcat.1*
%{_mandir}/man3/libzzuf.3*