diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a376338 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/xortool-0.98.tar.gz +/xortool-0.99.tar.gz diff --git a/README.md b/README.md new file mode 100644 index 0000000..f978b3f --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# xortool + +The xortool package \ No newline at end of file diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..8712519 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (xortool-0.99.tar.gz) = e7d356b65f57408706c614982892e2b2d3c9465b37e82bd81d17fe33e88e62d8260b83e34a7e11eb98f94c7c9cdff3530c8d844f409c5d7c28d5909ca099235a diff --git a/xortool.spec b/xortool.spec new file mode 100644 index 0000000..87575a8 --- /dev/null +++ b/xortool.spec @@ -0,0 +1,59 @@ +%global pypi_name xortool + +Name: %{pypi_name} +Version: 0.99 +Release: 2%{?dist} +Summary: Tool for XOR cipher analysis + +License: MIT +URL: https://github.com/hellman/xortool +Source0: https://github.com/hellman/xortool/archive/v%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-wheel + +%description +A tool to do some XOR analysis to guess the key length (based on count of +equal chars) and to guess the key (base on knowledge of most frequent char). + +%prep +%autosetup -n %{pypi_name}-%{version} +sed -i -e '/^#!\//, 1d' xortool/*.py + +%build +%py3_build + +%install +%py3_install + +%files +%doc README.md +%license LICENSE +%{_bindir}/%{name} +%{_bindir}/%{name}-xor +%{python3_sitelib}/*.egg-info/ +%{python3_sitelib}/%{pypi_name}/ + +%changelog +* Fri Jun 26 2020 Fabian Affolter - 0.99-2 +- Add python3-setuptools as BR + +* Fri Feb 07 2020 Fabian Affolter - 0.99-1 +- Update to latest upstream release 0.99 + +* Fri Jan 31 2020 Fedora Release Engineering - 0.98-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 0.98-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 0.98-3 +- Rebuilt for Python 3.8 + +* Sat Jul 27 2019 Fedora Release Engineering - 0.98-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu May 09 2019 Fabian Affolter - 0.98-1 +- Initial package for Fedora