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