File fsize.spec of Package fsize
#
# spec file for package fsize
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: fsize
Version: 1.2
Release: %mkrel 1
Summary: Simple script to print file size of a file
License: GPL-2.0+
Group: Productivity/File utilities
Url: https://build.opensuse.org/package/show/home:microchip/fsize
Source0: %{name}-%{version}.tar.gz
Requires: bc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Simple script which displays the file size of a file from Bits to Yobibytes.
%global debug_package %{nil}
%prep
%setup -q
%build
%install
install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%doc AUTHORS ChangeLog LICENSE
%changelog