Blob Blame History Raw
# This package depends on automagic byte compilation
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompilation_phase_2
%global _python_bytecompile_extra 1

Name:           synfigstudio
Version:        1.2.2
Release:        3%{?dist}
Summary:        Vector-based 2D animation studio

License:        GPLv2+
URL:            http://synfig.org/
Source0:        http://download.sourceforge.net/synfig/%{name}-%{version}.tar.gz
# git clone, d4e547
#Source0:        synfig-studio.tar.gz
Patch0:         synfigstudio-1.1.10-cflags.patch
#Patch1:         synfigstudio-0.62.02-dialog_color.patch
Patch2:         synfig-studio-m4_pattern_allow.patch
ExcludeArch: ppc64le

BuildRequires:  desktop-file-utils
BuildRequires:  synfig-devel >= %{version}
BuildRequires:  ETL-devel >= 0.04.21
BuildRequires:	gcc-c++
BuildRequires:  gtkmm30-devel
BuildRequires:  autoconf
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  ladspa

%description
Synfig Animation Studio is a powerful, industrial-strength vector-based
2D animation software, designed from the ground-up for producing
feature-film quality animation with fewer people and resources.
It is designed to be capable of producing feature-film quality
animation. It eliminates the need for tweening, preventing the
need to hand-draw each frame. Synfig features spatial and temporal
resolution independence (sharp and smoothat any resolution or framerate),
high dynamic range images, and a flexible plugin system.

This package contains the GUI-based animation studio.


%package devel
Summary:        Development files for %{name}
Requires:       %{name}%{?_isa} = %{version}-%{release}

%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q
%patch0 -p0 -b .cflags
#patch1 -p1 -b .dialog_color
%patch2 -p0 -b .m4allow

%build
# build script regeneration needed for cflags and m4allow patches
autoreconf -fi
# autoreconf entirely screws up po/Makefile.in.in , for some reason
intltoolize -f

%configure --disable-update-mimedb
%make_build


%install
%make_install
%find_lang %{name}
desktop-file-install \
        --delete-original                                       \
        --dir=%{buildroot}%{_datadir}/applications           \
        %{buildroot}%{_datadir}/applications/synfigstudio.desktop


%ldconfig_scriptlets

%files -f %{name}.lang
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/mime-info/synfigstudio.*
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/synfigstudio
%{_datadir}/synfig/plugins/
%{_datadir}/synfig/brushes/
%{_metainfodir}/synfigstudio.appdata.xml
%doc AUTHORS COPYING README


%files devel
%{_includedir}/synfigapp-0.0
%{_libdir}/*.so
%exclude %{_libdir}/*.la
%doc COPYING TODO


%changelog
* Fri Apr 12 2019 Richard Shaw <hobbes1069@gmail.com> - 1.2.2-3
- Rebuild for OpenEXR 2.3.0.

* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

* Mon Dec 31 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 1.2.2-1
- 1.2.2.
- Modernise spec

* Tue Aug 28 2018 Michael Cronenworth <mike@cchtml.com> - 1.2.1-7
- Rebuild for ImageMagick 6.9.10

* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

* Thu Mar 08 2018 Luya Tshimbalanga <luya@fedoraproject.org> - 1.2.1-5
- Rebuild for fixed ETL spec

* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.1-3
- Remove obsolete scriptlets

* Thu Sep 14 2017 Pete Walter <pwalter@fedoraproject.org> - 1.2.1-2
- Rebuilt for ImageMagick 6.9.9 soname bump

* Mon Sep 11 2017 Gwyn Ciesla <limburgher@gmail.com> - 1.2.1-1
- 1.2.1.

* Fri Aug 25 2017 Adam Williamson <awilliam@redhat.com> - 1.2.0-6
- Adjust build so cflags are used properly, re-enable debugsource

* Thu Aug 24 2017 Adam Williamson <awilliam@redhat.com> - 1.2.0-5
- Rebuild for new ImageMagick

* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Mon Jan 09 2017 Jon Ciesla <limburgher@gmail.com> - 1.2.0-1
- 1.2.0

* Wed Jul 06 2016 Jon Ciesla <limburgher@gmail.com> - 1.1.10-0.20160706gitd4e547
- Restore cflags patch, BZ 1352537.

* Fri Jun 24 2016 Jon Ciesla <limburgher@gmail.com> - 1.1.10-0.20160624gitd4e547
- 1.1.10 prerelease.

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.64.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sun May 03 2015 Kalev Lember <kalevlember@gmail.com> - 0.64.3-2
- Rebuilt for GCC 5 C++11 ABI change

* Tue Dec 23 2014 Jon Ciesla <limburgher@gmail.com> - 0.64.3-1
- Latest upstream, BZ 1176892.
- Added synfig version BR.

* Fri Oct 17 2014 Jon Ciesla <limburgher@gmail.com> - 0.64.2-1
- Latest upstream, BZ 1154006.

* Thu Oct 02 2014 Rex Dieter <rdieter@fedoraproject.org> - 0.64.1-4
- update scriptlets
- tighten subpkg deps via %%_isa
- %%build with --disable-update-mimedb
- run autoconf in %%prep (instead of %%build)

* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Tue Nov 05 2013 Jon Ciesla <limburgher@gmail.com> - 0.64.1-1
- Latest upstream, BZ 1026738.

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Mon May 13 2013 Jon Ciesla <limburgher@gmail.com> - 0.64.0-1
- Latest upstream, BZ 962137.

* Mon Feb 11 2013 Jon Ciesla <limburgher@gmail.com> - 0.63.05-5.1

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63.05-4.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Tue May 29 2012 Luya Tshimbalanga <luya@fedoraproject.org> - 0.63.05-3.1
- Really remove all but xml file (rhbz#821740)

* Mon May 21 2012 Luya Tshimbalanga <luya@fedoraproject.org> - 0.63.05-2
- Fix mime.cache issue (rhbz#821740)

* Mon Apr 23 2012 Jon Ciesla <limburgher@gmail.com> - 0.63.05-1
- Latest upstream.
- Dialog color patch upstreamed.

* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.63.04-2
- Rebuilt for c++ ABI breakage

* Sat Feb 11 2012 Luya Tshimbalanga <luya@fedoraproject.org>
- New upstream release

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com>
- Rebuild for new libpng

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.62.02-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sat Dec 04 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.62.02-1
- Rebase

* Sat Dec 04 2010 Lubomir Rintel <lkundrak@v3.sk> - 0.62.00-3
- Fix build

* Thu Dec 24 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.62.00-2
- Fix optflags use (Ville Skyttä, #549420)

* Tue Nov 17 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.62.00-1
- Bump version

* Fri Jan 09 2009 Lubomir Rintel <lkundrak@v3.sk> - 0.61.09-1
- Initial packaging attempt