]>
Commit | Line | Data |
---|---|---|
b218b8ef | 1 | Summary: Non-linear video editor |
b8ee5b93 MB |
2 | Summary(pl.UTF-8): Edytor wideo |
3 | Name: pitivi | |
c7f07ab7 | 4 | Version: 0.15.1 |
b218b8ef | 5 | Release: 1 |
b8ee5b93 MB |
6 | License: LGPL v2+ |
7 | Group: X11/Applications/Multimedia | |
c7f07ab7 AF |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/pitivi/0.15/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 574fae053fa53a7854418aec56139145 | |
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 | |
bdc4fa07 | 20 | Requires(post,postun): gtk-update-icon-cache |
b8ee5b93 MB |
21 | Requires(post,postun): shared-mime-info |
22 | Requires: Zope-Interface | |
c7f07ab7 | 23 | Requires: gstreamer-audiosink >= 0.10.29 |
0b8b907b | 24 | Requires: gstreamer-gnonlin >= 0.10.16 |
b8ee5b93 | 25 | Requires: gstreamer-plugins-good |
c7f07ab7 | 26 | Requires: gstreamer-videosink >= 0.10.29 |
b8ee5b93 | 27 | Requires: hicolor-icon-theme |
b218b8ef | 28 | Requires: python-gstreamer >= 0.10.19 |
b8ee5b93 MB |
29 | Requires: python-pycairo |
30 | Requires: python-pygoocanvas | |
13114d28 JK |
31 | Requires: python-pygtk-glade >= 2:2.24.0 |
32 | Requires: python-pygtk-gtk >= 2:2.24.0 | |
b218b8ef | 33 | Requires: python-pyxdg |
b8ee5b93 MB |
34 | Requires: python-setuptools |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
36 | ||
37 | %description | |
38 | PiTiVi is a program for video editing based on the GStreamer. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | PiTiVi jest programem do edycji wideo używającym GStreamera. | |
42 | ||
43 | %prep | |
44 | %setup -q | |
b8ee5b93 MB |
45 | |
46 | %build | |
47 | %{__intltoolize} | |
48 | %{__aclocal} -I common/m4 | |
49 | %{__autoconf} | |
50 | %{__automake} | |
51 | %configure | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %{__make} install \ | |
58 | DESTDIR=$RPM_BUILD_ROOT | |
59 | ||
c7f07ab7 | 60 | %find_lang %{name} --with-gnome |
b8ee5b93 MB |
61 | |
62 | %clean | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %post | |
66 | %update_icon_cache hicolor | |
67 | %update_mime_database | |
68 | %update_desktop_database | |
69 | ||
70 | %postun | |
71 | %update_icon_cache hicolor | |
72 | %update_mime_database | |
73 | %update_desktop_database_postun | |
74 | ||
75 | %files -f %{name}.lang | |
76 | %defattr(644,root,root,755) | |
b218b8ef | 77 | %doc AUTHORS ChangeLog NEWS README RELEASE |
b8ee5b93 | 78 | %attr(755,root,root) %{_bindir}/pitivi |
1e11257b TP |
79 | %{_libdir}/%{name} |
80 | %{_datadir}/%{name} | |
81 | %{_datadir}/mime/packages/%{name}.xml | |
82 | %{_desktopdir}/%{name}.desktop | |
b8ee5b93 MB |
83 | %{_iconsdir}/hicolor/*/*/*.png |
84 | %{_iconsdir}/hicolor/*/*/*.svg | |
1e11257b | 85 | %{_mandir}/man1/%{name}.1* |