synfigstudio/synfigstudio.spec

206 lines
6.3 KiB
RPMSpec
Raw Normal View History

Name: synfigstudio
Version: 1.0.2
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: http://www.synfig.org/
Source: http://downloads.sourceforge.net/project/synfig/releases/%{version}/source/synfigstudio-%{version}.tar.gz
Patch0: synfigstudio-1.0.2-gcc-6.2.0.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libMagick-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libatk-devel
BuildRequires: libatkmm-devel
BuildRequires: libblkid-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libgomp-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libgtkmm-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libilmbase-devel
BuildRequires: libjack-devel
BuildRequires: liblcms2-devel
BuildRequires: liblqr-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libopenexr-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsynfig-devel
BuildRequires: libthai-devel
BuildRequires: libuuid-devel
BuildRequires: libxcb-devel
BuildRequires: libxml++2-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: mlt-devel
## AUTOBUILDREQ-END
BuildRequires: libMagick-devel >= 7.0.3.2
BuildRequires: synfig = %{version}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: synfig = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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 %{_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 %{_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/synfigstudio.appdata.xml
%{_datadir}/applications/synfigstudio.desktop
%{_datadir}/icons/hicolor/*/apps/synfig_icon.png
%{_datadir}/icons/hicolor/scalable/apps/synfig_icon.svg
%{_datadir}/mime-info/synfigstudio.keys
%{_datadir}/mime-info/synfigstudio.mime
%{_datadir}/mime/packages/synfigstudio.xml
%{_datadir}/pixmaps/sif_icon.png
%{_datadir}/pixmaps/synfig_icon.png
%{_datadir}/pixmaps/synfigstudio/installer_logo.bmp
%{_datadir}/pixmaps/synfigstudio/*.png
%dir %{_datadir}/synfig/brushes
%dir %{_datadir}/synfig/brushes/CD_concept
%{_datadir}/synfig/brushes/CD_concept/*
%dir %{_datadir}/synfig/plugins/add-skeleton-simple
%{_datadir}/synfig/plugins/add-skeleton-simple/add-skeleton-simple.py
%{_datadir}/synfig/plugins/add-skeleton-simple/plugin.xml
%{_datadir}/synfig/plugins/add-skeleton-simple/stickman.sif
%dir %{_datadir}/synfig/plugins/view-unhide-all-layers
%{_datadir}/synfig/plugins/view-unhide-all-layers/plugin.xml
%{_datadir}/synfig/plugins/view-unhide-all-layers/view-unhide-all-layers.py
%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.la
%{_libdir}/libsynfigapp.so
%doc ChangeLog ChangeLog.old NEWS README TODO
%changelog
* 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