Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
mcstrans
mcstrans.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mcstrans.spec of Package mcstrans
# # spec file for package mcstrans # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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/ # Name: mcstrans Version: 0.3.1 Release: 0 Url: http://fedora.redhat.com/ Summary: SELinux Translation Daemon License: GPL-2.0+ Group: System/Management Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-initscript.patch # PATCH-FIX-OPENSUSE don't use /var/lock/subsys (bnc#714633) Patch1: mcstrans-0.3.1-var_lock_subsys.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libcap-devel BuildRequires: libselinux-devel >= 1.30.3 BuildRequires: libsepol-devel-static BuildRequires: pcre-devel PreReq: %insserv_prereq %fillup_prereq %description Security-enhanced Linux is a feature of the Linux® kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. The Security-enhanced Linux kernel contains new architectural components originally developed to improve the security of the Flask operating system. These architectural components provide general support for the enforcement of many kinds of mandatory access control policies, including those based on the concepts of Type Enforcement®, Role-based Access Control, and Multi-level Security. mcstrans provides an translation daemon to translate SELinux categories from internal representations to user defined representation. %prep %setup -q %patch0 %patch1 -p1 %build export CFLAGS="$RPM_OPT_FLAGS" make LIBDIR="%{_libdir}" %{?jobs:-j%jobs} %install mkdir -p $RPM_BUILD_ROOT/%{_lib} mkdir -p $RPM_BUILD_ROOT/%{_libdir} make DESTDIR="$RPM_BUILD_ROOT" LIBDIR="$RPM_BUILD_ROOT%{_libdir}" SHLIBDIR="$RPM_BUILD_ROOT/%{_lib}" install rm -f $RPM_BUILD_ROOT%{_sbindir}/* rm -f $RPM_BUILD_ROOT%{_libdir}/*.a install -D -m 0755 $RPM_BUILD_ROOT/etc/rc.d/init.d/mcstrans $RPM_BUILD_ROOT/etc/init.d/mcstrans rm -rf $RPM_BUILD_ROOT/etc/rc.d mkdir -p $RPM_BUILD_ROOT%{_sbindir} ln -sf ../../etc/init.d/mcstrans $RPM_BUILD_ROOT%{_sbindir}/rcmcstrans %clean rm -rf $RPM_BUILD_ROOT %post %fillup_and_insserv mcstrans %preun %stop_on_removal mcstrans %postun %restart_on_update mcstrans %insserv_cleanup %files %defattr(-,root,root) %{_sysconfdir}/init.d/mcstrans %{_sbindir}/rcmcstrans /sbin/mcstransd %{_mandir}/man8/mcs.8.gz %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor