]> git.pld-linux.org Git - packages/LiVES.git/blame - LiVES.spec
- s/CHANGELOG/ChangeLog/
[packages/LiVES.git] / LiVES.spec
CommitLineData
d6dcd492 1
b7677e2a 2# TODO
e9efba0b 3# - some platform-independent left in %{_libdir}
b7677e2a 4
9b44bde4 5%define _sname lives
d6dcd492 6
4a4619c2 7Summary: LiVES - the Linux Video Editing System
c351d0e3 8Summary(pl.UTF-8): LiVES - Linuksowy System Edycji Video
d6dcd492 9Name: LiVES
b03d3ca0
SS
10Version: 0.9.8.3
11Release: 0.1
d6dcd492
JW
12License: GPL v2
13Group: X11/Applications/Multimedia
849a345a 14Source0: http://www.xs4all.nl/%7Esalsaman/lives/current/%{name}-%{version}.tar.bz2
b03d3ca0 15# Source0-md5: 16f280b01fc426981494e03d4671488a
d6dcd492 16Source1: %{name}.desktop
3d5df68d 17Patch0: %{name}-FHS.patch
26111481 18Patch1: %{name}-automake.patch
367a2a7a 19URL: http://www.xs4all.nl/~salsaman/lives/
36301c5d 20BuildRequires: SDL-devel
4988e69e 21BuildRequires: autoconf >= 2.57
e6456b8a 22BuildRequires: automake >= 1:1.7
f3036fec
JB
23BuildRequires: gettext-devel >= 0.14.1
24BuildRequires: gtk+2-devel >= 2.0.0
25BuildRequires: libtheora-devel
239529e3 26BuildRequires: libtool
f3036fec 27BuildRequires: libvisual-devel
36301c5d 28BuildRequires: mjpegtools-devel
bf72b26e 29BuildRequires: pkgconfig
e9efba0b 30BuildRequires: sed >= 4.0
0149db1a 31BuildRequires: xorg-util-imake
f3036fec 32Requires: %{name}-plugins = %{version}-%{release}
4988e69e 33Requires: ImageMagick >= 5
36301c5d 34Requires: ffmpeg
9b44bde4 35Requires: mplayer >= 0.90rc1
4988e69e 36Requires: ogmtools
4a4619c2 37Requires: perl-base
b515bd9c 38Requires: python >= 1:2.3
4988e69e 39Requires: sox
40Requires: transcode
d6dcd492
JW
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
0cfe8d85 43# workaround for the next change
44%define _localedir %{_usr}/share/locale
e9efba0b
JB
45# platform-dependent plugins in %{_datadir}
46%define _datadir %{_libdir}
4a4619c2 47%define _themesdir %{_datadir}/%{_sname}/themes
e9efba0b
JB
48# shared objects without .so (e.g. SDL), which we don't want to provide
49%define _noautoprovfiles ^%{_datadir}/%{_sname}/.*
4a4619c2 50
d6dcd492 51%description
367a2a7a
AG
52LiVES began as the Linux Video Editing System. Since it now runs on
53more operating systems, LiVES is a Video Editing System. It is
54designed to be simple to use, yet powerful. It is small in size, yet
55it has many advanced features.
d6dcd492 56
fd1e461e
JR
57%description -l pl.UTF-8
58LiVES zaczynał jako Linuksowy System Edycji Video. Obecnie można
59również uruchomić go na większej liczbie systemów operacyjnych.
e6456b8a
SS
60Zaprojektowany został tak, by być zarówno prostym w użyciu jak i mimo
61niewielkiego rozmiaru posiadać zaawansowane funkcje.
d6dcd492
JW
62
63%package plugins
367a2a7a 64Summary: Plugins for LiVES
c351d0e3 65Summary(pl.UTF-8): Wtyczki dla LiVES
367a2a7a 66Group: X11/Applications/Multimedia
4a4619c2 67Requires: %{name} = %{version}-%{release}
d6dcd492
JW
68
69%description plugins
073ebf76 70Plugins for LiVES.
d6dcd492 71
fd1e461e 72%description plugins -l pl.UTF-8
073ebf76 73Wtyczki (plugins) dla LiVES.
d6dcd492 74
d6dcd492 75%package themes
367a2a7a 76Summary: Themes for LiVES
c351d0e3 77Summary(pl.UTF-8): Motywy dla LiVES
367a2a7a 78Group: Themes/GTK+
4a4619c2 79Requires: %{name} = %{version}-%{release}
d6dcd492 80
367a2a7a 81%description themes
073ebf76 82Themes for LiVES.
d6dcd492 83
fd1e461e 84%description themes -l pl.UTF-8
073ebf76 85Motywy dla LiVES.
d6dcd492 86
d6dcd492 87%prep
849a345a 88%setup -qn %{_sname}-%{version}
d6dcd492 89%patch0 -p1
26111481 90%patch1 -p1
d6dcd492 91
e9efba0b
JB
92# wrrr
93sed -i -e 's,/share/,/%{_lib}/,' po/pxgettext po/make_rfx_builtin_list.pl
94
d6dcd492 95%build
bb3cb93e
KK
96%{__aclocal} -I m4
97%{__autoconf}
98%{__automake}
e9efba0b
JB
99# hack: DATADIRNAME defined too late in configure
100%configure \
101 DATADIRNAME=share
36301c5d 102%{__make} \
103 CFLAGS="%{rpmcflags} -fPIC"
d6dcd492
JW
104
105%install
106rm -rf $RPM_BUILD_ROOT
bb3cb93e
KK
107install -d $RPM_BUILD_ROOT%{_desktopdir}
108install -d $RPM_BUILD_ROOT%{_datadir}/lives/plugins/effects/rendered
109for i in lives-plugins/plugins/effects/RFXscripts/*.script ; do
110 ./build-lives-rfx-plugin $i $RPM_BUILD_ROOT%{_datadir}/lives/plugins/effects/rendered
111done
d6dcd492 112
e9efba0b 113# hack: override localedir because of redefined datadir
d6dcd492 114%{__make} install \
e9efba0b 115 DESTDIR=$RPM_BUILD_ROOT \
0cfe8d85 116 localedir=%{_localedir}
d6dcd492 117
9b44bde4 118install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
849a345a 119mv $RPM_BUILD_ROOT%{_docdir}/%{_sname}-%{version} \
535cfb99 120 $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
d6dcd492 121
0cfe8d85 122mv -f $RPM_BUILD_ROOT%{_localedir}/{cz,cs}
123mv -f $RPM_BUILD_ROOT%{_localedir}/nl{_NL,}
b2d7a9a9 124
535cfb99 125%find_lang %{_sname}
bbbf5774 126
d6dcd492
JW
127%clean
128rm -rf $RPM_BUILD_ROOT
129
535cfb99 130%files -f %{_sname}.lang
d6dcd492 131%defattr(644,root,root,755)
27b03b78 132%doc AUTHORS BUGS ChangeLog FEATURES GETTING.STARTED NEWS RFX OMC
d6dcd492 133%attr(755,root,root) %{_bindir}/*
4a4619c2 134%dir %{_datadir}/%{_sname}
d6dcd492 135%{_datadir}/%{_sname}/icons
e6456b8a 136%{_datadir}/%{_sname}/default.keymap
d6dcd492 137%{_desktopdir}/%{name}.desktop
4a4619c2 138%dir %{_themesdir}
d6dcd492
JW
139%{_themesdir}/default
140
141%files themes
142%defattr(644,root,root,755)
143%{_themesdir}/camera
144%{_themesdir}/cutting_room
367a2a7a 145%{_themesdir}/greenish
d6dcd492
JW
146%{_themesdir}/pinks
147%{_themesdir}/sunburst
535cfb99 148%{_themesdir}/editor
d6dcd492
JW
149
150%files plugins
151%defattr(644,root,root,755)
152%attr(755,root,root) %{_datadir}/%{_sname}/plugins
This page took 0.089249 seconds and 4 git commands to generate.