File ofono.spec of Package ofono

# 
# Do not Edit! Generated by:
# spectacle version 0.13
# On 2010-03-25
# 
# >> macros
# << macros

Name:       ofono
Summary:    Open Source Telephony
Version:    0.20
Release:    1.3
Group:      System/Networking
License:    GPLv2
URL:        http://ofono.org
Source0:    http://www.kernel.org/pub/linux/network/ofono/ofono-%{version}.tar.gz
Source100:  ofono.yaml
Requires:   dbus-1
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(libudev) >= 145
BuildRequires:  libtool
BuildRequires:  automake
BuildRequires:  autoconf

BuildRoot:  %{_tmppath}/%{name}-%{version}-build

%description
Description: %{summary}


%package devel
Summary:    Headers for oFono
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
Description: %{summary}

%package test
Summary:    Test Scripts for oFono
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description test
Scripts for testing oFono and its functionality


%prep
%setup -q -n %{name}-%{version}
# >> setup
# << setup

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

%configure --disable-static \
    --enable-test

# Call make instruction with smp support
make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install

# >> install post
# << install post

%clean
rm -rf %{buildroot}








%files
%defattr(-,root,root,-)
# >> files
%doc COPYING ChangeLog AUTHORS README
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/*.conf
%config(noreplace) %{_sysconfdir}/%{name}/*
%{_sbindir}/*
%{_sysconfdir}/udev/rules.d/*
%doc /usr/share/man/man8/ofonod.8.gz
# << files


%files devel
%defattr(-,root,root,-)
# >> files devel
%{_includedir}/ofono/
# << files devel

%files test
%defattr(-,root,root,-)
# >> files test
%{_libdir}/%{name}/test/*
# << files test

%changelog
openSUSE Build Service is sponsored by