Compare commits

..

4 commits

Author SHA1 Message Date
Christopher Meng
28c9570b71 Merge branch 'master' into f20 2015-02-12 18:49:15 +08:00
Christopher Meng
7795c6cf81 Merge cleanup. 2015-02-05 09:08:28 +08:00
Christopher Meng
b4c008ca4e Merge branch 'master' into f20 2015-02-05 09:08:11 +08:00
Christopher Meng
04c17e5b39 Merge cleanup 2014-07-17 12:04:24 +08:00
4 changed files with 71 additions and 3 deletions

5
.gitignore vendored Normal file
View file

@ -0,0 +1,5 @@
/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

View file

@ -1,3 +0,0 @@
2016-05-19: Retired orphaned package, because it was orphaned for
more than six weeks.

65
sfk.spec Normal file
View file

@ -0,0 +1,65 @@
Name: sfk
Version: 1.7.4
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
# More friendly to users
%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 %{?_smp_mflags}
%install
%make_install
%check
pushd scripts/
chmod +x 03-sfk-selftest-ux.bat && ./$_
%files
%doc AUTHORS ChangeLog
%license COPYING
%{_bindir}/sfk
%changelog
* Thu Feb 12 2015 Christopher Meng <rpm@cicku.me> - 1.7.4-1
- Update to 1.7.4
* Thu Jan 29 2015 Christopher Meng <rpm@cicku.me> - 1.7.3-1
- Update to 1.7.3
* Thu Jul 17 2014 Christopher Meng <rpm@cicku.me> - 1.7.2-1
- Update to 1.7.2
* Fri Mar 21 2014 Christopher Meng <rpm@cicku.me> - 1.7.1-1
- Update to 1.7.1
* Fri Feb 14 2014 Christopher Meng <rpm@cicku.me> - 1.7.0-1
- Update to 1.7.0
* Fri Dec 09 2011 Christopher Meng <rpm@cicku.me> - 1.6.3-1
- Initial Package.

1
sources Normal file
View file

@ -0,0 +1 @@
aecdd3d5f50d5568216aba4514e9aeae sfk-1.7.4.tar.gz