Summary: Directory command library Name: libdircmd 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: libselinux-devel libacl-devel openssl-devel gcc %define debug_package %{nil} %define _build_id_links none %description dircmd consists of a general purpose directory library. %package devel Summary: Libdircmd development files Provides: dircmd-devel Group: Development/C %description devel This package contains necessary header files for libdircmd development. %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%{_libdir} mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig mkdir -p $RPM_BUILD_ROOT%{_includedir} mkdir -p $RPM_BUILD_ROOT/etc install -s -m 755 .libs/libdircmd.so.5 $RPM_BUILD_ROOT%{_libdir}/libdircmd.so.%{version} install -m 644 pkgconfig/dircmd.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/dircmd.pc install -m 644 src/dircmd.h $RPM_BUILD_ROOT%{_includedir}/dircmd.h ln -s libdircmd.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libdircmd.so.5 ln -s libdircmd.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libdircmd.so %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libdircmd.so* %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/dircmd.pc %{_includedir}/dircmd.h %changelog * Tue Mar 21 2023 Chris Knight 5.2-1%{?dist} - Many updates and fixes. * Wed Sep 26 2007 Chris Knight 4.0.5-1%{?dist} - Fixes to the build and distribution system.