]> git.pld-linux.org Git - packages/dotconf.git/blame - dotconf.spec
- LGPL v2.1 (only)
[packages/dotconf.git] / dotconf.spec
CommitLineData
817a4a8d 1Summary: Configuration file parser library
2e2f21e3 2Summary(pl.UTF-8): Biblioteka analizująca pliki konfiguracyjne
817a4a8d 3Name: dotconf
4Version: 1.0.13
5d8a085a
JB
5Release: 1
6License: LGPL v2.1
817a4a8d 7Group: Libraries
8Source0: http://www.azzit.de/dotconf/download/v1.0/%{name}-%{version}.tar.gz
9# Source0-md5: bbf981a5f4a64e94cc6f2a693f96c21a
0d93da81 10Patch0: %{name}-am18.patch
2e2f21e3 11URL: http://www.azzit.de/dotconf/
817a4a8d 12BuildRequires: autoconf
13BuildRequires: automake
14BuildRequires: libtool
817a4a8d 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18dot.conf is a simple-to-use and powerful configuration-file parser
19library written in C. The configuration files created for dot.conf
20look very similar to those used by the Apache Webserver. Even
21Container-Directives known from httpd.conf can easily be used in the
22exact same manner as for Apache-Modules. It supports various types of
23arguments, dynamically loadable modules that create their own
24configuration options on-the-fly, a here-documents feature to pass
25very long ARG_STR data to your app, and on-the-fly inclusion of
26additional config files.
27
2e2f21e3
JB
28%description -l pl.UTF-8
29dot.conf to prosta w użyciu i mająca duże możliwości, napisana w C
30biblioteka analizująca pliki konfiguracyjne. Pliki tworzone dla
31dot.conf wyglądają podobnie do używanych przez serwer WWW Apache.
32Nawet dyrektywy kontenerowe znane z httpd.conf mogą być z łatwością
33używane w taki sam sposób, jak dla modułów Apache'a. Biblioteka
34obsługuje różne typy argumentów, dynamicznie ładowane moduły
35tworzące w locie własne opcje konfiguracyjne, tekst wklejany
36(here-document) do przekazywania bardzo długich danych ARG_STR do
37aplikacji oraz włączanie w locie dodatkowych plików konfiguracyjnych.
817a4a8d 38
39%package devel
40Summary: Header files for dot.conf library
41Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dot.conf
42Group: Development/Libraries
43Requires: %{name} = %{version}-%{release}
44
45%description devel
46Header files for dot.conf library.
47
48%description devel -l pl.UTF-8
49Pliki nagłówkowe biblioteki dot.conf.
50
51%package static
52Summary: Static dot.conf library
53Summary(pl.UTF-8): Statyczna biblioteka dot.conf
54Group: Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58Static dot.conf library.
59
60%description static -l pl.UTF-8
61Statyczna biblioteka dot.conf.
62
63%prep
64%setup -q
0d93da81 65%patch0 -p1
817a4a8d 66
67%build
817a4a8d 68%{__libtoolize}
69%{__aclocal}
70%{__autoconf}
71%{__autoheader}
72%{__automake}
73%configure
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post -p /sbin/ldconfig
86%postun -p /sbin/ldconfig
87
88%files
89%defattr(644,root,root,755)
90%doc AUTHORS ChangeLog NEWS README doc/*.txt examples
0d93da81
JB
91%attr(755,root,root) %{_libdir}/libdotconf-*.so.*.*.*
92%attr(755,root,root) %ghost %{_libdir}/libdotconf-1.0.so.0
817a4a8d 93
94%files devel
95%defattr(644,root,root,755)
0d93da81
JB
96%attr(755,root,root) %{_bindir}/dotconf-config
97%attr(755,root,root) %{_libdir}/libdotconf.so
98%{_libdir}/libdotconf.la
99%{_libdir}/libpool.a
100%{_includedir}/dotconf.h
101%{_includedir}/libpool.h
102%{_aclocaldir}/dotconf.m4
103%{_pkgconfigdir}/dotconf.pc
817a4a8d 104
105%files static
106%defattr(644,root,root,755)
0d93da81 107%{_libdir}/libdotconf.a
This page took 0.317183 seconds and 4 git commands to generate.