3 # - some platform-independent left in %{_libdir}
7 Summary: LiVES - the Linux Video Editing System
8 Summary(pl.UTF-8): LiVES - Linuksowy System Edycji Video
13 Group: X11/Applications/Multimedia
14 Source0: http://www.xs4all.nl/%7Esalsaman/lives/current/%{name}-%{version}.tar.bz2
15 # Source0-md5: 71bc3a29d0d37a8ca88370a3499741d4
16 Source1: %{name}.desktop
17 Patch0: %{name}-FHS.patch
18 URL: http://www.xs4all.nl/~salsaman/lives/
19 BuildRequires: SDL-devel
20 BuildRequires: automake >= 1:1.7
21 BuildRequires: autoconf >= 2.57
22 BuildRequires: gettext-devel >= 0.14.1
23 BuildRequires: gtk+2-devel >= 2.0.0
24 BuildRequires: libtheora-devel
25 BuildRequires: libtool
26 BuildRequires: libvisual-devel
27 BuildRequires: mjpegtools-devel
28 BuildRequires: pkgconfig
29 BuildRequires: sed >= 4.0
30 BuildRequires: xorg-util-imake
31 Requires: %{name}-plugins = %{version}-%{release}
32 Requires: ImageMagick >= 5
34 Requires: mplayer >= 0.90rc1
37 Requires: python >= 1:2.3
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 # workaround for the next change
43 %define _localedir %{_usr}/share/locale
44 # platform-dependent plugins in %{_datadir}
45 %define _datadir %{_libdir}
46 %define _themesdir %{_datadir}/%{_sname}/themes
47 # shared objects without .so (e.g. SDL), which we don't want to provide
48 %define _noautoprovfiles ^%{_datadir}/%{_sname}/.*
51 LiVES began as the Linux Video Editing System. Since it now runs on
52 more operating systems, LiVES is a Video Editing System. It is
53 designed to be simple to use, yet powerful. It is small in size, yet
54 it has many advanced features.
56 %description -l pl.UTF-8
57 LiVES zaczynał jako Linuksowy System Edycji Video. Obecnie można
58 również uruchomić go na większej liczbie systemów operacyjnych.
59 Zaprojektowany został tak, by być zarówno prostym w użyciu jak
60 i mimo niewielkiego rozmiaru posiadać zaawansowane funkcje.
63 Summary: Plugins for LiVES
64 Summary(pl.UTF-8): Wtyczki dla LiVES
65 Group: X11/Applications/Multimedia
66 Requires: %{name} = %{version}-%{release}
71 %description plugins -l pl.UTF-8
72 Wtyczki (plugins) dla LiVES.
75 Summary: Themes for LiVES
76 Summary(pl.UTF-8): Motywy dla LiVES
78 Requires: %{name} = %{version}-%{release}
83 %description themes -l pl.UTF-8
87 %setup -qn %{_sname}-%{version}
91 sed -i -e 's,/share/,/%{_lib}/,' po/pxgettext po/make_rfx_builtin_list.pl
97 # hack: DATADIRNAME defined too late in configure
101 CFLAGS="%{rpmcflags} -fPIC"
104 rm -rf $RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT%{_desktopdir}
106 install -d $RPM_BUILD_ROOT%{_datadir}/lives/plugins/effects/rendered
107 for i in lives-plugins/plugins/effects/RFXscripts/*.script ; do
108 ./build-lives-rfx-plugin $i $RPM_BUILD_ROOT%{_datadir}/lives/plugins/effects/rendered
111 # hack: override localedir because of redefined datadir
113 DESTDIR=$RPM_BUILD_ROOT \
114 localedir=%{_localedir}
116 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
117 mv $RPM_BUILD_ROOT%{_docdir}/%{_sname}-%{version} \
118 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
120 mv -f $RPM_BUILD_ROOT%{_localedir}/{cz,cs}
121 mv -f $RPM_BUILD_ROOT%{_localedir}/nl{_NL,}
126 rm -rf $RPM_BUILD_ROOT
128 %files -f %{_sname}.lang
129 %defattr(644,root,root,755)
130 %doc AUTHORS BUGS CHANGELOG FEATURES GETTING.STARTED NEWS RFX OMC
131 %attr(755,root,root) %{_bindir}/*
132 %dir %{_datadir}/%{_sname}
133 %{_datadir}/%{_sname}/icons
134 %{_desktopdir}/%{name}.desktop
136 %{_themesdir}/default
139 %defattr(644,root,root,755)
141 %{_themesdir}/cutting_room
142 %{_themesdir}/greenish
144 %{_themesdir}/sunburst
148 %defattr(644,root,root,755)
149 %attr(755,root,root) %{_datadir}/%{_sname}/plugins