]> git.pld-linux.org Git - packages/elektra.git/blame - elektra.spec
- allow pass CFLAGS
[packages/elektra.git] / elektra.spec
CommitLineData
b511c548 1Summary: A key/value pair database to store software configurations
2#Summary(pl):
08a1423c
SP
3Name: elektra
4Version: 0.4.6
b511c548 5Release: 0.1
6Epoch: 0
08a1423c 7License: BSD
b511c548 8Group: Applications/System
b0fec8fa 9Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
08a1423c 10# Source0-md5: f032ec83ffe91f2e7c2a0d70f67749eb
b511c548 11Patch0: %{name}-Makefile_CFLAGS.patch
08a1423c 12URL: http://elektra.sf.net
b0fec8fa 13BuildRequires: libxslt-progs
08a1423c 14Obsoletes: registry
a1ae6c6c 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
b511c548 18The Elektra Project provides a framework to store generic
19configuration data in an hierarchical key-value pair database, instead
20of a human-readable only text file.
a1ae6c6c 21
22This way any software can read/save his configuration using a
23consistent API. Also, applications can be aware of other applications
24configurations, leveraging easy application integration.
25
b511c548 26#%%description -l pl
a1ae6c6c 27
28%package devel
b511c548 29Summary: Include files and API documentation for Elektra Project
30#Summary(pl):
a1ae6c6c 31Group: Development/Libraries
b511c548 32Requires: elektra = %{epoch}:%{version}-%{release}
a1ae6c6c 33
34%description devel
b511c548 35The Elektra Project provides a framework to store generic
36configuration data in an hierarchical key-value pair database, instead
37of a human-readable only text file.
a1ae6c6c 38
39This way any software can read/save his configuration using a
40consistent API. Also, applications can be aware of other applications
41configurations, leveraging easy application integration.
42
43This package contains the include files and API manual pages to use
b511c548 44the Elektra API in C.
a1ae6c6c 45
b511c548 46#%%description devel -l pl
a1ae6c6c 47
b511c548 48%package static
49Summary: Static library for Elektra Project
50#Summary(pl):
51Group: Libraries
52Requires: elektra-devel = %{epoch}:%{version}-%{release}
a1ae6c6c 53
b511c548 54%description static
55The Elektra Project provides a framework to store generic
56configuration data in an hierarchical key-value pair database, instead
57of a human-readable only text file.
a1ae6c6c 58
59This way any software can read/save his configuration using a
60consistent API. Also, applications can be aware of other applications
61configurations, leveraging easy application integration.
62
b511c548 63This package contains static library for Elektra Project.
a1ae6c6c 64
b511c548 65#%%description static -l pl
a1ae6c6c 66
67%prep
b511c548 68%setup -q -n elektra
69%patch0 -p1
a1ae6c6c 70
71%build
b511c548 72%{__make} all CC="%{__cc}" CFLAGS="%{rpmcflags}"
a1ae6c6c 73
74%install
75rm -rf $RPM_BUILD_ROOT
76
b511c548 77%{__make} install DESTDIR=$RPM_BUILD_ROOT
a1ae6c6c 78
b511c548 79cp -a $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-devel elektra-api
a1ae6c6c 80
81%clean
82rm -rf $RPM_BUILD_ROOT
83
84%post
b511c548 85/sbin/ldconfig
86# Create basic key structure for apps
87kdb set -t dir system/sw
a1ae6c6c 88
b511c548 89%postun -p /sbin/ldconfig
a1ae6c6c 90
91%files
92%defattr(644,root,root,755)
b511c548 93%doc articles doc/standards example scripts AUTHORS ChangeLog README TODO
782b015e 94%attr(755,root,root) /bin/*
b511c548 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]/*
a1ae6c6c 100
101%files devel
102%defattr(644,root,root,755)
b511c548 103%doc bindings elektra-api
a1ae6c6c 104%{_includedir}/*
105%{_mandir}/man3/*
106
b511c548 107%files static
108%{_libdir}/lib*.a
This page took 0.169169 seconds and 4 git commands to generate.