115 lines
3.4 KiB
RPMSpec
115 lines
3.4 KiB
RPMSpec
Name: glaxnimate
|
|
Version: 0.5.3
|
|
Release: 1mamba
|
|
Summary: A simple vector graphics animation program
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://glaxnimate.mattbas.org/
|
|
Source: https://gitlab.com/mattbas/glaxnimate.git/%{version}/glaxnimate-%{version}.tar.bz2
|
|
Patch0: glaxnimate-0.5.1-qt6.patch
|
|
Patch1: glaxnimate-0.5.1-cmake-install-libdir.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libQt5Svg-devel
|
|
BuildRequires: libarchive-devel
|
|
BuildRequires: libavcodec-ffmpeg-devel
|
|
BuildRequires: libavformat-ffmpeg-devel
|
|
BuildRequires: libavutil-ffmpeg-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libpotrace-devel
|
|
BuildRequires: libpython310-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libswscale-ffmpeg-devel
|
|
BuildRequires: libz-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
|
|
%description
|
|
A simple vector graphics animation program.
|
|
|
|
%package -n libQtColorWidgets-Qt6
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%description -n libQtColorWidgets-Qt6
|
|
A user-friendly color dialog and several color-related widgets for Qt6.
|
|
This package contains shared libraries for %{name}.
|
|
|
|
%package -n libQtColorWidgets-Qt6-devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: libQtColorWidgets-Qt6 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n libQtColorWidgets-Qt6-devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
#-D -T
|
|
#:<< _EOF
|
|
#%patch 0 -p1
|
|
#%ifarch x86_64 aarch64
|
|
#%patch 1 -p1
|
|
#%endif
|
|
|
|
%build
|
|
#:<< _EOF
|
|
%cmake -d build
|
|
%make
|
|
make translations VERBOSE=1
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
%makeinstall -C build/external/Qt-Color-Widgets
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n libQtColorWidgets-Qt6 -p /sbin/ldconfig
|
|
%postun -n libQtColorWidgets-Qt6 -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/glaxnimate
|
|
%{_datadir}/applications/org.mattbas.Glaxnimate.desktop
|
|
%{_datadir}/metainfo/org.mattbas.Glaxnimate.metainfo.xml
|
|
%dir %{_datadir}/glaxnimate
|
|
%dir %{_datadir}/glaxnimate/glaxnimate
|
|
%{_datadir}/glaxnimate/glaxnimate/*
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
|
|
|
%files -n libQtColorWidgets-Qt6
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libQtColorWidgets.so.*
|
|
%doc LICENSES external/Qt-Color-Widgets/LICENSE-EXCEPTION
|
|
|
|
%files -n libQtColorWidgets-Qt6-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/QtColorWidgets
|
|
%{_includedir}/QtColorWidgets/*
|
|
%dir %{_libdir}/cmake/QtColorWidgets
|
|
%{_libdir}/cmake/QtColorWidgets/QtColorWidgets*.cmake
|
|
%{_libdir}/cmake/QtColorWidgets/qtcolorwidgets-*.cmake
|
|
%{_libdir}/libQtColorWidgets.so
|
|
%{_libdir}/pkgconfig/QtColorWidgets.pc
|
|
#%doc README.md
|
|
|
|
%changelog
|
|
* Tue Apr 18 2023 Automatic Build System <autodist@mambasoft.it> 0.5.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Sep 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-2mamba
|
|
- provide external libQtColorWidgets.so.2
|
|
|
|
* Mon Sep 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.1-1mamba
|
|
- package created using the webbuild interface
|