4 %define _themesdir %{_datadir}/%{_sname}/themes
6 Summary: LiVES is the Linux Video Editing System
7 Summary(pl): LiVEA jest Linuksowym Systemem Edycji Video
13 Group: X11/Applications/Multimedia
14 Source0: http://www.xs4all.nl/%7Esalsaman/%{_sname}/current/%{name}-%{version}-%{_pre}-src.tar.bz2
15 # Source0-md5: 8088d0f11b92a3792b9feb6338c11aa4
16 Source1: %{name}.desktop
17 Patch0: %{name}-Makefile.in-path.patch
18 Patch1: %{name}-plugins-python.patch
19 URL: http://www.xs4all.nl/~salsaman/lives/
20 BuildRequires: gtk+2-devel
21 BuildRequires: pango-devel
22 BuildRequires: freetype-devel
23 Requires: mplayer >= 0.90rc1+
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. Teraz mo¿na go
39 ruchomiæ na wiêkszej ilo¶ci systemów operacyjnych, i teraz LiVES jest
40 Systemem Edycji Video.
43 Summary: Plugins for LiVES
44 Summary(pl): Wtyczki(plugins) dla LiVES
45 Group: X11/Applications/Multimedia
50 %description plugins -l pl
51 Wtyczki(plugins) dla LiVES
54 Summary: Themes for LiVES
55 Summary(pl): Motywy dla LiVES
61 %description themes -l pl
65 %setup -q -n %{name}-%{version}-%{_pre}
66 gzip -dc %{_sname}-plugins-%{version}-%{_pre}.tar.gz | tar -xf -
67 gzip -dc %{_sname}-themes-%{version}-%{_pre}.tar.gz | tar -xf -
76 rm -rf $RPM_BUILD_ROOT
79 DESTDIR=$RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT/{%{_datadir}/%{_sname},%{_desktopdir}}
82 install %{SOURCE1} $RPM_BUILD_ROOT/%{_desktopdir}
83 cp -r plugins $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
84 cp -r themes $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
85 cp -r icons $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
90 rm -rf $RPM_BUILD_ROOT
92 %files -f %{name}.lang
93 %defattr(644,root,root,755)
94 %doc AUTHORS BUGS ChangeLog NEWS README
95 %attr(755,root,root) %{_bindir}/*
96 %{_datadir}/%{_sname}/icons
97 %{_desktopdir}/%{name}.desktop
101 %defattr(644,root,root,755)
103 %{_themesdir}/cutting_room
104 %{_themesdir}/greenish
106 %{_themesdir}/sunburst
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_datadir}/%{_sname}/plugins