Update to new version of mcstrans from Joe Nall
This commit is contained in:
parent
e68be7e9d1
commit
ea85c5f227
@ -19,3 +19,5 @@ mcstrans-0.2.8.tgz
|
||||
mcstrans-0.2.9.tgz
|
||||
mcstrans-0.2.10.tgz
|
||||
mcstrans-0.2.11.tgz
|
||||
mcstrans-0.3.0.6.tgz
|
||||
mcstrans-0.3.1.tgz
|
||||
|
@ -1,13 +1,14 @@
|
||||
Summary: SELinux Translation Daemon
|
||||
Name: mcstrans
|
||||
Version: 0.2.11
|
||||
Release: 2%{?dist}
|
||||
Version: 0.3.1
|
||||
Release: 1%{?dist}
|
||||
License: GPL+
|
||||
Group: System Environment/Daemons
|
||||
Source: http://fedora.redhat.com/projects/%{name}-%{version}.tgz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libselinux-devel >= 1.30.3-1
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: libcap-devel pcre-devel libsepol-devel libsepol-static
|
||||
Requires: pcre
|
||||
Requires(pre): /sbin/chkconfig /sbin/service
|
||||
Requires(post):/sbin/chkconfig /sbin/service
|
||||
Provides: setransd
|
||||
@ -37,11 +38,15 @@ make CFLAGS="-g %{optflags}"
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}/%{_lib}
|
||||
mkdir -p %{buildroot}/%{_libdir}
|
||||
mkdir -p %{buildroot}/%{_lib}
|
||||
mkdir -p %{buildroot}/%{_libdir}
|
||||
mkdir -p %{buildroot}%{_usr}/share/mcstrans
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/selinux/mls/setrans.d
|
||||
|
||||
make DESTDIR="%{buildroot}" LIBDIR="%{buildroot}%{_libdir}" SHLIBDIR="%{buildroot}/%{_lib}" install
|
||||
rm -f %{buildroot}%{_sbindir}/*
|
||||
rm -f %{buildroot}%{_libdir}/*.a
|
||||
cp -r share/* %{buildroot}%{_usr}/share/mcstrans/
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
@ -68,8 +73,23 @@ fi
|
||||
%{_mandir}/man8/mcs.8.gz
|
||||
/sbin/mcstransd
|
||||
%{_sysconfdir}/rc.d/init.d/mcstrans
|
||||
%dir %{_sysconfdir}/selinux/mls/setrans.d
|
||||
|
||||
%dir %{_usr}/share/mcstrans
|
||||
|
||||
%defattr(0644,root,root,0755)
|
||||
%dir %{_usr}/share/mcstrans/util
|
||||
%dir %{_usr}/share/mcstrans/examples
|
||||
%{_usr}/share/mcstrans/examples/*
|
||||
|
||||
%defattr(0755,root,root,0755)
|
||||
%{_usr}/share/mcstrans/util/*
|
||||
|
||||
%changelog
|
||||
* Thu Feb 5 2009 Joe Nall <joe@nall.com> 0.3.1-1
|
||||
- Rewrite translations to allow individual word/category mapping
|
||||
- Eamon Walsh's color mapping changes
|
||||
|
||||
* Wed May 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.2.11-2
|
||||
- fix license tag
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user