]>
Commit | Line | Data |
---|---|---|
b8ee5b93 MB |
1 | Summary: Video editor |
2 | Summary(pl.UTF-8): Edytor wideo | |
3 | Name: pitivi | |
a99505d6 CM |
4 | Version: 0.13.5 |
5 | Release: 1 | |
b8ee5b93 MB |
6 | License: LGPL v2+ |
7 | Group: X11/Applications/Multimedia | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/pitivi/0.13/%{name}-%{version}.tar.bz2 | |
a99505d6 | 9 | # Source0-md5: 2471dbff3a63777dc89870e44da203e1 |
b8ee5b93 MB |
10 | URL: http://www.pitivi.org/ |
11 | BuildRequires: autoconf >= 2.52 | |
12 | BuildRequires: automake | |
13 | BuildRequires: gettext-devel | |
14 | BuildRequires: intltool >= 0.35.0 | |
15 | BuildRequires: python >= 1:2.5 | |
13ca9524 | 16 | BuildRequires: python-modules |
17 | BuildRequires: rpm-pythonprov | |
b8ee5b93 MB |
18 | BuildRequires: rpmbuild(macros) >= 1.311 |
19 | Requires(post,postun): desktop-file-utils | |
20 | Requires(post,postun): gtk+2 | |
21 | Requires(post,postun): shared-mime-info | |
22 | Requires: Zope-Interface | |
23 | Requires: gstreamer-audiosink >= 0.10.23 | |
0b8b907b | 24 | Requires: gstreamer-gnonlin >= 0.10.16 |
b8ee5b93 MB |
25 | Requires: gstreamer-plugins-good |
26 | Requires: gstreamer-videosink >= 0.10.23 | |
27 | Requires: hicolor-icon-theme | |
4a08dac6 | 28 | Requires: python-gstreamer >= 0.10.16 |
b8ee5b93 MB |
29 | Requires: python-pycairo |
30 | Requires: python-pygoocanvas | |
31 | Requires: python-pygtk-glade >= 2:2.12.0 | |
32 | Requires: python-pygtk-gtk >= 2:2.12.0 | |
33 | Requires: python-setuptools | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | PiTiVi is a program for video editing based on the GStreamer. | |
38 | ||
39 | %description -l pl.UTF-8 | |
40 | PiTiVi jest programem do edycji wideo używającym GStreamera. | |
41 | ||
42 | %prep | |
43 | %setup -q | |
b8ee5b93 MB |
44 | |
45 | %build | |
46 | %{__intltoolize} | |
47 | %{__aclocal} -I common/m4 | |
48 | %{__autoconf} | |
49 | %{__automake} | |
50 | %configure | |
51 | %{__make} | |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %{__make} install \ | |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
59 | %find_lang %{name} | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %post | |
65 | %update_icon_cache hicolor | |
66 | %update_mime_database | |
67 | %update_desktop_database | |
68 | ||
69 | %postun | |
70 | %update_icon_cache hicolor | |
71 | %update_mime_database | |
72 | %update_desktop_database_postun | |
73 | ||
74 | %files -f %{name}.lang | |
75 | %defattr(644,root,root,755) | |
76 | %attr(755,root,root) %{_bindir}/pitivi | |
77 | %{_libdir}/pitivi | |
78 | %{_datadir}/mime/packages/pitivi.xml | |
79 | %{_datadir}/pitivi | |
80 | %{_desktopdir}/pitivi.desktop | |
81 | %{_iconsdir}/hicolor/*/*/*.png | |
82 | %{_iconsdir}/hicolor/*/*/*.svg |