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