4 %define _themesdir %{_datadir}/%{_sname}/themes
6 Summary: LiVES is the Linux Video Editing System
7 Summary(pl): LiVEA jest Linuksowym Systemem Edycji Video
12 Group: X11/Applications/Multimedia
13 Source0: http://www.xs4all.nl/%7Esalsaman/lives/current/%{name}-%{version}-%{_pre}-src.tar.bz2
14 # Source0-md5: 8088d0f11b92a3792b9feb6338c11aa4
15 Source1: %{name}.desktop
16 Patch0: %{name}-Makefile.in-path.patch
17 Patch1: %{name}-plugins-python.patch
18 URL: http://www.xs4all.nl/~salsaman/lives/
19 BuildRequires: freetype-devel
20 BuildRequires: gtk+2-devel
21 BuildRequires: pango-devel
25 Requires: mplayer >= 0.90rc1
27 Requires: python >= 1:2.3
28 Requires: %{name}-plugins = %{version}-%{release}
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 LiVES began as the Linux Video Editing System. Since it now runs on
33 more operating systems, LiVES is a Video Editing System. It is
34 designed to be simple to use, yet powerful. It is small in size, yet
35 it has many advanced features.
38 LiVES zaczyna³ jako Linuksowy System Edycji Video. Obecnie mo¿na
39 równie¿ uruchomiæ go na wiêkszej ilo¶ci systemów operacyjnych.
40 Zaprojektowany zosta³ tak, by byæ zarówno prostym w u¿yciu jak
41 i mimo niewielkiego rozmiaru posiadaæ zaawansowane funkcje.
44 Summary: Plugins for LiVES
45 Summary(pl): Wtyczki dla LiVES
46 Group: X11/Applications/Multimedia
51 %description plugins -l pl
52 Wtyczki (plugins) dla LiVES.
55 Summary: Themes for LiVES
56 Summary(pl): Motywy dla LiVES
62 %description themes -l pl
66 %setup -q -n %{name}-%{version}-%{_pre}
67 gzip -dc %{_sname}-plugins-%{version}-%{_pre}.tar.gz | tar -xf -
68 gzip -dc %{_sname}-themes-%{version}-%{_pre}.tar.gz | tar -xf -
77 rm -rf $RPM_BUILD_ROOT
80 DESTDIR=$RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT{%{_datadir}/%{_sname},%{_desktopdir}}
83 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
84 cp -r plugins $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
85 cp -r themes $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
86 cp -r icons $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
91 rm -rf $RPM_BUILD_ROOT
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS BUGS ChangeLog NEWS README
96 %attr(755,root,root) %{_bindir}/*
97 %{_datadir}/%{_sname}/icons
98 %{_desktopdir}/%{name}.desktop
102 %defattr(644,root,root,755)
104 %{_themesdir}/cutting_room
105 %{_themesdir}/greenish
107 %{_themesdir}/sunburst
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_datadir}/%{_sname}/plugins