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)
33 LiVES began as the Linux Video Editing System. Since it now runs on more
34 operating systems, LiVES is a Video Editing System. It is designed to be
35 simple to use, yet powerful. It is small in size, yet it has many advanced
39 LiVES zaczyna³ jako Linuksowy System Edycji Video. Teraz mo¿na go ruchomiæ
40 na wiêkszej ilo¶ci systemów operacyjnych, i teraz LiVES jest Systemem
44 Summary: Plugins for LiVES
45 Summary(pl): Wtyczki(plugins) dla LiVES
46 Group: X11/Applications/Multimedia
51 %description plugins -l pl
52 Wtyczki(plugins) dla LiVES
56 Summary: Themes for LiVES
57 Summary(pl): Motywy dla LiVES
63 %description themes -l pl
68 %setup -q -n %{name}-%{version}-%{_pre}
69 gzip -dc %{_sname}-plugins-%{version}-%{_pre}.tar.gz | tar -xf -
70 gzip -dc %{_sname}-themes-%{version}-%{_pre}.tar.gz | tar -xf -
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT \
85 install -d $RPM_BUILD_ROOT/{%{_datadir}/%{_sname},%{_desktopdir}}
86 install %{SOURCE1} $RPM_BUILD_ROOT/%{_desktopdir}
87 cp -r plugins $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
88 cp -r themes $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
89 cp -r icons $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
96 %doc AUTHORS BUGS ChangeLog NEWS README
97 %attr(755,root,root) %{_bindir}/*
98 %{_datadir}/%{_sname}/icons
99 %{_desktopdir}/%{name}.desktop
100 %{_themesdir}/default
103 %defattr(644,root,root,755)
105 %{_themesdir}/cutting_room
106 %{_themesdir}/greenish
108 %{_themesdir}/sunburst
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_datadir}/%{_sname}/plugins