File libmusclecard.spec of Package libmusclecard

#
# spec file for package libmusclecard (Version 1.3.3)
#
# Copyright (c) 2007 Novell Canada Ltd, Ottawa, Ontario, Canada.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           libmusclecard
%define dropdir %{_libdir}/services
BuildRequires:  pcsc-lite-devel pkg-config
Version:        1.3.3
Release:        0
Group:          System/Libraries
License:        BSDish 
URL:            http://pcsclite.alioth.debian.org/
Summary:        MUSCLE framework
Source:         %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Middleware to access a smart card using SCard API (PC/SC)

%package devel
Group:          System/Libraries
Summary:        Development package for the libmusclecard library
Requires:	%{name} = %{version} pcsc-lite-devel

%description devel
Files needed to build libmusclecard plugins

%prep
%setup -q

%build
./reconf
%configure --enable-muscledropdir=%{dropdir}
make %{?jobs:-j%jobs}

%install
%makeinstall
rm -r $RPM_BUILD_ROOT/usr/doc

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
# README NEWS are empty
%doc AUTHORS ChangeLog COPYING
%{_libdir}/*.so.*
%{_sbindir}/*
%{_mandir}/*/*

%files devel
%defattr(-,root,root)
%doc doc/*.pdf
%{_libdir}/*.*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{_includedir}/PCSC/*

%changelog
* Thu Apr 26 2007 - pzb@novell.com
- created package
openSUSE Build Service is sponsored by