|
@@ -1,5 +1,5 @@
|
|
|
-%global major 0.13
|
|
|
-%global minor 5
|
|
|
+%global major 0.15
|
|
|
+%global minor 2
|
|
|
|
|
|
Name: pitivi
|
|
|
Version: %{major}.%{minor}
|
|
@@ -9,10 +9,12 @@ Summary(ja): ノンリニアビデオ編集ソフトウェア
|
|
|
Group: Applications/Multimedia
|
|
|
License: LGPLv2+
|
|
|
URL: http://www.pitivi.org/
|
|
|
-Source0: http://ftp.gnome.org/pub/GNOME/sources/pitivi/%{major}/pitivi-%{version}.tar.bz2
|
|
|
-BuildRequires: intltool
|
|
|
-BuildRequires: python
|
|
|
-BuildRequires: desktop-file-utils
|
|
|
+Source0: http://ftp.gnome.org/pub/GNOME/sources/pitivi/%{major}/pitivi-%{version}.tar.xz
|
|
|
+BuildRequires: intltool
|
|
|
+BuildRequires: python
|
|
|
+BuildRequires: desktop-file-utils
|
|
|
+BuildRequires: gnome-doc-utils
|
|
|
+
|
|
|
Requires: gnonlin
|
|
|
Requires: gstreamer-plugins-good
|
|
|
Requires: gstreamer-python
|
|
@@ -60,7 +62,7 @@ done
|
|
|
desktop-file-install --delete-original \
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
--add-category AudioVideoEditing \
|
|
|
- pitivi.desktop
|
|
|
+ data/pitivi.desktop
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
@@ -68,23 +70,40 @@ desktop-file-install --delete-original \
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
|
%post
|
|
|
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
%postun
|
|
|
+if [ $1 -eq 0 ] ; then
|
|
|
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
+fi
|
|
|
+
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
|
|
|
|
+
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc AUTHORS ChangeLog COPYING NEWS
|
|
|
%{_bindir}/%{name}
|
|
|
%{_datadir}/%{name}
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
+%{_datadir}/gnome/help/%{name}/*/
|
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
|
|
%{_datadir}/mime/packages/%{name}.xml
|
|
|
+%{_mandir}/man1/%{name}.1.gz
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Jul 17 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.15.2-1
|
|
|
+- new upstream release
|
|
|
+- changed source archive type bz2 to xz
|
|
|
+- added BuildRequires: gnome-doc-utils
|
|
|
+- run gtk-update-icon-cache in %%post, %%postun
|
|
|
+
|
|
|
* Wed Apr 27 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.13.5-1
|
|
|
- initial build for Vine Linux based on fedora development
|
|
|
|