Group :: Desenvolvimento/C++
RPM: libsynfig
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# FIXME: (build without libMagick)
#trgt_magickpp.cpp:58: error: 'MagickLib' has not been declared
#trgt_magickpp.cpp:58: error: expected constructor, destructor, or type conversion before '*' token
#trgt_magickpp.cpp: In destructor 'virtual magickpp_trgt::~magickpp_trgt()':
%define oname synfig
Name: libsynfig
Version: 0.61.09
Release: alt2
Summary: Vector-based 2D animation software package
License: free
Group: Development/C++
Url: http://www.synfig.com/
#Source: http://www.bridgetone.com/voria/files/%oname-%version.tar.bz2
Source: http://prdownloads.sf.net/synfig/%oname-%version.tar.bz2
Patch: %name-av.patch
# Automatically added by buildreq on Wed Jul 02 2008
BuildRequires: ImageMagick cvs fontconfig-devel gcc-c++ glibc-devel libImageMagick-devel libavformat-devel libetl-devel libfreetype-devel libjpeg-devel libltdl-devel libmng-devel libpng-devel libtiff-devel libxml++2-devel openexr-devel
%description
Synfig is a powerful, industrial-strength vector-based 2D animation
software package, designed from the ground-up for producing
feature-film quality animation with fewer people and resources.
While there are many other programs currently on the market to aid
with the efficient production of 2D animation, we are currently
unaware of any other software that can do what our software can.
%package devel
Summary: Header files for Synfig
Group: Development/C++
Requires: %name = %version-%release
%description devel
Header files for Synfig.
%prep
%setup -q -n %oname-%version
#%patch
# use external libltdl
%__subst s/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/ configure.ac
%build
%autoreconf
%configure
%__subst "s|\$(includedir)/synfig|\$(includedir)|g" src/synfig/Makefile
%__subst "s|/usr/include/synfig-0.0|\$(pkgincludedir)/synfig-0.0|g" src/synfig/Makefile
%make_build
%install
%makeinstall_std
%find_lang %oname
%files -f %oname.lang
%_bindir/%oname
%_sysconfdir/synfig_modules.cfg
%_libdir/lib*.so.*
%_libdir/%oname/
%files devel
%_bindir/%oname-config
%_includedir/synfig-0.0/
%_pkgconfigdir/*
%_libdir/lib*.so
%changelog
…
Todas as alterações você pod ver aqui
#trgt_magickpp.cpp:58: error: 'MagickLib' has not been declared
#trgt_magickpp.cpp:58: error: expected constructor, destructor, or type conversion before '*' token
#trgt_magickpp.cpp: In destructor 'virtual magickpp_trgt::~magickpp_trgt()':
%define oname synfig
Name: libsynfig
Version: 0.61.09
Release: alt2
Summary: Vector-based 2D animation software package
License: free
Group: Development/C++
Url: http://www.synfig.com/
#Source: http://www.bridgetone.com/voria/files/%oname-%version.tar.bz2
Source: http://prdownloads.sf.net/synfig/%oname-%version.tar.bz2
Patch: %name-av.patch
# Automatically added by buildreq on Wed Jul 02 2008
BuildRequires: ImageMagick cvs fontconfig-devel gcc-c++ glibc-devel libImageMagick-devel libavformat-devel libetl-devel libfreetype-devel libjpeg-devel libltdl-devel libmng-devel libpng-devel libtiff-devel libxml++2-devel openexr-devel
%description
Synfig is a powerful, industrial-strength vector-based 2D animation
software package, designed from the ground-up for producing
feature-film quality animation with fewer people and resources.
While there are many other programs currently on the market to aid
with the efficient production of 2D animation, we are currently
unaware of any other software that can do what our software can.
%package devel
Summary: Header files for Synfig
Group: Development/C++
Requires: %name = %version-%release
%description devel
Header files for Synfig.
%prep
%setup -q -n %oname-%version
#%patch
# use external libltdl
%__subst s/AC_LIBLTDL_CONVENIENCE/AC_LIBLTDL_INSTALLABLE/ configure.ac
%build
%autoreconf
%configure
%__subst "s|\$(includedir)/synfig|\$(includedir)|g" src/synfig/Makefile
%__subst "s|/usr/include/synfig-0.0|\$(pkgincludedir)/synfig-0.0|g" src/synfig/Makefile
%make_build
%install
%makeinstall_std
%find_lang %oname
%files -f %oname.lang
%_bindir/%oname
%_sysconfdir/synfig_modules.cfg
%_libdir/lib*.so.*
%_libdir/%oname/
%files devel
%_bindir/%oname-config
%_includedir/synfig-0.0/
%_pkgconfigdir/*
%_libdir/lib*.so
%changelog
…
Todas as alterações você pod ver aqui