]>
Commit | Line | Data |
---|---|---|
c7f08c85 | 1 | Summary: Augeas is configuration editing tool |
2 | Summary(pl.UTF-8): Augeas to narzędzie do edytowania konfiguracji | |
3 | Name: augeas | |
4 | Version: 0.7.2 | |
05cd900c | 5 | Release: 0.2 |
ea00af9a | 6 | License: GPL v2 |
c7f08c85 | 7 | Group: Applications/System |
8 | Source0: http://augeas.net/download/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: 0fe232b7f37a6e468e81019895fd01f4 | |
05cd900c | 10 | Patch0: %{name}-pld_interfaces.patch |
c7f08c85 | 11 | URL: http://augeas.net |
ea00af9a | 12 | BuildRequires: readline-devel |
c7f08c85 | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | ||
17 | %description -l pl.UTF-8 | |
18 | ||
19 | %package libs | |
20 | Summary: Augeas libraries | |
21 | Summary(pl.UTF-8): Biblioteki augeasa | |
22 | Group: Libraries | |
23 | ||
24 | %description libs | |
25 | This package contains the augeas libraries. | |
26 | ||
27 | %description libs -l pl.UTF-8 | |
28 | Ten pakiet zawiera biblioteki augeasa. | |
29 | ||
30 | %package devel | |
31 | Summary: Augeas development files | |
32 | Summary(pl.UTF-8): Pliki programistyczne augeasa | |
33 | Group: Development/Libraries | |
34 | Requires: %{name}-libs = %{version}-%{release} | |
35 | ||
36 | %description devel | |
37 | This package contains the include files used to develop using augeas | |
38 | APIs. | |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Ten pakiet zawiera pliki nagłówkow służące do programowania z użyciem | |
42 | API augeasa. | |
43 | ||
44 | %package static | |
45 | Summary: Ageas static libraries | |
46 | Summary(pl.UTF-8): Statyczne biblioteki augeasa | |
47 | Group: Development/Libraries | |
48 | Requires: %{name}-devel = %{version}-%{release} | |
49 | ||
50 | %description static | |
51 | This package contains augeas static libraries. | |
52 | ||
53 | %description static -l pl.UTF-8 | |
54 | Ten pakiet zawiera statyczne biblioteki augeasa. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
05cd900c | 58 | %patch0 -p1 |
c7f08c85 | 59 | |
60 | %build | |
ea00af9a | 61 | %configure |
c7f08c85 | 62 | |
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | ||
75 | %post libs -p /sbin/ldconfig | |
76 | %postun libs -p /sbin/ldconfig | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
80 | %attr(755,root,root) %{_bindir}/augparse | |
81 | %attr(755,root,root) %{_bindir}/augtool | |
82 | %attr(755,root,root) %{_bindir}/fadot | |
ea00af9a | 83 | %{_datadir}/augeas |
c7f08c85 | 84 | %{_mandir}/man1/augparse.1.* |
85 | %{_mandir}/man1/augtool.1.* | |
86 | #%{_datadir}/vim/vimfiles/ftdetect/augeas.vim | |
87 | #%{_datadir}/vim/vimfiles/syntax/augeas.vim | |
88 | ||
89 | %files libs | |
90 | %defattr(644,root,root,755) | |
91 | %attr(755,root,root) %{_libdir}/libaugeas.so.*.*.* | |
92 | %attr(755,root,root) %ghost %{_libdir}/libaugeas.so.0 | |
93 | %attr(755,root,root) %{_libdir}/libfa.so.*.*.* | |
94 | %attr(755,root,root) %ghost %{_libdir}/libfa.so.1 | |
95 | ||
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
98 | %{_includedir}/augeas.h | |
99 | %{_includedir}/fa.h | |
100 | %attr(755,root,root) %{_libdir}/libaugeas.a | |
101 | %attr(755,root,root) %{_libdir}/libaugeas.so | |
102 | %attr(755,root,root) %{_libdir}/libfa.a | |
103 | %attr(755,root,root) %{_libdir}/libfa.so | |
104 | %{_pkgconfigdir}/augeas.pc | |
105 | ||
106 | %files static | |
107 | %defattr(644,root,root,755) | |
108 | %{_libdir}/libaugeas.la | |
109 | %{_libdir}/libfa.la |