Name: elektra Summary: A key/value pair database to store software configurations Version: 0.7.0 Release: 42 Group: System/Libraries License: BSD URL: http://elektra.sourceforge.net Source0: %{name}-%{version}.tar.gz Source1001: packaging/elektra.manifest #Patch0: fix-autogen-failure.patch #Patch1: static.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(libxml-2.0) BuildRequires: gettext-devel BuildRequires: libtool-ltdl-devel %description A framework to get system and user values The objective of the Elektra Project is to help create a pervasive, ubiquitous configuration system. This is an entire ecosystem, much more than a piece of code. This section lists the work of some people that are helping to build it. %package devel Summary: Framework to get system and user values Group: Development/Libraries %description devel Framework to get system and user values, key/value pair database %prep %setup -q # fix-autogen-failure.patch #%patch0 -p1 #%patch1 -p1 %build cp %{SOURCE1001} . export CFLAGS+=" -fno-short-enums -DSQLFS_BACKEND -DTUNNING_ELEKTRA_0_7 -fpic" touch config.rpath autoheader libtoolize --ltdl --copy --force aclocal -Im4 -Ilibltdl autoconf automake --add-missing --copy --force ./configure --prefix=%{_prefix} \ --without-docbook \ --without-libltdl \ --enable-cpp=no \ --enable-hosts=no \ --enable-shared=no make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %makeinstall rm -rf %{buildroot}/usr/lib/libelektra.so* rm -rf %{buildroot}/usr/lib/elektra/ rm -rf %{buildroot}/usr/lib/pkgconfig/elektracpp.pc rm -rf %{buildroot}/usr/lib/pkgconfig/elektratools.pc %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files devel %manifest elektra.manifest %defattr(-,root,root,-) %{_includedir}/*.h %{_libdir}/pkgconfig/elektra.pc %{_libdir}/*.a %{_libdir}/*.la