synfigstudio/synfigstudio.spec

198 lines
6.2 KiB
RPMSpec
Raw Normal View History

Name: synfigstudio
Version: 1.4.4
Release: 1mamba
Summary: Animation studio for synfig and provides the GUI interface to create synfig animations
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.synfig.org/
Source: https://sourceforge.net/projects/synfig/files/stable/%{version}/source/synfigstudio-%{version}.tar.gz
Patch0: synfigstudio-1.0.2-gcc-6.2.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libMagick-devel
BuildRequires: libat-spi2-core-devel
BuildRequires: libatkmm1-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm10-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm24-devel
BuildRequires: libgomp-devel
BuildRequires: libgtk3-devel
BuildRequires: libgtkmm3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libimath-devel
BuildRequires: libjack-devel
BuildRequires: libmlt-devel
BuildRequires: libopenexr-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm1-devel
BuildRequires: libsigc++2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsynfig-devel
BuildRequires: libxml++2-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libMagick-devel >= 7.1.0.35-1mamba
BuildRequires: synfig = %{version}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: synfig = %{version}
%description
synfigstudio is the animation studio for synfig and provides the GUI interface to create synfig animations which are saved in synfig .sif or .sifz format.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
#%patch0 -p1
%build
%configure \
--disable-update-mimedb
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1
exit 0
%posttrans
update-desktop-database -q >/dev/null 2>&1
update-mime-database -n %{_datadir}/mime >/dev/null 2>&1
gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1
exit 0
%postun
if [ $1 -eq 0 ]; then
update-desktop-database -q >/dev/null 2>&1
update-mime-database -n %{_datadir}/mime >/dev/null 2>&1
touch --no-create %{_datadir}/icons/hicolor >/dev/null 2>&1
gtk-update-icon-cache %{_datadir}/icons/hicolor >/dev/null 2>&1
fi
exit 0
%post -n lib%{name}
/sbin/ldconfig
:
%postun -n lib%{name}
/sbin/ldconfig
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/synfigstudio
%{_datadir}/appdata/org.synfig.SynfigStudio.appdata.xml
%{_datadir}/applications/org.synfig.SynfigStudio.desktop
%{_datadir}/mime/packages/org.synfig.SynfigStudio.xml
%{_datadir}/mime-info/synfigstudio.*
%dir %{_datadir}/synfig
%dir %{_datadir}/synfig/sounds
%{_datadir}/synfig/sounds/*
%dir %{_datadir}/synfig/ui
%{_datadir}/synfig/ui/*
%dir %{_datadir}/synfig/brushes
%dir %{_datadir}/synfig/brushes/CD_concept
%{_datadir}/synfig/brushes/CD_concept/*
%dir %{_datadir}/synfig/plugins
%dir %{_datadir}/synfig/plugins/lottie-exporter
%{_datadir}/synfig/plugins/lottie-exporter/*
%dir %{_datadir}/synfig/plugins/add-skeleton-simple
%{_datadir}/synfig/plugins/add-skeleton-simple/*
%dir %{_datadir}/synfig/plugins/view-unhide-all-layers
%{_datadir}/synfig/plugins/view-unhide-all-layers/*
%{_datadir}/pixmaps/*.png
%dir %{_datadir}/pixmaps/synfigstudio
%{_datadir}/pixmaps/synfigstudio/*
%{_datadir}/icons/hicolor/*/apps/synfig_icon.png
%{_datadir}/icons/hicolor/scalable/apps/org.synfig.SynfigStudio.svg
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libsynfigapp.so.*
%doc AUTHORS COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/synfigapp-0.0
%dir %{_includedir}/synfigapp-0.0/synfigapp
%{_includedir}/synfigapp-0.0/synfigapp/*.h
%{_libdir}/libsynfigapp.so
%doc ChangeLog ChangeLog.old NEWS README TODO
%changelog
* Sun Aug 20 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-1mamba
- update to 1.4.4
* Wed May 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-2mamba
- rebuilt by autoport with build requirements: libMagick-devel>=7.1.0.35-1mamba
* Sun Nov 28 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.2-1mamba
- update to 1.4.2
* Wed Jul 22 2020 Automatic Build System <autodist@mambasoft.it> 1.2.2-1mamba
- automatic version update by autodist
* Sat Nov 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
- rebuilt by autoport with build requirements: libMagick-devel>=7.0.9.4-1mamba
* Tue Aug 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Fri Oct 07 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Wed Sep 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-1mamba
- update to 1.0.1
* Thu Jun 11 2015 Automatic Build System <autodist@mambasoft.it> 0.64.3-3mamba
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.1.4-1mamba
* Fri Jan 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.3-2mamba
- rebuilt by autoport with build requirements: libMagick-devel>=6.9.0.4-1mamba
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 0.64.3-1mamba
- automatic version update by autodist
* Thu Dec 11 2014 Automatic Build System <autodist@mambasoft.it> 0.64.2-1mamba
- automatic version update by autodist
* Fri Mar 07 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.1-1mamba
- update to 0.64.1
* Thu Sep 19 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.64.0-1mamba
- package created by silvan using the webbuild interface