[Tizen-submit] 2634: New package Tizen:2.1:Base/smack

noreply at tizen.org noreply at tizen.org
Tue Apr 23 10:42:29 GMT 2013


Hi,
Adding new package smack in project Tizen:2.1:Base. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/security/smack
Tag: submit/tizen_2.1/20130423.104245
Commit: e85bd1b sync with master branch

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #2634

  submit:       Tizen:2.1:Base:build/smack(cleanup) -> Tizen:2.1:Base


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/security/smack
Tag: submit/tizen_2.1/20130423.104245
Commit: e85bd1b sync with master branch

State:   new        2013-04-23T03:13:08 tizenrobot
Comment: <no comment>
new:
----
  smack-1.0slp2+s9.tar.gz
  smack.spec

spec files:
-----------

++++++ new spec file:
--- smack.spec
+++ smack.spec
@@ -0,0 +1,132 @@
+Name:       smack
+Version:    1.0slp2+s9
+Release:    1
+VCS:        framework/security/smack#2.1_release-0-ge85bd1b
+Summary:    Package to interact with Smack
+Group:      System/Kernel
+License:    LGPLv2
+URL:        https://github.com/organizations/smack-team/smack
+Source0:    smack-%{version}.tar.gz
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: automake autoconf libtool
+
+%description
+Library allows applications to work with Smack
+
+%package devel
+Summary:    Developmnent headers and libs for libsmack
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+Standard header files for use when developing Smack enabled applications
+
+%package utils
+Summary:    Selection of tools for developers working with Smack
+Group:      System/Kernel
+Requires:   %{name} = %{version}-%{release}
+
+%description utils
+Tools provided to load and unload rules from the kernel and query the policy
+
+%prep
+%setup -q
+autoreconf --install --symlink
+
+%build
+%configure --with-systemdsystemunitdir=%{_libdir}/systemd/system
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+install -d %{buildroot}/smack
+install -d %{buildroot}/etc
+install -D -d %{buildroot}/opt/etc/smack/accesses.d
+install -D -d %{buildroot}/opt/etc/smack/cipso.d
+install -D -d %{buildroot}/etc/rc.d/rc3.d/
+install -D -d %{buildroot}/etc/rc.d/rc4.d/
+install -D init/smack.rc %{buildroot}/etc/init.d/smack-utils
+ln -sf /opt/etc/smack %{buildroot}/etc/
+ln -sf /etc/init.d/smack-utils %{buildroot}/etc/rc.d/rc3.d/S01smack
+ln -sf /etc/init.d/smack-utils %{buildroot}/etc/rc.d/rc4.d/S01smack
+install -D -d %{buildroot}%{_libdir}/systemd/system/local-fs.target.wants
+install -D -d %{buildroot}%{_libdir}/systemd/system/basic.target.wants
+ln -sf ../%{name}.mount %{buildroot}%{_libdir}/systemd/system/local-fs.target.wants/
+ln -sf ../%{name}.service %{buildroot}%{_libdir}/systemd/system/basic.target.wants/
+rm -rf %{buildroot}/%{_docdir}
+
+%clean
+rm -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/libsmack.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/*
+%{_libdir}/libsmack.so

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list