]> git.pld-linux.org Git - packages/elektra.git/blob - elektra.spec
- new, obsoletes registry
[packages/elektra.git] / elektra.spec
1 Summary:        A key/value pair database to store software configurations
2 #Summary(pl):
3 Name:           elektra
4 Version:        0.4.6
5 Release:        0.1
6 Epoch:          0
7 License:        BSD
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
14 Obsoletes:      registry
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
21
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.
25
26 #%%description -l pl
27
28 %package devel
29 Summary:        Include files and API documentation for Elektra Project
30 #Summary(pl):
31 Group:          Development/Libraries
32 Requires:       elektra = %{epoch}:%{version}-%{release}
33
34 %description devel
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.
38
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.
42
43 This package contains the include files and API manual pages to use
44 the Elektra API in C.
45
46 #%%description devel -l pl
47
48 %package static
49 Summary:        Static library for Elektra Project
50 #Summary(pl):
51 Group:          Libraries
52 Requires:       elektra-devel = %{epoch}:%{version}-%{release}
53
54 %description static
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.
58
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.
62
63 This package contains static library for Elektra Project.
64
65 #%%description static -l pl
66
67 %prep
68 %setup -q -n elektra
69 %patch0 -p1
70
71 %build
72 %{__make} all CC="%{__cc}" CFLAGS="%{rpmcflags}"
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install DESTDIR=$RPM_BUILD_ROOT
78
79 cp -a $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel elektra-api
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post
85 /sbin/ldconfig
86 # Create basic key structure for apps
87 kdb set -t dir system/sw
88
89 %postun -p /sbin/ldconfig
90
91 %files
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/*
97 %{_includedir}/*
98 %{_datadir}/sgml
99 %{_mandir}/man[157]/*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %doc bindings elektra-api
104 %{_includedir}/*
105 %{_mandir}/man3/*
106
107 %files static
108 %{_libdir}/lib*.a
This page took 0.080053 seconds and 4 git commands to generate.