[meego-commits] 14620: New package Trunk:Testing/libsmackman

Shaik Parvez no_reply at build.meego.com
Wed Mar 9 08:00:44 UTC 2011


Hi,
Adding new package libsmackman in project Trunk:Testing. Please review and accept ASAP.

Justification for this new package:

- Initial code push for libsmackman.
- Added patch libsmackman-1.0.0-add-doxygen-configure.patch to explicitly   
   disable doxygen so build doesn't fail to extra files   
 even if doxygen is installed in some projects.   
- BUG#13247

Thank You,
Shaik Parvez

[This message was auto-generated]

---

Request #14620:

  submit:   devel:security/libsmackman(r7)(update) -> Trunk:Testing/libsmackman


Message:
    - Initial code push for libsmackman.
- Added patch libsmackman-1.0.0-add-doxygen-configure.patch to explicitly   
   disable doxygen so build doesn't fail to extra files   
 even if doxygen is installed in some projects.   
- BUG#13247

State:   new          2011-03-09T00:00:19 sparvez
Comment: None


This is a NEW package in Trunk:Testing project.
The files in the new package:
libsmackman/
  |__  Makefile
  |__  libsmackman-1.0.0-add-doxygen-configure.patch
  |__  libsmackman-1.0.0.tar.bz2
  |__  libsmackman.changes
  |__  libsmackman.spec
  |__  libsmackman.yaml

The content of the YAML file, libsmackman.yaml:
===================================================================
Name: libsmackman
Summary: SMACK Context Management Libraries
Version: 1.0.0
Release: 1
Group: System/Libraries
License: LGPLv2
URL: http://meego.gitorious.org/meego-platform-security
Sources:
    - libsmackman-%{version}.tar.bz2
patches:
    - libsmackman-1.0.0-add-doxygen-configure.patch
Description: |
    These are the userland libraries and tools for SMACK context
    management.

PkgBR:
    - libattr-devel
    - uthash-devel
    - check-devel
PkgConfigBR:
    - libsmack
Configure: reconfigure
ConfigOptions:
    - "--disable-doxygen"
SubPackages:
    - Name: devel
      Summary: Development files for SMACK context management tools
      Group: Development/Libraries

===================================================================


The content of the spec file, libsmackman.spec:
===================================================================
# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.21
# 
# >> macros
# << macros

Name:       libsmackman
Summary:    SMACK Context Management Libraries
Version:    1.0.0
Release:    1
Group:      System/Libraries
License:    LGPLv2
URL:        http://meego.gitorious.org/meego-platform-security
Source0:    libsmackman-%{version}.tar.bz2
Source100:  libsmackman.yaml
patch0: libsmackman-1.0.0-add-doxygen-configure.patch
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  pkgconfig(libsmack)
BuildRequires:  libattr-devel
BuildRequires:  uthash-devel
BuildRequires:  check-devel


%description
These are the userland libraries and tools for SMACK context
management.



%package devel
Summary:    Development files for SMACK context management tools
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
Description: %{summary}


%prep
%setup -q -n %{name}-%{version}

# libsmack-2.0.1-add-doxygen-configure.patch  
%patch0 -p1 

# >> setup
# << setup

%build
# >> build pre
# << build pre

%reconfigure --disable-static \
     --disable-doxygen
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
%{_bindir}/smackman-list-rules
%{_libdir}/libsmackman.so.1*
# << files


%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/libsmackman/smackman.h
%{_libdir}/libsmackman.so
%{_libdir}/pkgconfig/libsmackman.pc
# << files devel


===================================================================




More information about the MeeGo-commits mailing list