97 lines
2.5 KiB
RPMSpec
97 lines
2.5 KiB
RPMSpec
|
Name: libqmi
|
||
|
Version: 1.8.0
|
||
|
Release: 1mamba
|
||
|
Summary: QMI modem protocol helper library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
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 <autodist@mambasoft.it> 1.8.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Jun 20 2013 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Apr 11 2013 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Sat Dec 08 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
||
|
- package created by silvan using the webbuild interface
|