]>
Commit | Line | Data |
---|---|---|
817a4a8d | 1 | Summary: Configuration file parser library |
2e2f21e3 | 2 | Summary(pl.UTF-8): Biblioteka analizująca pliki konfiguracyjne |
817a4a8d | 3 | Name: dotconf |
4 | Version: 1.0.13 | |
5d8a085a JB |
5 | Release: 1 |
6 | License: LGPL v2.1 | |
817a4a8d | 7 | Group: Libraries |
8 | Source0: http://www.azzit.de/dotconf/download/v1.0/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: bbf981a5f4a64e94cc6f2a693f96c21a | |
0d93da81 | 10 | Patch0: %{name}-am18.patch |
2e2f21e3 | 11 | URL: http://www.azzit.de/dotconf/ |
817a4a8d | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
817a4a8d | 15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | dot.conf is a simple-to-use and powerful configuration-file parser | |
19 | library written in C. The configuration files created for dot.conf | |
20 | look very similar to those used by the Apache Webserver. Even | |
21 | Container-Directives known from httpd.conf can easily be used in the | |
22 | exact same manner as for Apache-Modules. It supports various types of | |
23 | arguments, dynamically loadable modules that create their own | |
24 | configuration options on-the-fly, a here-documents feature to pass | |
25 | very long ARG_STR data to your app, and on-the-fly inclusion of | |
26 | additional config files. | |
27 | ||
2e2f21e3 JB |
28 | %description -l pl.UTF-8 |
29 | dot.conf to prosta w użyciu i mająca duże możliwości, napisana w C | |
30 | biblioteka analizująca pliki konfiguracyjne. Pliki tworzone dla | |
31 | dot.conf wyglądają podobnie do używanych przez serwer WWW Apache. | |
32 | Nawet dyrektywy kontenerowe znane z httpd.conf mogą być z łatwością | |
33 | używane w taki sam sposób, jak dla modułów Apache'a. Biblioteka | |
34 | obsługuje różne typy argumentów, dynamicznie ładowane moduły | |
35 | tworzące w locie własne opcje konfiguracyjne, tekst wklejany | |
36 | (here-document) do przekazywania bardzo długich danych ARG_STR do | |
37 | aplikacji oraz włączanie w locie dodatkowych plików konfiguracyjnych. | |
817a4a8d | 38 | |
39 | %package devel | |
40 | Summary: Header files for dot.conf library | |
41 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dot.conf | |
42 | Group: Development/Libraries | |
43 | Requires: %{name} = %{version}-%{release} | |
44 | ||
45 | %description devel | |
46 | Header files for dot.conf library. | |
47 | ||
48 | %description devel -l pl.UTF-8 | |
49 | Pliki nagłówkowe biblioteki dot.conf. | |
50 | ||
51 | %package static | |
52 | Summary: Static dot.conf library | |
53 | Summary(pl.UTF-8): Statyczna biblioteka dot.conf | |
54 | Group: Development/Libraries | |
55 | Requires: %{name}-devel = %{version}-%{release} | |
56 | ||
57 | %description static | |
58 | Static dot.conf library. | |
59 | ||
60 | %description static -l pl.UTF-8 | |
61 | Statyczna 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 | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %{__make} install \ | |
80 | DESTDIR=$RPM_BUILD_ROOT | |
81 | ||
82 | %clean | |
83 | rm -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 |