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
|
|
|
#
|
2021-09-29 13:33:12 +02:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2021-09-29 13:33:12 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-01-15 10:26:18 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-09-29 13:33:12 +02:00
|
|
|
%define downloadver 2.6.1-20210910
|
2011-01-15 10:26:18 +01:00
|
|
|
Name: tomoyo-tools
|
2021-09-29 13:33:12 +02:00
|
|
|
Version: 2.6.1.20210910
|
2015-06-09 08:57:16 +02:00
|
|
|
Release: 0
|
2011-10-19 17:05:29 +02:00
|
|
|
Summary: Userspace tools for TOMOYO Linux 2.4.x
|
2021-09-29 13:33:12 +02:00
|
|
|
License: GPL-2.0-only
|
2012-12-03 15:41:24 +01:00
|
|
|
Group: Development/Tools/Other
|
2021-09-29 13:33:12 +02:00
|
|
|
URL: http://sourceforge.jp/projects/tomoyo/
|
|
|
|
Source0: http://osdn.dl.sourceforge.jp/tomoyo/70710/tomoyo-tools-%{downloadver}.tar.gz
|
|
|
|
Source1: http://osdn.dl.sourceforge.jp/tomoyo/70710/tomoyo-tools-%{downloadver}.tar.gz.asc
|
2015-06-09 08:58:37 +02:00
|
|
|
# http://i-love.sakura.ne.jp/kumaneko-key
|
|
|
|
Source2: %name.keyring
|
2015-06-09 08:57:16 +02:00
|
|
|
BuildRequires: ncurses-devel
|
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
|
|
|
|
%setup -q -n %{name}
|
|
|
|
|
|
|
|
%build
|
2015-06-09 08:57:16 +02:00
|
|
|
make %{?_smp_mflags} USRLIBDIR=%{_libdir} CFLAGS="-Wall %{optflags}"
|
2011-01-15 10:26:18 +01:00
|
|
|
|
|
|
|
%install
|
2021-09-29 13:33:12 +02:00
|
|
|
make INSTALLDIR=%{buildroot} USRLIBDIR=%{_libdir} SBINDIR=%{_sbindir} 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
|
2021-09-29 13:33:12 +02:00
|
|
|
%attr(700,root,root) %_sbindir/tomoyo-init
|
2015-06-09 08:57:16 +02:00
|
|
|
%{_libdir}/lib*.so*
|
|
|
|
%dir %{_libdir}/tomoyo
|
|
|
|
%{_libdir}/tomoyo/*
|
2015-04-08 14:51:42 +02:00
|
|
|
%{_sbindir}/*
|
|
|
|
%{_mandir}/man8/*
|
2011-01-15 10:26:18 +01:00
|
|
|
|
|
|
|
%changelog
|