]> git.pld-linux.org Git - packages/LiVES.git/blob - LiVES.spec
- obsolete
[packages/LiVES.git] / LiVES.spec
1
2 %define         _sname          lives
3 %define         _pre            pre3
4
5 Summary:        LiVES - the Linux Video Editing System
6 Summary(pl):    LiVES - Linuksowy System Edycji Video
7 Name:           LiVES
8 Version:        0.9.5
9 Release:        0.%{_pre}.1
10 License:        GPL v2
11 Group:          X11/Applications/Multimedia
12 Source0:        http://www.xs4all.nl/%7Esalsaman/lives/current/%{name}-%{version}-%{_pre}.tar.bz2
13 # Source0-md5:  722f848a002084bb8f520a85ea5be756
14 Source1:        %{name}.desktop
15 Patch0:         %{name}-Makefile.am-path.patch
16 Patch1:         %{name}-plugins-python.patch
17 URL:            http://www.xs4all.nl/~salsaman/lives/
18 BuildRequires:  SDL-devel
19 BuildRequires:  automake >= 1:1.7
20 BuildRequires:  autoconf >= 2.57
21 BuildRequires:  gettext-devel >= 0.14.1
22 BuildRequires:  gtk+2-devel >= 2.0.0
23 BuildRequires:  libtheora-devel
24 BuildRequires:  libvisual-devel
25 BuildRequires:  mjpegtools-devel
26 BuildRequires:  pkgconfig
27 Requires:       %{name}-plugins = %{version}-%{release}
28 Requires:       ImageMagick >= 5
29 Requires:       ffmpeg
30 Requires:       mplayer >= 0.90rc1
31 Requires:       ogmtools
32 Requires:       perl-base
33 Requires:       python >= 1:2.3
34 Requires:       sox
35 Requires:       transcode
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %define         _themesdir      %{_datadir}/%{_sname}/themes
39
40 %description
41 LiVES began as the Linux Video Editing System. Since it now runs on
42 more operating systems, LiVES is a Video Editing System. It is
43 designed to be simple to use, yet powerful. It is small in size, yet
44 it has many advanced features.
45
46 %description -l pl
47 LiVES zaczyna³ jako Linuksowy System Edycji Video. Obecnie mo¿na
48 równie¿ uruchomiæ go na wiêkszej liczbie systemów operacyjnych.
49 Zaprojektowany zosta³ tak, by byæ zarówno prostym w u¿yciu jak
50 i mimo niewielkiego rozmiaru posiadaæ zaawansowane funkcje.
51
52 %package plugins
53 Summary:        Plugins for LiVES
54 Summary(pl):    Wtyczki dla LiVES
55 Group:          X11/Applications/Multimedia
56 Requires:       %{name} = %{version}-%{release}
57
58 %description plugins
59 Plugins for LiVES.
60
61 %description plugins -l pl
62 Wtyczki (plugins) dla LiVES.
63
64 %package themes
65 Summary:        Themes for LiVES
66 Summary(pl):    Motywy dla LiVES
67 Group:          Themes/GTK+
68 Requires:       %{name} = %{version}-%{release}
69
70 %description themes
71 Themes for LiVES.
72
73 %description themes -l pl
74 Motywy dla LiVES.
75
76 %prep
77 %setup -q -n %{_sname}-%{version}-%{_pre}
78 %patch0 -p1
79
80 %build
81 %{__aclocal} -I m4
82 %{__autoconf}
83 %{__automake}
84 %configure
85 %{__make} \
86         CFLAGS="%{rpmcflags} -fPIC"
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_desktopdir}
91 install -d $RPM_BUILD_ROOT%{_datadir}/lives/plugins/effects/rendered
92 for i in lives-plugins/plugins/effects/RFXscripts/*.script ; do
93         ./build-lives-rfx-plugin $i $RPM_BUILD_ROOT%{_datadir}/lives/plugins/effects/rendered
94 done
95
96 %{__make} install \
97         DESTDIR=$RPM_BUILD_ROOT
98
99 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
100 mv $RPM_BUILD_ROOT%{_docdir}/%{_sname}-%{version}-%{_pre} \
101         $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
102
103 %find_lang %{_sname}
104
105 %clean
106 rm -rf $RPM_BUILD_ROOT
107
108 %files -f %{_sname}.lang
109 %defattr(644,root,root,755)
110 %doc AUTHORS BUGS CHANGELOG FEATURES GETTING.STARTED NEWS RFX OMC
111 %attr(755,root,root) %{_bindir}/*
112 %dir %{_datadir}/%{_sname}
113 %{_datadir}/%{_sname}/icons
114 %{_desktopdir}/%{name}.desktop
115 %dir %{_themesdir}
116 %{_themesdir}/default
117
118 %files themes
119 %defattr(644,root,root,755)
120 %{_themesdir}/camera
121 %{_themesdir}/cutting_room
122 %{_themesdir}/greenish
123 %{_themesdir}/pinks
124 %{_themesdir}/sunburst
125 %{_themesdir}/editor
126
127 %files plugins
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_datadir}/%{_sname}/plugins
This page took 0.06299 seconds and 3 git commands to generate.