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