1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
%global name duc
%global version 1.4.4
%global release 1
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Summary: Duc, a library and suite of tools for inspecting disk usage
Requires: pango cairo tokyocabinet ncurses
License: GNU General Public License
URL: https://github.com/zevv/duc
Source0: https://github.com/zevv/duc/releases/download/%{version}/duc-%{version}.tar.gz
BuildArch: x86_64
BuildRequires: libtool autoconf
BuildRequires: pango-devel cairo-devel tokyocabinet-devel ncurses-devel
%description
Duc is a small library and a collection of tools for inspecting and visualizing
disk usage.
Duc maintains a database of accumulated sizes of directories of your file system,
and allows you to query this database with some tools,
or create fancy graphs showing you where your bytes are.
%prep
%setup
%build
autoreconf --install
./configure --libdir=%{_libdir} --bindir=%{_bindir} --mandir=%{_mandir}
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%post
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog
* Mon Oct 14 2019 Peter Cummuskey <peterc@aetheric.co.nz> - 1.4.4
- Update to 1.4.4
- Added runtime requirements
* Mon Jan 02 2017 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 1.4.3
- Update to 1.4.3
* Fri Dec 09 2016 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 1.4.2
- Update to 1.4.2
- Removed devel rpm
- Cleanup spec
* Mon Jun 29 2015 James Chang - 1.3.3
- added ncurses-devel package requirement
- fixed file not found for libs
* Wed Feb 11 2015 Edoardo Spadoni <edoardo.spadoni@nethesis.it> - 1.0
- first version
|