]>
Commit | Line | Data |
---|---|---|
4e6860b9 | 1 | Summary: GNOME Animation Studio |
2 | Name: ganso | |
3 | Version: 0.1.1 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: X11/Applications/Graphics | |
7 | Source0: ftp://ceu.fi.udc.es/os/linux/gpul/%{name}-%{version}.tar.bz2 | |
8 | BuildRequires: gettext-devel | |
9 | BuildRequires: gnome-libs-devel >= 1.0.0 | |
10 | BuildRequires: libstdc++-devel | |
11 | BuildRequires: libxml-devel | |
12 | URL: http://ganso.gpul.org | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define _sysconfdir /etc/X11 | |
16 | %define _prefix /usr/X11R6 | |
17 | %define _mandir %{_prefix}/man | |
baf7a95f | 18 | |
19 | %description | |
4e6860b9 | 20 | GAnSO is a powerful Animation Studio that lets you create your own |
21 | videos with and without sound. | |
baf7a95f | 22 | |
23 | It can write as much formats as codecs you install in your system. | |
24 | ||
4e6860b9 | 25 | This package includes the core, a MPEG-1 codec and a sample plug-in |
26 | which has a filter, a stream editor and a template, just to show how | |
27 | easy is to extend GAnSO, but which can be usefull to build some | |
28 | videos, as this filter performs progressive alpha | |
29 | decreasing/increasing of a stream, effect that is very used in | |
30 | professional creations to change from one video to another one while | |
31 | both keep animated. | |
baf7a95f | 32 | |
33 | %prep | |
4e6860b9 | 34 | %setup -q |
baf7a95f | 35 | |
36 | %build | |
4e6860b9 | 37 | CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti -fno-exceptions -fno-implicit-templates"; export CXXFLAGS |
38 | gettextize --copy --force | |
39 | %configure \ | |
40 | --disable-static | |
41 | %{__make} | |
baf7a95f | 42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
baf7a95f | 45 | |
4e6860b9 | 46 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
baf7a95f | 47 | |
4e6860b9 | 48 | strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/ganso/{codecs,plugins}/*.so |
baf7a95f | 49 | |
4e6860b9 | 50 | gzip -9nf AUTHORS ChangeLog NEWS README \ |
51 | $RPM_BUILD_ROOT%{_mandir}/man1/* | |
baf7a95f | 52 | |
4e6860b9 | 53 | %find_lang %{name} |
baf7a95f | 54 | |
4e6860b9 | 55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
baf7a95f | 57 | |
4e6860b9 | 58 | %files -f %{name}.lang |
59 | %defattr(644,root,root,755) | |
60 | %doc *.gz | |
61 | %dir %{_sysconfdir}/ganso | |
62 | %config %{_sysconfdir}/ganso/ganso.conf | |
63 | %attr(755,root,root) %{_bindir}/* | |
64 | %dir %{_libdir}/ganso | |
65 | %dir %{_libdir}/ganso/codecs | |
66 | %dir %{_libdir}/ganso/plugins | |
67 | %attr(755,root,root) %{_libdir}/ganso/codecs/* | |
68 | %attr(755,root,root) %{_libdir}/ganso/plugins/* | |
69 | %{_mandir}/man1/* |