Summary: GAnSO - Gnome Animation StudiO
+Summary(pl): Studio animacji dla GNOME
Name: ganso
-Version: 0.1.1
-Release: 2
+Version: 0.2.0
+Release: 1
License: GPL
Group: X11/Applications/Graphics
-Group(de): X11/Applikationen/Grafik
-Group(pl): X11/Aplikacje/Grafika
-Source0: ftp://ftp.gpul.org/gpul/%{name}-%{version}.tar.bz2
+Source0: http://dl.sourceforge.net/ganso/%{name}-%{version}.tar.bz2
+# Source0-md5: 629daa8af0dc91efd1dd617858102415
+Patch0: %{name}-am_fix.patch
+URL: http://ganso.sourceforge.net/
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: gnome-libs-devel >= 1.0.0
BuildRequires: libstdc++-devel
+BuildRequires: libtool
BuildRequires: libxml-devel
-URL: http://www.gpul.org/proyectos/ganso/
+BuildRequires: smpeg-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/X11
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
%description
GAnSO is a powerful Animation Studio that lets you create your own
professional creations to change from one video to another one while
both keep animated.
+%description -l pl
+GAnSO (Gnome Animation StudiO) to studio animacji pozwalaj±ce tworzyæ
+w³asne filmy z d¼wiêkiem lub bez.
+
+Mo¿e zapisywaæ w takich formatach, dla jakich codeki masz w systemie.
+
+Ten pakiet zawiera g³ówn± czê¶æ GAnSO, codec MPEG-1 oraz przyk³adow±
+wtyczkê, która zawiera filtr, edytor strumieni i wzorzec, ¿eby pokazaæ
+jak ³atwo mo¿na rozszerzaæ GAnSO, ale mo¿e byæ tak¿e u¿yteczna przy
+tworzeniu filmów, jako ¿e ten filtr przeprowadza progresywne
+zmniejszanie/zwiêkszanie kana³u alpha strumienia, co daje efekt czêsto
+u¿ywany w profesjonalnych filmach - przej¶cie z jednego obrazu do
+drugiego podczas gdy oba s± animowane.
+
%prep
%setup -q
+%patch0 -p1
%build
-CXXFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-exceptions -fno-implicit-templates"
-export CXXFLAGS
-gettextize --copy --force
+rm -f missing
+%{__libtoolize}
+%{__gettextize}
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
+CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
%configure \
--disable-static
%{__make}
%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf AUTHORS ChangeLog NEWS README
-
%find_lang %{name}
%clean
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS README
%dir %{_sysconfdir}/ganso
%config %{_sysconfdir}/ganso/ganso.conf
%attr(755,root,root) %{_bindir}/*