[meego-commits] 10614: New package Trunk/libsmack
Rolla Selbak
no_reply at build.meego.com
Mon Dec 6 19:24:33 UTC 2010
Hi,
Adding new package libsmack in project Trunk. Please review and accept ASAP.
Justification for this new package:
Trunk promotion
Thank You,
Rolla Selbak
[This message was auto-generated]
---
Request #10614:
submit: Trunk:Testing/libsmack(r1) -> Trunk/libsmack
Message:
Trunk promotion
State: new 2010-12-06T11:24:32 rolla
Comment: None
This is a NEW package in Trunk project.
The files in the new package:
libsmack/
|__ Makefile
|__ libsmack-1.0.tar.bz2
|__ libsmack.changes
|__ libsmack.spec
|__ libsmack.yaml
The content of the YAML file, libsmack.yaml:
===================================================================
Name: libsmack
Summary: SMACK Libraries
Version: 1.0
Release: 1
Group: System/Base
License: LGPLv2
URL: http://meego.gitorious.org/meego-platform-security
Sources:
- libsmack-%{version}.tar.bz2
Description: |
These are the userland libraries and tools for SMACK.
PkgBR:
- libattr-devel
- uthash-devel
- check-devel
Configure: reconfigure
SubPackages:
- Name: devel
Summary: Development files for SMACK userland tools
Group: Development/Libraries
===================================================================
The content of the spec file, libsmack.spec:
===================================================================
#
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.21
#
# >> macros
# << macros
Name: libsmack
Summary: SMACK Libraries
Version: 1.0
Release: 1
Group: System/Base
License: LGPLv2
URL: http://meego.gitorious.org/meego-platform-security
Source0: libsmack-%{version}.tar.bz2
Source100: libsmack.yaml
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: libattr-devel
BuildRequires: uthash-devel
BuildRequires: check-devel
%description
These are the userland libraries and tools for SMACK.
%package devel
Summary: Development files for SMACK userland tools
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
Description: %{summary}
%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup
%build
# >> build pre
# << build pre
%reconfigure --disable-static
make %{?jobs:-j%jobs}
# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install
# >> install post
# << install post
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
# >> files
%{_libdir}/libsmack.so.1
%{_libdir}/libsmack.so.1.0.0
# << files
%files devel
%defattr(-,root,root,-)
# >> files devel
%{_libdir}/libsmack.so
%{_includedir}/sys/smack.h
# << files devel
===================================================================
More information about the MeeGo-commits
mailing list