added debug package [release 1.0.2-2mamba;Tue Nov 12 2019]
This commit is contained in:
parent
783b40cc87
commit
107389a5e6
@ -1,2 +1,4 @@
|
|||||||
# libappimage
|
# libappimage
|
||||||
|
|
||||||
|
Implements functionality for dealing with AppImage files.
|
||||||
|
|
||||||
|
91
libappimage.spec
Normal file
91
libappimage.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
Name: libappimage
|
||||||
|
Version: 1.0.2
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: Implements functionality for dealing with AppImage files
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://appimage.org
|
||||||
|
## GITSOURCE https://github.com/AppImage/libappimage.git v1.0.2
|
||||||
|
Source: https://github.com/AppImage/libappimage.git/v%{version}/libappimage-%{version}.tar.bz2
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libcairo-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libgdk-pixbuf-devel
|
||||||
|
BuildRequires: libglib-devel
|
||||||
|
BuildRequires: librsvg-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Implements functionality for dealing with AppImage files.
|
||||||
|
|
||||||
|
%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}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake -d build \
|
||||||
|
\
|
||||||
|
%ifarch arm
|
||||||
|
-DCMAKE_CXX_FLAGS="%{optflags} -Wno-narrowing"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%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
|
||||||
|
* 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
|
Loading…
Reference in New Issue
Block a user