1 Summary: A key/value pair database to store software configurations
8 Group: Applications/System
9 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
10 # Source0-md5: f032ec83ffe91f2e7c2a0d70f67749eb
11 Patch0: %{name}-Makefile_CFLAGS.patch
12 URL: http://elektra.sf.net
13 BuildRequires: libxslt-progs
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The Elektra Project provides a framework to store generic
19 configuration data in an hierarchical key-value pair database, instead
20 of a human-readable only text file.
22 This way any software can read/save his configuration using a
23 consistent API. Also, applications can be aware of other applications
24 configurations, leveraging easy application integration.
29 Summary: Include files and API documentation for Elektra Project
31 Group: Development/Libraries
32 Requires: elektra = %{epoch}:%{version}-%{release}
35 The Elektra Project provides a framework to store generic
36 configuration data in an hierarchical key-value pair database, instead
37 of a human-readable only text file.
39 This way any software can read/save his configuration using a
40 consistent API. Also, applications can be aware of other applications
41 configurations, leveraging easy application integration.
43 This package contains the include files and API manual pages to use
46 #%%description devel -l pl
49 Summary: Static library for Elektra Project
52 Requires: elektra-devel = %{epoch}:%{version}-%{release}
55 The Elektra Project provides a framework to store generic
56 configuration data in an hierarchical key-value pair database, instead
57 of a human-readable only text file.
59 This way any software can read/save his configuration using a
60 consistent API. Also, applications can be aware of other applications
61 configurations, leveraging easy application integration.
63 This package contains static library for Elektra Project.
65 #%%description static -l pl
72 %{__make} all CC="%{__cc}" CFLAGS="%{rpmcflags}"
75 rm -rf $RPM_BUILD_ROOT
77 %{__make} install DESTDIR=$RPM_BUILD_ROOT
79 cp -a $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel elektra-api
82 rm -rf $RPM_BUILD_ROOT
86 # Create basic key structure for apps
87 kdb set -t dir system/sw
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc articles doc/standards example scripts AUTHORS ChangeLog README TODO
94 %attr(755,root,root) /bin/*
95 %attr(755,root,root) /lib/lib*.so
96 %attr(755,root,root) /etc/profile.d/*
102 %defattr(644,root,root,755)
103 %doc bindings elektra-api