]> git.pld-linux.org Git - packages/cfl.git/blob - cfl.spec
- tabs in preamble
[packages/cfl.git] / cfl.spec
1 Summary:        Configuration File Library
2 Summary(pl.UTF-8):      Biblioteka plików konfiguracyjnych
3 Name:           cfl
4 Version:        0.8.0
5 Release:        1
6 License:        GPL v2
7 Group:          Libraries
8 Source0:        http://download.gna.org/cfl/%{name}-%{version}.tar.gz
9 # Source0-md5:  2db9b1023f29274057368ce73959639d
10 Patch0:         %{name}-ac.patch
11 URL:            http://home.gna.org/cfl/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gdsl-devel
15 BuildRequires:  libtool
16 Obsoletes:      libcfl
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The Configuration File Library (CFL) is a collection of routines for
21 manipulating configuration files. CFL provides a modern Applications
22 Programming Interface (API) for C programmers, while allowing wrappers
23 to be written for very high level languages.
24
25 %description -l pl.UTF-8
26 Biblioteka plików konfiguracyjnych (CFL: Configuration File Library)
27 jest zestawem funkcji do obróbki plików konfiguracyjnych. CFL
28 dostarcza nowoczesne API dla programistów C, pozwalając na pisanie
29 wrapperów na bardzo wysokich poziomach języków.
30
31 %package devel
32 Summary:        Header files and development documentation for Configuration File Library
33 Summary(pl.UTF-8):      Pliki nagłówkowe i dokumentacja do biblioteki plików konfiguracyjnych
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36 Obsoletes:      libcfl-devel
37
38 %description devel
39 Header files and development documentation for Configuration File
40 Library.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe i dokumentacja do biblioteki plików konfiguracyjnych.
44
45 %package static
46 Summary:        Static Log Writer Library
47 Summary(pl.UTF-8):      Statyczna biblioteka plików konfiguracyjnych
48 Group:          Development/Libraries
49 Obsoletes:      libcfl-static
50
51 %description static
52 Static Log Writer Library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka plików konfiguracyjnych.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60
61 %build
62 %{__libtoolize}
63 %{__aclocal}
64 %{__autoconf}
65 %{__autoheader}
66 %{__automake}
67 %configure
68 %{__make}
69
70 %install
71 rm -rf $RPM_BUILD_ROOT
72
73 %{__make} install \
74         DESTDIR=$RPM_BUILD_ROOT
75
76 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
77 install src/example.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %post   -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %files
86 %defattr(644,root,root,755)
87 %doc AUTHORS ChangeLog NEWS README TODO
88 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
89
90 %files devel
91 %defattr(644,root,root,755)
92 %doc doc/ref/html/{*.html,*.gif}
93 %attr(755,root,root) %{_libdir}/*.so
94 %{_examplesdir}/%{name}-%{version}
95 %{_includedir}/*.h
96 %{_libdir}/*.la
97 %{_mandir}/man3/*
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/*.a
This page took 0.091117 seconds and 3 git commands to generate.