synfigstudio/synfigstudio.spec

157 lines
4.8 KiB
RPMSpec
Raw Permalink Normal View History

Name: synfigstudio
Version: 0.64.3
Release: 2mamba
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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libatkmm-devel
BuildRequires: libcairo-devel
BuildRequires: libcairomm-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libglibmm-devel
BuildRequires: libgtk2-devel
BuildRequires: libgtkmm2-devel
BuildRequires: libpango-devel
BuildRequires: libpangomm-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsynfig-devel
BuildRequires: libxml2-devel
BuildRequires: libxml++-devel
## AUTOBUILDREQ-END
BuildRequires: libMagick-devel >= 6.9.0.4-1mamba
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
%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
%dir %{_datadir}/pixmaps/synfigstudio/*.png
%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 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