]> git.pld-linux.org Git - packages/augeas.git/blob - augeas.spec
- updated to 1.12.0
[packages/augeas.git] / augeas.spec
1 Summary:        Augeas - configuration editing tool
2 Summary(pl.UTF-8):      Augeas - narzędzie do modyfikowania konfiguracji
3 Name:           augeas
4 Version:        1.12.0
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Applications/System
8 Source0:        http://download.augeas.net/%{name}-%{version}.tar.gz
9 # Source0-md5:  74f1c7b8550f4e728486091f6b907175
10 Patch0:         %{name}-pld_interfaces.patch
11 URL:            http://augeas.net/
12 BuildRequires:  libselinux-devel
13 BuildRequires:  libxml2-devel >= 2.0
14 BuildRequires:  pkgconfig
15 BuildRequires:  readline-devel
16 Requires:       %{name}-libs = %{version}-%{release}
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Augeas is a library and command line tool that focuses on the most
21 basic problem in handling Linux configurations programmatically:
22 editing actual configuration files in a controlled manner.
23
24 %description -l pl.UTF-8
25 Augeas to biblioteka i działające z linii poleceń narzędzie
26 skupiające się na najbardziej podstawowym problemie przy programowej
27 obsłudze konfiguracji Linuksa: modyfikowaniu w sposób kontrolowany
28 właściwych plików konfiguracyjnych.
29
30 %package libs
31 Summary:        Augeas libraries
32 Summary(pl.UTF-8):      Biblioteki augeasa
33 Group:          Libraries
34
35 %description libs
36 This package contains the augeas libraries.
37
38 %description libs -l pl.UTF-8
39 Ten pakiet zawiera biblioteki augeasa.
40
41 %package devel
42 Summary:        Augeas development files
43 Summary(pl.UTF-8):      Pliki programistyczne augeasa
44 Group:          Development/Libraries
45 Requires:       %{name}-libs = %{version}-%{release}
46 Requires:       libselinux-devel
47 Requires:       libxml2-devel >= 2.0
48
49 %description devel
50 This package contains the include files used to develop using augeas
51 APIs.
52
53 %description devel -l pl.UTF-8
54 Ten pakiet zawiera pliki nagłówkow służące do programowania z użyciem
55 API augeasa.
56
57 %package static
58 Summary:        Augeas static libraries
59 Summary(pl.UTF-8):      Statyczne biblioteki augeasa
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 This package contains augeas static libraries.
65
66 %description static -l pl.UTF-8
67 Ten pakiet zawiera statyczne biblioteki augeasa.
68
69 %package -n vim-syntax-augeas
70 Summary:        Augeas syntax rules for Vim
71 Summary(pl.UTF-8):      Reguły składni Augeasa dla Vima
72 Group:          Applications/Editors/Vim
73 # for _vimdatadir existence
74 Requires:       vim-rt >= 4:6.3.058-3
75
76 %description -n vim-syntax-augeas
77 Augeas syntax rules for Vim.
78
79 %description -n vim-syntax-augeas -l pl.UTF-8
80 Reguły składni Augeasa dla Vima.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85
86 %build
87 %configure \
88         --disable-silent-rules
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post   libs -p /sbin/ldconfig
101 %postun libs -p /sbin/ldconfig
102
103 %files
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README
106 %attr(755,root,root) %{_bindir}/augmatch
107 %attr(755,root,root) %{_bindir}/augparse
108 %attr(755,root,root) %{_bindir}/augtool
109 %attr(755,root,root) %{_bindir}/fadot
110 %{_datadir}/augeas
111 %{_mandir}/man1/augmatch.1*
112 %{_mandir}/man1/augparse.1*
113 %{_mandir}/man1/augtool.1*
114
115 %files libs
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libaugeas.so.*.*.*
118 %attr(755,root,root) %ghost %{_libdir}/libaugeas.so.0
119 %attr(755,root,root) %{_libdir}/libfa.so.*.*.*
120 %attr(755,root,root) %ghost %{_libdir}/libfa.so.1
121
122 %files devel
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libaugeas.so
125 %attr(755,root,root) %{_libdir}/libfa.so
126 %{_libdir}/libaugeas.la
127 %{_libdir}/libfa.la
128 %{_includedir}/augeas.h
129 %{_includedir}/fa.h
130 %{_pkgconfigdir}/augeas.pc
131
132 %files static
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_libdir}/libaugeas.a
135 %attr(755,root,root) %{_libdir}/libfa.a
136
137 %files -n vim-syntax-augeas
138 %defattr(644,root,root,755)
139 %{_datadir}/vim/vimfiles/ftdetect/augeas.vim
140 %{_datadir}/vim/vimfiles/syntax/augeas.vim
This page took 0.122417 seconds and 3 git commands to generate.