/[packages]/updates/2/lives/current/SPECS/lives.spec
ViewVC logotype

Contents of /updates/2/lives/current/SPECS/lives.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 263389 - (show annotations) (download)
Mon Jun 25 02:28:51 2012 UTC (11 years, 9 months ago) by fwang
File size: 2640 byte(s)
new version 1.6.2
1 %define major 0
2 %define libname %mklibname weed %major
3 %define develname %mklibname -d weed
4
5 Summary: Linux Video Editing System
6 Name: lives
7 Version: 1.6.2
8 Release: %mkrel 1
9 Source0: http://salsaman.home.xs4all.nl/lives/current/LiVES-%version.tar.bz2
10 URL: http://lives.sourceforge.net/
11 License: GPLv3+
12 Group: Video
13 BuildRequires: gtk2-devel
14 BuildRequires: bison
15 BuildRequires: imagemagick
16 BuildRequires: mjpegtools-devel
17 BuildRequires: SDL-devel
18 BuildRequires: cairo-devel
19 BuildRequires: ffmpeg-devel
20 BuildRequires: pkgconfig(glee)
21 BuildRequires: pkgconfig(libunicap)
22 BuildRequires: pkgconfig(libraw1394)
23 BuildRequires: gpm-devel
24 BuildRequires: jackit-devel
25 BuildRequires: libtheora-devel
26 BuildRequires: libsamplerate-devel
27 BuildRequires: celt-devel
28 BuildRequires: libpulseaudio-devel
29 BuildRequires: libpth-devel
30 BuildRequires: libv4l-devel
31 BuildRequires: libvisual-devel >= 0.1.7
32 Requires: mplayer mencoder sox imagemagick
33 Requires: cdrecord-cdda2wav
34 Requires: xset
35 Requires: libvisual-plugins
36
37 %description
38 The Linux Video Editing System (LiVES) is intended to be a simple yet powerful
39 video effects and editing system. It uses common tools for most of its work
40 (mplayer, ImageMagick, GTK+, sox).
41
42 %package -n %libname
43 Summary: Linux Video Editing System - shared libs
44 Group: Video
45
46 %description -n %libname
47 This package contains shared libs for LiVES.
48
49 %package -n %develname
50 Summary: Linux Video Editing System - Development files
51 Group: Video
52 Requires: %libname = %version
53 Provides: %name-devel = %version-%release
54
55 %description -n %develname
56 This package contains development files needed to build LiVES plugins.
57
58 %prep
59 %setup -q
60
61 %build
62 %define _disable_ld_no_undefined 1
63 %configure2_5x --disable-static --enable-threads=posix
64 %make
65
66 %install
67 %makeinstall_std
68
69 %find_lang lives
70
71 rm -fr %buildroot%_datadir/doc
72 rm -f %buildroot%_datadir/pixmaps/lives.xpm
73
74 # icons
75 mkdir -p %{buildroot}/%{_iconsdir}
76 mv %{buildroot}/usr/share/app-install/icons/lives.png %{buildroot}/%{_iconsdir}/%{name}.png
77
78 # fix symlink
79 rm -rf %{buildroot}%{_bindir}/lives
80 ln -s %{_bindir}/lives-exe %{buildroot}%{_bindir}/lives
81
82 # don't ship .a or .la
83 find %{buildroot} -name '*.a' | xargs rm -f
84 find %{buildroot} -name '*.la' | xargs rm -f
85
86 %clean
87
88 %files -f lives.lang
89 %defattr(-,root,root,0755)
90 %doc AUTHORS BUGS C* docs/*.txt FEATURES GETTING*
91 %doc NEWS OMC/*.txt README* RFX/*
92 %_bindir/*
93 %_datadir/%name
94 %_libdir/%name
95 %{_datadir}/applications/LiVES.desktop
96 %{_iconsdir}/%{name}.png
97
98 %files -n %libname
99 %defattr(-,root,root,-)
100 %_libdir/*.so.%{major}*
101
102 %files -n %develname
103 %defattr(-,root,root,-)
104 %_includedir/weed
105 %_libdir/*.so
106 %_libdir/pkgconfig/*.pc

  ViewVC Help
Powered by ViewVC 1.1.30