]> git.pld-linux.org Git - packages/LiVES.git/blob - LiVES.spec
- initial version
[packages/LiVES.git] / LiVES.spec
1
2 %define         _sname lives
3 %define         _pre    pre6
4 %define         _themesdir %{_datadir}/%{_sname}/themes
5
6 Summary:        LiVES is the Linux Video Editing System
7 Summary(pl):    LiVEA jest Linuksowym Systemem Edycji Video
8 Name:           LiVES
9 Version:        0.9.1
10 Release:        0.%{_pre}.1
11 Epoch:          0
12 License:        GPL v2
13 Group:          X11/Applications/Multimedia
14 Source0:        http://www.xs4all.nl/%7Esalsaman/%{_sname}/current/%{name}-%{version}-%{_pre}-src.tar.bz2
15 # Source0-md5:  8088d0f11b92a3792b9feb6338c11aa4
16 Source1:        %{name}.desktop
17 Patch0:         %{name}-Makefile.in-path.patch
18 Patch1:         %{name}-plugins-python.patch
19 URL:            http://www.xs4all.nl/~salsaman/lives/   
20 BuildRequires:  gtk+2-devel
21 BuildRequires:  pango-devel
22 BuildRequires:  freetype-devel
23 Requires:       mplayer >= 0.90rc1+
24 Requires:       ImageMagick 
25 Requires:       perl 
26 Requires:       libjpeg
27 Requires:       gdk-pixbuf
28 Requires:       %{name}-plugins = %{version}-%{release}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31
32 %description
33 LiVES began as the Linux Video Editing System. Since it now runs on more 
34 operating systems, LiVES is a Video Editing System. It is designed to be 
35 simple to use, yet powerful. It is small in size, yet it has many advanced 
36 features.
37
38 %description -l pl
39 LiVES zaczyna³ jako Linuksowy System Edycji Video. Teraz mo¿na go ruchomiæ
40 na wiêkszej ilo¶ci systemów operacyjnych, i teraz LiVES jest Systemem
41 Edycji Video.
42
43 %package plugins
44 Summary:        Plugins for LiVES
45 Summary(pl):    Wtyczki(plugins) dla LiVES
46 Group:          X11/Applications/Multimedia
47
48 %description plugins
49 Plugins for LiVES
50
51 %description plugins -l pl
52 Wtyczki(plugins) dla LiVES
53
54
55 %package themes
56 Summary:        Themes for LiVES
57 Summary(pl):    Motywy dla LiVES
58 Group:          Themes/GTK+
59
60 %description themes 
61 Themes for LiVES
62
63 %description themes -l pl
64 Motywy dla LiVES
65
66
67 %prep
68 %setup -q -n %{name}-%{version}-%{_pre}
69 gzip -dc %{_sname}-plugins-%{version}-%{_pre}.tar.gz | tar -xf -
70 gzip -dc %{_sname}-themes-%{version}-%{_pre}.tar.gz | tar -xf -
71 %patch0 -p1
72 %patch1 -p0
73
74 %build
75
76 %configure
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT \
84
85 install -d $RPM_BUILD_ROOT/{%{_datadir}/%{_sname},%{_desktopdir}}
86 install %{SOURCE1} $RPM_BUILD_ROOT/%{_desktopdir}
87 cp -r plugins $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
88 cp -r themes $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
89 cp -r icons $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc AUTHORS BUGS ChangeLog NEWS README 
97 %attr(755,root,root) %{_bindir}/*
98 %{_datadir}/%{_sname}/icons
99 %{_desktopdir}/%{name}.desktop
100 %{_themesdir}/default
101
102 %files themes
103 %defattr(644,root,root,755)
104 %{_themesdir}/camera
105 %{_themesdir}/cutting_room
106 %{_themesdir}/greenish 
107 %{_themesdir}/pinks
108 %{_themesdir}/sunburst
109
110 %files plugins
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_datadir}/%{_sname}/plugins
This page took 0.039614 seconds and 4 git commands to generate.