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