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