2011-01-15 10:26:18 +01:00
|
|
|
#
|
2011-08-29 13:08:14 +02:00
|
|
|
# spec file for package tomoyo-tools
|
2011-01-15 10:26:18 +01:00
|
|
|
#
|
2012-12-03 15:41:24 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-01-15 10:26:18 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2011-10-19 17:05:29 +02:00
|
|
|
%define downloadver 2.4.0-20110929
|
|
|
|
|
|
|
|
BuildRequires: ncurses-devel
|
2011-08-29 13:08:14 +02:00
|
|
|
|
2011-01-15 10:26:18 +01:00
|
|
|
Name: tomoyo-tools
|
2011-10-19 17:05:29 +02:00
|
|
|
Summary: Userspace tools for TOMOYO Linux 2.4.x
|
2012-12-03 15:41:24 +01:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: Development/Tools/Other
|
2011-08-29 13:08:14 +02:00
|
|
|
Url: http://sourceforge.jp/projects/tomoyo/
|
2011-10-19 17:05:29 +02:00
|
|
|
Version: 2.4.0.20110929
|
2012-12-03 15:41:24 +01:00
|
|
|
Release: 0
|
2011-10-19 17:05:29 +02:00
|
|
|
Source0: http://sourceforge.jp/frs/redir.php?f=/tomoyo/52848/tomoyo-tools-%{downloadver}.tar.gz
|
|
|
|
Source1: http://sourceforge.jp/frs/redir.php?f=/tomoyo/52848/tomoyo-tools-%{downloadver}.tar.gz.asc
|
2012-12-03 15:41:24 +01:00
|
|
|
Source2: %{name}.keyring
|
|
|
|
BuildRequires: gpg-offline
|
2011-01-15 10:26:18 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2011-10-19 17:05:29 +02:00
|
|
|
This package contains userspace tools for administrating TOMOYO Linux 2.4.
|
|
|
|
Please see http://tomoyo.sourceforge.jp/2.4/ for documentation.
|
2011-01-15 10:26:18 +01:00
|
|
|
|
|
|
|
%prep
|
2012-12-03 15:41:24 +01:00
|
|
|
%gpg_verify %{S:1}
|
2011-01-15 10:26:18 +01:00
|
|
|
%setup -q -n %{name}
|
|
|
|
|
|
|
|
%build
|
2011-10-19 17:05:29 +02:00
|
|
|
make USRLIBDIR=%_libdir CFLAGS="-Wall $RPM_OPT_FLAGS"
|
2011-01-15 10:26:18 +01:00
|
|
|
|
|
|
|
%install
|
2011-10-19 17:05:29 +02:00
|
|
|
make INSTALLDIR=$RPM_BUILD_ROOT USRLIBDIR=%_libdir install
|
2011-01-15 10:26:18 +01:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
2011-08-29 13:08:14 +02:00
|
|
|
|
2011-01-15 10:26:18 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc COPYING.tomoyo README.tomoyo
|
|
|
|
%attr(700,root,root) /sbin/tomoyo-init
|
|
|
|
%_libdir/lib*.so*
|
|
|
|
%dir %_libdir/tomoyo
|
|
|
|
%_libdir/tomoyo/*
|
|
|
|
/usr/sbin/*
|
|
|
|
/usr/share/man/man8/*
|
|
|
|
|
|
|
|
%changelog
|