Summary: Directory utilities Name: dircmdutils Version: 5.3 Release: 1%{?dist} License: GPLv3+ URL: http://www.tzclock.org Group: Applications/Productivity Source: http://www.tzclock.org/releases/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: ncurses-devel readline-devel libselinux-devel json-glib-devel libxml2-devel libacl-devel gcc BuildRequires: libdircmd libdircmd-devel %define debug_package %{nil} %define _build_id_links none %description dirutils consists of a general purpose directory library and a number of utilities that make use of that library. %prep %setup -q %build %if 0%{?mageia} %configure2_5x %else %configure %endif make CDEBUGFLAGS="$RPM_OPT_FLAGS" CXXDEBUGFLAGS="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} install -s -m 755 addComment $RPM_BUILD_ROOT%{_bindir}/addComment install -s -m 755 casefile $RPM_BUILD_ROOT%{_bindir}/casefile install -s -m 755 fixDir $RPM_BUILD_ROOT%{_bindir}/fixDir install -s -m 755 hexDump $RPM_BUILD_ROOT%{_bindir}/hexDump install -s -m 755 jsonParse $RPM_BUILD_ROOT%{_bindir}/jsonParse install -s -m 755 ldir $RPM_BUILD_ROOT%{_bindir}/ldir install -s -m 755 lineDraw $RPM_BUILD_ROOT%{_bindir}/lineDraw install -s -m 755 lineNum $RPM_BUILD_ROOT%{_bindir}/lineNum install -s -m 755 lines $RPM_BUILD_ROOT%{_bindir}/lines install -s -m 755 listFunc $RPM_BUILD_ROOT%{_bindir}/listFunc install -s -m 755 mkTable $RPM_BUILD_ROOT%{_bindir}/mkTable install -s -m 755 modcr $RPM_BUILD_ROOT%{_bindir}/modcr install -s -m 755 pfile $RPM_BUILD_ROOT%{_bindir}/pfile install -s -m 755 rmCppCmt $RPM_BUILD_ROOT%{_bindir}/rmCppCmt install -s -m 755 tabSpace $RPM_BUILD_ROOT%{_bindir}/tabSpace install -s -m 755 xmlParse $RPM_BUILD_ROOT%{_bindir}/xmlParse install -m 644 ldirrc $RPM_BUILD_ROOT%{_sysconfdir}/ldirrc %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/addComment %{_bindir}/casefile %{_bindir}/fixDir %{_bindir}/hexDump %{_bindir}/jsonParse %{_bindir}/ldir %{_bindir}/lineDraw %{_bindir}/lineNum %{_bindir}/lines %{_bindir}/listFunc %{_bindir}/mkTable %{_bindir}/modcr %{_bindir}/pfile %{_bindir}/rmCppCmt %{_bindir}/tabSpace %{_bindir}/xmlParse %config(noreplace) %{_sysconfdir}/ldirrc %changelog * Wed Jan 31 2018 Chris Knight 4.0.16-1%{?dist} - Combined addrc and rmcr into one moderc. * Wed Sep 26 2007 Chris Knight 4.0.5-1%{?dist} - Fixes to the build and distribution system.