From 55da0e5e3c4890ba539cb93f9b8b9d2a1b711490 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:06:37 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.31-1mamba;Thu Jul 02 2020] --- README.md | 2 ++ ofono.spec | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 ofono.spec diff --git a/README.md b/README.md index 41e43be..611e9cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ofono +Infrastructure for building mobile telephony (GSM/UMTS) applications. + diff --git a/ofono.spec b/ofono.spec new file mode 100644 index 0000000..d351ff7 --- /dev/null +++ b/ofono.spec @@ -0,0 +1,80 @@ +Name: ofono +Version: 1.31 +Release: 1mamba +Summary: Infrastructure for building mobile telephony (GSM/UMTS) applications +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://01.org/ofono +Source: https://www.kernel.org/pub/linux/network/ofono/ofono-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libdbus-devel +BuildRequires: libglib-devel +BuildRequires: libudev-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Infrastructure for building mobile telephony (GSM/UMTS) applications. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +%systemd_post ofono +: + +%preun +%systemd_preun ofono +: + +%postun +%systemd_postun ofono +: + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/ofono/phonesim.conf +%{_sysconfdir}/dbus-1/system.d/ofono.conf +%{_unitdir}/ofono.service +%{_sbindir}/ofonod +%{_mandir}/man8/ofonod.8* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/ofono +%{_includedir}/ofono/* +%{_libdir}/pkgconfig/ofono.pc +%doc ChangeLog README TODO + +%changelog +* Thu Jul 02 2020 Silvan Calarco 1.31-1mamba +- package created using the webbuild interface