]> git.pld-linux.org Git - packages/LiVES.git/blob - LiVES.spec
- make use of %%find_lang
[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 %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. Teraz mo¿na go
39 ruchomiæ na wiêkszej ilo¶ci systemów operacyjnych, i teraz LiVES jest
40 Systemem Edycji Video.
41
42 %package plugins
43 Summary:        Plugins for LiVES
44 Summary(pl):    Wtyczki(plugins) dla LiVES
45 Group:          X11/Applications/Multimedia
46
47 %description plugins
48 Plugins for LiVES
49
50 %description plugins -l pl
51 Wtyczki(plugins) dla LiVES
52
53 %package themes
54 Summary:        Themes for LiVES
55 Summary(pl):    Motywy dla LiVES
56 Group:          Themes/GTK+
57
58 %description themes
59 Themes for LiVES
60
61 %description themes -l pl
62 Motywy dla LiVES
63
64 %prep
65 %setup -q -n %{name}-%{version}-%{_pre}
66 gzip -dc %{_sname}-plugins-%{version}-%{_pre}.tar.gz | tar -xf -
67 gzip -dc %{_sname}-themes-%{version}-%{_pre}.tar.gz | tar -xf -
68 %patch0 -p1
69 %patch1 -p0
70
71 %build
72 %configure
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 install -d $RPM_BUILD_ROOT/{%{_datadir}/%{_sname},%{_desktopdir}}
82 install %{SOURCE1} $RPM_BUILD_ROOT/%{_desktopdir}
83 cp -r plugins $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
84 cp -r themes $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
85 cp -r icons $RPM_BUILD_ROOT%{_datadir}/%{_sname}/
86
87 %find_lang %{name}
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files -f %{name}.lang
93 %defattr(644,root,root,755)
94 %doc AUTHORS BUGS ChangeLog NEWS README
95 %attr(755,root,root) %{_bindir}/*
96 %{_datadir}/%{_sname}/icons
97 %{_desktopdir}/%{name}.desktop
98 %{_themesdir}/default
99
100 %files themes
101 %defattr(644,root,root,755)
102 %{_themesdir}/camera
103 %{_themesdir}/cutting_room
104 %{_themesdir}/greenish
105 %{_themesdir}/pinks
106 %{_themesdir}/sunburst
107
108 %files plugins
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_datadir}/%{_sname}/plugins
This page took 0.06036 seconds and 3 git commands to generate.