2024-01-06 03:47:06 +01:00
|
|
|
Name: libappimage
|
2024-02-07 23:52:22 +01:00
|
|
|
Version: 1.0.4
|
2024-01-06 03:47:07 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:47:06 +01:00
|
|
|
Summary: Implements functionality for dealing with AppImage files
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-07 23:52:22 +01:00
|
|
|
URL: https://github.com/AppImage/libappimage
|
2024-01-06 03:47:06 +01:00
|
|
|
Source: https://github.com/AppImage/libappimage.git/v%{version}/libappimage-%{version}.tar.bz2
|
2024-02-07 23:52:22 +01:00
|
|
|
Patch1: libappimage-1.0.4-gcc-13.2.0.patch
|
2024-01-06 03:47:06 +01:00
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-02-07 23:52:22 +01:00
|
|
|
BuildRequires: libarchive-devel
|
|
|
|
BuildRequires: libboost-devel
|
2024-01-06 03:47:06 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-02-07 23:52:22 +01:00
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 03:47:06 +01:00
|
|
|
BuildRequires: librsvg-devel
|
2024-02-07 23:52:22 +01:00
|
|
|
BuildRequires: libsquashfuse-devel
|
2024-01-06 03:47:06 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-02-07 23:52:22 +01:00
|
|
|
BuildRequires: libxdg-utils-cxx-devel
|
2024-01-06 03:47:06 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-02-07 23:52:22 +01:00
|
|
|
BuildRequires: libsquashfuse-devel
|
|
|
|
BuildRequires: libxdg-utils-cxx-devel
|
2024-01-06 03:47:06 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Implements functionality for dealing with AppImage files.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 03:47:07 +01:00
|
|
|
Requires: pkg-config
|
2024-01-06 03:47:06 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-02-07 23:52:22 +01:00
|
|
|
%define _default_patch_fuzz 2
|
|
|
|
%patch 1 -p1 -b .gcc-13.2.0
|
2024-01-06 03:47:06 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
2024-02-07 23:52:22 +01:00
|
|
|
-DCMAKE_C_FLAGS="%{optflags} -ffat-lto-objects" \
|
|
|
|
-DCMAKE_CXX_FLAGS="%{optflags} -Wno-narrowing -fcommon" \
|
|
|
|
-DUSE_SYSTEM_XZ=ON \
|
|
|
|
-DUSE_SYSTEM_SQUASHFUSE=ON \
|
|
|
|
-DUSE_SYSTEM_LIBARCHIVE=ON \
|
|
|
|
-DUSE_SYSTEM_BOOST=ON \
|
|
|
|
-DUSE_SYSTEM_XDGUTILS=ON \
|
|
|
|
-DBUILD_TESTING=OFF
|
2024-01-06 03:47:06 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libappimage.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/appimage
|
|
|
|
%{_includedir}/appimage/*
|
|
|
|
%dir %{_includedir}/appimage/core
|
|
|
|
%{_includedir}/appimage/core/*
|
|
|
|
%dir %{_includedir}/appimage/utils
|
|
|
|
%{_includedir}/appimage/utils/*
|
|
|
|
%dir %{_libdir}/cmake/libappimage
|
|
|
|
%{_libdir}/cmake/libappimage/imported_dependencies.cmake
|
|
|
|
%{_libdir}/cmake/libappimage/libappimage*.cmake
|
|
|
|
%{_libdir}/cmake/libappimage/scripts.cmake
|
|
|
|
%{_libdir}/libappimage.so
|
|
|
|
%{_libdir}/libappimage_hashlib.a
|
|
|
|
%{_libdir}/libappimage_shared.a
|
|
|
|
%{_libdir}/pkgconfig/libappimage.pc
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-02-07 23:52:22 +01:00
|
|
|
* Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.4-1mamba
|
|
|
|
- update to 1.0.4
|
|
|
|
|
2024-01-06 03:47:07 +01:00
|
|
|
* Sun Dec 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.3-1mamba
|
|
|
|
- update to 1.0.3
|
|
|
|
|
2024-01-06 03:47:06 +01:00
|
|
|
* Tue Nov 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-2mamba
|
|
|
|
- added debug package
|
|
|
|
|
|
|
|
* Fri Nov 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- package created using the webbuild interface
|