diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b16d5bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/sfk-1.7.0.tar.gz +/sfk-1.7.1.tar.gz +/sfk-1.7.2.tar.gz +/sfk-1.7.3.tar.gz +/sfk-1.7.4.tar.gz +/sfk-1.7.5.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 164cb9a..0000000 --- a/dead.package +++ /dev/null @@ -1,3 +0,0 @@ -2016-05-19: Retired orphaned package, because it was orphaned for -more than six weeks. - diff --git a/sfk.spec b/sfk.spec new file mode 100644 index 0000000..0640a75 --- /dev/null +++ b/sfk.spec @@ -0,0 +1,80 @@ +Name: sfk +Version: 1.7.5 +Release: 1%{?dist} +Summary: The Swiss File Knife File Tree Processor +License: BSD +URL: http://stahlworks.com/sfk/ +Source0: http://downloads.sourceforge.net/project/swissfileknife/1-swissfileknife/%{version}/sfk-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake + +%description +Swiss File Knife (SFK) is a command line multi function tool created by +StahlWorks Technologies which combines many functions in a single, portable +executable that belongs onto every USB stick. Search and convert text files, +instant simple FTP/HTTP server, find duplicate files, compare folders, +treesize, run own commands on all files of a folder. + +Note that Fedora ships the OSE(Open Source Edition) version of sfk. + +%prep +%setup -q +# Note that hacks take effect on the first occurrence, respectively. +%if 0%{?fedora} +sed -i 's|"linux-lib6"|"Fedora %{?fedora} %{?_arch}"|' sfk.cpp +%endif + +%if 0%{?rhel} +sed -i 's|"linux-lib6"|"Red Hat Enterprise Linux %{?rhel} %{?_arch}"|' sfk.cpp +%endif + +%build +autoreconf -fiv +%configure +%make_build + +%install +%make_install + +%check +pushd scripts/ +chmod +x 03-sfk-selftest-ux.bat && ./$_ + +%files +%doc AUTHORS ChangeLog +%license COPYING +%{_bindir}/sfk + +%changelog +* Wed Jul 15 2015 Christopher Meng - 1.7.5-1 +- Update to 1.7.5 + +* Fri Jun 19 2015 Fedora Release Engineering - 1.7.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 1.7.4-2 +- Rebuilt for GCC 5 C++11 ABI change + +* Thu Feb 12 2015 Christopher Meng - 1.7.4-1 +- Update to 1.7.4 + +* Thu Jan 29 2015 Christopher Meng - 1.7.3-1 +- Update to 1.7.3 + +* Mon Aug 18 2014 Fedora Release Engineering - 1.7.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Thu Jul 17 2014 Christopher Meng - 1.7.2-1 +- Update to 1.7.2 + +* Sun Jun 08 2014 Fedora Release Engineering - 1.7.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri Mar 21 2014 Christopher Meng - 1.7.1-1 +- Update to 1.7.1 + +* Fri Feb 14 2014 Christopher Meng - 1.7.0-1 +- Update to 1.7.0 + +* Fri Dec 09 2011 Christopher Meng - 1.6.3-1 +- Initial Package. diff --git a/sources b/sources new file mode 100644 index 0000000..909f25f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +19a35c70eff4e86a4ae6422a608508ff sfk-1.7.5.tar.gz