From f63db0af0b31fb7060d36202dc5301e6a796111b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 05:29:41 +0100 Subject: [PATCH] automatic version update by autodist [release 1.8.0-1mamba;Sun Dec 29 2013] --- README.md | 2 ++ libqmi.spec | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 libqmi.spec diff --git a/README.md b/README.md index 91da68e..a227961 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libqmi +QMI modem protocol helper library. + diff --git a/libqmi.spec b/libqmi.spec new file mode 100644 index 0000000..2add1e1 --- /dev/null +++ b/libqmi.spec @@ -0,0 +1,96 @@ +Name: libqmi +Version: 1.8.0 +Release: 1mamba +Summary: QMI modem protocol helper library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://cgit.freedesktop.org/libqmi +Source: http://cgit.freedesktop.org/libqmi/snapshot/libqmi-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libffi-devel +BuildRequires: libglib-devel +BuildRequires: libselinux-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +QMI modem protocol helper library. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Communication +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libqmi-glib.so.* +%{_libexecdir}/qmi-proxy +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libqmi-glib +%{_includedir}/libqmi-glib/*.h +%{_libdir}/libqmi-glib.a +%{_libdir}/libqmi-glib.la +%{_libdir}/libqmi-glib.so +%{_libdir}/pkgconfig/qmi-glib.pc +%doc NEWS TODO + +%files tools +%defattr(-,root,root) +%{_bindir}/qmi-network +%{_bindir}/qmicli +%{_mandir}/man1/qmi-network.1* +%{_mandir}/man1/qmicli.1* + +%changelog +* Sun Dec 29 2013 Automatic Build System 1.8.0-1mamba +- automatic version update by autodist + +* Thu Jun 20 2013 Automatic Build System 1.4.0-1mamba +- automatic version update by autodist + +* Thu Apr 11 2013 Automatic Build System 1.2.0-1mamba +- automatic version update by autodist + +* Sat Dec 08 2012 Silvan Calarco 1.0.0-1mamba +- package created by silvan using the webbuild interface