66 lines
1.8 KiB
RPMSpec
66 lines
1.8 KiB
RPMSpec
Name: libimobiledevice-glue
|
|
Version: 1.2.0
|
|
Release: 1mamba
|
|
Summary: A library with common code used by libraries and tools around the libimobiledevice project
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/libimobiledevice/libimobiledevice-glue
|
|
Source: https://github.com/libimobiledevice/libimobiledevice-glue.git/%{version}/libimobiledevice-glue-%{version}.tar.bz2
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libplist-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
A library with common code used by libraries and tools around the libimobiledevice project.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
echo "%{VERSION}" > .tarball-version
|
|
./autogen.sh
|
|
|
|
%build
|
|
%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}/libimobiledevice-glue-1.0.so.*
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libimobiledevice-glue
|
|
%{_includedir}/libimobiledevice-glue/*.h
|
|
%{_libdir}/libimobiledevice-glue-1.0.a
|
|
%{_libdir}/libimobiledevice-glue-1.0.so
|
|
%{_libdir}/pkgconfig/libimobiledevice-glue-1.0.pc
|
|
%doc NEWS README.md
|
|
|
|
%changelog
|
|
* Fri May 17 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
|
- package created using the webbuild interface
|