From df2e79b515519aed3b304601bdfe90e01cec55bc Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 18 May 2024 10:40:52 +0200 Subject: [PATCH] package created using the webbuild interface [release 1.2.0-1mamba;Fri May 17 2024] --- README.md | 2 ++ libimobiledevice-glue.spec | 65 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libimobiledevice-glue.spec diff --git a/README.md b/README.md index c022cdc..7ab09b8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libimobiledevice-glue +A library with common code used by libraries and tools around the libimobiledevice project. + diff --git a/libimobiledevice-glue.spec b/libimobiledevice-glue.spec new file mode 100644 index 0000000..21804c9 --- /dev/null +++ b/libimobiledevice-glue.spec @@ -0,0 +1,65 @@ +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 +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 1.2.0-1mamba +- package created using the webbuild interface