]> git.pld-linux.org Git - packages/conflib.git/blob - conflib.spec
- BuildRequires: autoconf, automake, libtool (is %%configure2_13 really needed?)
[packages/conflib.git] / conflib.spec
1 Summary:        Configuration file library
2 Summary(pl):    Biblioteka plików konfiguracyjnych
3 Summary(de):    Library zum Lesen von Konfigurationsdateien
4 Name:           conflib
5 Version:        0.4.5
6 Release:        5
7 License:        GPL
8 Group:          Libraries
9 Group(de):      Libraries
10 Group(es):      Bibliotecas
11 Group(fr):      Librairies
12 Group(pl):      Biblioteki
13 Group(pt_BR):   Bibliotecas
14 Group(ru):      âÉÂÌÉÏÔÅËÉ
15 Group(uk):      â¦Â̦ÏÔÅËÉ
16 Source0:        ftp://ftp.ohse.de/uwe/releases/%{name}-%{version}.tar.gz
17 Patch0:         %{name}-info.patch
18 Patch1:         %{name}-cl_build_stanza_array-fix.patch
19 Patch2:         %{name}-ac25x.patch
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  libtool
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %description 
26 A C language library for reading configuration files.
27
28 %description -l pl
29 Biblioteka C s³u¿±ca do odczytywania plików konfiguracyjnych.
30
31 %package devel
32 Summary:        Files for developing programs that use the conflib library
33 Summary(pl):    Pliki do tworzenia programów wykorzystuj±cych bibliotekê conflib
34 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
35 Group:          Development/Libraries
36 Group(de):      Entwicklung/Libraries
37 Group(es):      Desarrollo/Bibliotecas
38 Group(fr):      Development/Librairies
39 Group(pl):      Programowanie/Biblioteki
40 Group(pt_BR):   Desenvolvimento/Bibliotecas
41 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
42 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
43 Requires:       %{name} = %{version}
44
45 %description devel
46 This library makes it relativly easy to read configuration files (one
47 or more), or parts of them. It supports a lot of different data types
48 and some types of text interpretations, including \-escapes, ~user,
49 $HOME and conditional expansions.
50
51 %description -l pl devel
52 Ta biblioteka pozwala na stosunkowo proste czytanie plików
53 konfiguracyjnych lub ich czê¶ci. Wspiera wiele ró¿nych typów danych
54 oraz niektóre typy interpretacji tekstu, np. \-escapes, ~user, $HOME
55 oraz warunkowe rozwijanie.
56
57 %package static
58 Summary:        Files for developing programs that use the conflib library
59 Summary(pl):    Statyczne pliki do tworzenia programów wykorzystuj±cych bibliotekê conflib
60 Summary(de):    Dateien zum Entwickeln von Programmen mit der conflib-Library
61 Group:          Development/Libraries
62 Group(de):      Entwicklung/Libraries
63 Group(es):      Desarrollo/Bibliotecas
64 Group(fr):      Development/Librairies
65 Group(pl):      Programowanie/Biblioteki
66 Group(pt_BR):   Desenvolvimento/Bibliotecas
67 Group(ru):      òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
68 Group(uk):      òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
69 Requires:       %{name}-devel = %{version}
70
71 %description static
72 This library makes it relativly easy to read configuration files (one
73 or more), or parts of them. It supports a lot of different data types
74 and some types of text interpretations, including \-escapes, ~user,
75 $HOME and conditional expansions.
76
77 %description -l pl static
78 Ta biblioteka pozwala na stosunkowo proste czytanie plików
79 konfiguracyjnych lub ich czê¶ci. Wspiera wiele ró¿nych typów danych
80 oraz niektóre typy interpretacji tekstu, np. \-escapes, ~user, $HOME
81 oraz warunkowe rozwijanie. Ten pakiet zawiera pliki statyczne.
82
83 %prep
84 %setup -q
85 %patch0 -p1
86 %patch1 -p1     
87 %patch2 -p1     
88
89 %build
90 rm -f missing
91 libtoolize --copy --force
92 aclocal
93 autoconf
94 automake -a -c
95 %configure2_13
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100 %{__make} install DESTDIR=$RPM_BUILD_ROOT
101
102 gzip -9nf README NEWS ChangeLog
103
104 %post   -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
106
107 %post devel
108 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
109
110 %postun devel
111 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc README.gz NEWS.gz ChangeLog.gz
123 %{_includedir}/*.h
124 %attr(755,root,root) %{_libdir}/lib*.so
125 %attr(755,root,root) %{_libdir}/lib*.la
126 %{_infodir}/*info*
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*.a
This page took 0.085602 seconds and 3 git commands to generate.