1 | Name: lxc |
---|
2 | Version: 0.7.4.2 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Linux Resource Containers |
---|
5 | Summary(ja): Linux リソースコンテナ |
---|
6 | |
---|
7 | Group: Applications/System |
---|
8 | License: LGPLv2+ |
---|
9 | URL: http://lxc.sourceforge.net |
---|
10 | Source0: http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | |
---|
13 | BuildRequires: automake |
---|
14 | BuildRequires: docbook-utils |
---|
15 | BuildRequires: kernel-headers |
---|
16 | BuildRequires: libcap-devel |
---|
17 | BuildRequires: libtool |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | Packager: daisuke |
---|
22 | |
---|
23 | %description |
---|
24 | Linux Resource Containers provide process and resource isolation without the |
---|
25 | overhead of full virtualization. |
---|
26 | |
---|
27 | %package libs |
---|
28 | Summary: Runtime library files for %{name} |
---|
29 | Summary(ja): %{name} のランタイムライブラリ |
---|
30 | Group: System Environment/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | |
---|
33 | %description libs |
---|
34 | Linux Resource Containers provide process and resource isolation without the |
---|
35 | overhead of full virtualization. |
---|
36 | |
---|
37 | The %{name}-libs package contains libraries for running %{name} applications. |
---|
38 | |
---|
39 | %package templates |
---|
40 | Summary: Templates for %{name} |
---|
41 | Summary(ja): %{name} 用のテンプレート |
---|
42 | Group: System Environment/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | Requires: debootstrap |
---|
45 | |
---|
46 | %description templates |
---|
47 | Linux Resource Containers provide process and resource isolation without the |
---|
48 | overhead of full virtualization. |
---|
49 | |
---|
50 | The %{name}-template package contains templates for creating containers. |
---|
51 | |
---|
52 | %package devel |
---|
53 | Summary: Development files for %{name} |
---|
54 | Summary(ja): %{name} の開発ライブラリ |
---|
55 | Group: Development/Libraries |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | Requires: pkgconfig |
---|
58 | |
---|
59 | %description devel |
---|
60 | Linux Resource Containers provide process and resource isolation without the |
---|
61 | overhead of full virtualization. |
---|
62 | |
---|
63 | The %{name}-devel package contains libraries and header files for |
---|
64 | developing applications that use %{name}. |
---|
65 | |
---|
66 | %package doc |
---|
67 | Summary: Documentation for %{name} |
---|
68 | Summary(ja): %{name} のドキュメント |
---|
69 | Group: Documentation |
---|
70 | Requires: %{name} = %{version}-%{release} |
---|
71 | |
---|
72 | %description doc |
---|
73 | This package contains documentation for %{name}. |
---|
74 | |
---|
75 | %prep |
---|
76 | %setup -q |
---|
77 | |
---|
78 | %build |
---|
79 | ./autogen.sh |
---|
80 | %configure F77=no |
---|
81 | # Fix binary-or-shlib-defines-rpath error |
---|
82 | %{__sed} -i '/AM_LDFLAGS = -Wl,-E -Wl,-rpath -Wl,$(libdir)/d' src/lxc/Makefile.in |
---|
83 | %{__make} %{?_smp_mflags} |
---|
84 | |
---|
85 | %check |
---|
86 | %{__make} check |
---|
87 | |
---|
88 | %install |
---|
89 | rm -rf %{buildroot} |
---|
90 | %{__make} DESTDIR=%{buildroot} install |
---|
91 | find %{buildroot} -name '*.la' -delete |
---|
92 | %{__mkdir} -p %{buildroot}%{_sharedstatedir}/%{name} |
---|
93 | %{__mkdir} -p %{buildroot}%{_localstatedir}/lib/%{name} |
---|
94 | |
---|
95 | %clean |
---|
96 | %{__rm} -rf %{buildroot} |
---|
97 | |
---|
98 | %post libs -p /sbin/ldconfig |
---|
99 | |
---|
100 | %postun libs -p /sbin/ldconfig |
---|
101 | |
---|
102 | %files |
---|
103 | %defattr(-,root,root,-) |
---|
104 | %doc AUTHORS COPYING README |
---|
105 | %{_bindir}/%{name}-* |
---|
106 | %{_mandir}/man*/%{name}* |
---|
107 | %{_sharedstatedir}/%{name} |
---|
108 | %{_localstatedir}/lib/%{name} |
---|
109 | |
---|
110 | %files libs |
---|
111 | %defattr(-,root,root,-) |
---|
112 | %doc AUTHORS COPYING |
---|
113 | %dir %{_libdir}/lxc |
---|
114 | %dir %{_libdir}/lxc/templates |
---|
115 | %{_libdir}/liblxc.so.* |
---|
116 | %{_libdir}/lxc/lxc-init |
---|
117 | %{_libdir}/lxc/rootfs |
---|
118 | |
---|
119 | %files templates |
---|
120 | %defattr(-,root,root,-) |
---|
121 | %{_libdir}/lxc/templates/lxc-* |
---|
122 | |
---|
123 | %files devel |
---|
124 | %defattr(-,root,root,-) |
---|
125 | %{_datadir}/pkgconfig/%{name}.pc |
---|
126 | %{_includedir}/* |
---|
127 | %{_libdir}/liblxc.so |
---|
128 | |
---|
129 | %files doc |
---|
130 | %defattr(-,root,root,-) |
---|
131 | %{_docdir}/%{name} |
---|
132 | |
---|
133 | %changelog |
---|
134 | * Mon Jun 06 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4.2-1 |
---|
135 | - update to 0.7.4.2 |
---|
136 | |
---|
137 | * Thu Apr 28 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4.1-2 |
---|
138 | - include all templates |
---|
139 | |
---|
140 | * Wed Apr 27 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4.1-1 |
---|
141 | - initial build for Vine Linux |
---|
142 | |
---|
143 | * Fri Mar 25 2011 Silas Sewell <silas@sewell.ch> - 0.7.4.1-1 |
---|
144 | - Update to 0.7.4.1 |
---|
145 | |
---|
146 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2 |
---|
147 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
148 | |
---|
149 | * Mon Jul 26 2010 Silas Sewell <silas@sewell.ch> - 0.7.2-1 |
---|
150 | - Update to 0.7.2 |
---|
151 | - Remove templates |
---|
152 | |
---|
153 | * Tue Jul 06 2010 Silas Sewell <silas@sewell.ch> - 0.7.1-1 |
---|
154 | - Update to 0.7.1 |
---|
155 | |
---|
156 | * Wed Feb 17 2010 Silas Sewell <silas@sewell.ch> - 0.6.5-1 |
---|
157 | - Update to latest release |
---|
158 | - Add /var/lib/lxc directory |
---|
159 | - Patch for sys/stat.h |
---|
160 | |
---|
161 | * Fri Nov 27 2009 Silas Sewell <silas@sewell.ch> - 0.6.4-1 |
---|
162 | - Update to latest release |
---|
163 | - Add documentation sub-package |
---|
164 | |
---|
165 | * Mon Jul 27 2009 Silas Sewell <silas@sewell.ch> - 0.6.3-2 |
---|
166 | - Apply patch for rawhide kernel |
---|
167 | |
---|
168 | * Sat Jul 25 2009 Silas Sewell <silas@sewell.ch> - 0.6.3-1 |
---|
169 | - Initial package |
---|