]> git.pld-linux.org Git - packages/dotconf.git/blob - dotconf.spec
- LGPL v2.1 (only)
[packages/dotconf.git] / dotconf.spec
1 Summary:        Configuration file parser library
2 Summary(pl.UTF-8):      Biblioteka analizująca pliki konfiguracyjne
3 Name:           dotconf
4 Version:        1.0.13
5 Release:        1
6 License:        LGPL v2.1
7 Group:          Libraries
8 Source0:        http://www.azzit.de/dotconf/download/v1.0/%{name}-%{version}.tar.gz
9 # Source0-md5:  bbf981a5f4a64e94cc6f2a693f96c21a
10 Patch0:         %{name}-am18.patch
11 URL:            http://www.azzit.de/dotconf/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  libtool
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
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.
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
65 %patch0 -p1
66
67 %build
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
91 %attr(755,root,root) %{_libdir}/libdotconf-*.so.*.*.*
92 %attr(755,root,root) %ghost %{_libdir}/libdotconf-1.0.so.0
93
94 %files devel
95 %defattr(644,root,root,755)
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
104
105 %files static
106 %defattr(644,root,root,755)
107 %{_libdir}/libdotconf.a
This page took 1.041104 seconds and 3 git commands to generate.