]>
Commit | Line | Data |
---|---|---|
c3700c60 | 1 | Summary: TOMOYO Linux tools |
2 | Name: ccs-tools | |
4331c7a2 | 3 | Version: 1.6.6 |
c3700c60 | 4 | Release: 1 |
5 | License: GPL | |
6 | Group: Base/Kernel | |
4331c7a2 AG |
7 | Source0: http://osdn.dl.sourceforge.jp/tomoyo/30298/%{name}-%{version}-20090202.tar.gz |
8 | # Source0-md5: ee6900297b263bebe19156c32c652f36 | |
c3700c60 | 9 | Patch0: %{name}-ncurses.patch |
10 | Patch1: %{name}-Makefile.patch | |
11 | URL: http://tomoyo.sourceforge.jp/ | |
12 | Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | This is TOMOYO Linux tools. | |
16 | ||
17 | %prep | |
18 | %setup -q -n ccstools | |
19 | %patch0 -p1 | |
20 | %patch1 -p1 | |
21 | ||
22 | %build | |
23 | %{__make} \ | |
24 | CC="%{__cc}" \ | |
25 | CFLAGS="%{rpmcflags}" | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | %{__make} install \ | |
30 | INSTALLDIR=$RPM_BUILD_ROOT | |
31 | ||
32 | %clean | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
37 | %attr(755,root,root) /sbin/ccs-init | |
38 | %attr(755,root,root) /sbin/tomoyo-init | |
4331c7a2 | 39 | %attr(755,root,root) /usr/lib/ccs |
c3700c60 | 40 | %attr(755,root,root) %{_sbindir}/* |
41 | %{_mandir}/man8/*.8* |