File lxsplit.spec of Package lxsplit
# norootforbuild
Name: lxsplit
Version: 0.2.4
Release: 1.0
License: GNU GPL v2
Group: Productivity/File utilities
Url: http://lxsplit.sourceforge.net/
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: File split / merge utility
%description
lxSplit is a simple tool for splitting files and joining the splitted files on
unix-like platforms, such as Linux, FreeBSD, OpenBSD, etc. It is fully compatible
with the HJSplit utility which is available for other operating systems.
Splitting is done without compression.
lxSplit can handle large files (>= 4 GB) both when splitting and joining.
%prep
%setup -q
%build
export CFLAGS="%{optflags}"
%__make %{?_smp_mflags}
%install
%__install -Dm 0755 lxsplit %{buildroot}%{_bindir}/lxsplit
%clean
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc ChangeLog README
%{_bindir}/lxsplit
%changelog