Author: belegdol
Update of /cvs/free/rpms/nailer/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv16671/devel
Modified Files:
.cvsignore sources
Added Files:
nailer-0.4.3-gconf.patch nailer.spec
Log Message:
Initial import
nailer-0.4.3-gconf.patch:
--- NEW FILE nailer-0.4.3-gconf.patch ---
Index: nailer.schemas
===================================================================
--- nailer.schemas (wersja 6)
+++ nailer.schemas (wersja 7)
@@ -1180,8 +1180,8 @@
</schema>
<schema>
-
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/enable</key>
-
<applyto>/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/enable</applyto>
+
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/enable</key>
+
<applyto>/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/enable</applyto>
<owner>nailer</owner>
<type>bool</type>
<default>true</default>
@@ -1193,8 +1193,8 @@
<schema>
-
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/command</key>
-
<applyto>/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/command</applyto>
+
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/command</key>
+
<applyto>/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/command</applyto>
<owner>nailer</owner>
<type>string</type>
<default>/usr/bin/nailer %i %o %s</default>
Index: nailer.schemas.in
===================================================================
--- nailer.schemas.in (wersja 6)
+++ nailer.schemas.in (wersja 7)
@@ -1180,8 +1180,8 @@
</schema>
<schema>
-
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/enable</key>
-
<applyto>/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/enable</applyto>
+
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/enable</key>
+
<applyto>/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/enable</applyto>
<owner>nailer</owner>
<type>bool</type>
<default>true</default>
@@ -1193,8 +1193,8 @@
<schema>
-
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/command</key>
-
<applyto>/desktop/gnome/thumbnailers/video@x-theora+ogg@ogv/command</applyto>
+
<key>/schemas/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/command</key>
+
<applyto>/desktop/gnome/thumbnailers/video@x-theora-ogg@ogv/command</applyto>
<owner>nailer</owner>
<type>string</type>
<default>@prefix@/bin/nailer %i %o %s</default>
--- NEW FILE nailer.spec ---
Name: nailer
Version: 0.4.3
Release: 3%{?dist}
Summary: A thumbnail generator using mplayer
Group: Applications/Multimedia
License: GPLv2+
URL:
http://kdekorte.googlepages.com/nailer
Source0:
http://mplayer-video-thumbnailer.googlecode.com/files/%{name}-%{version}....
Patch0: nailer-0.4.3-gconf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: GConf2
BuildRequires: gtk2-devel
Requires: GConf2
Requires: mplayer
Requires(pre): GConf2
Requires(post): GConf2
Requires(preun): GConf2
%description
MPlayer-Video-Thumbnailer aka Nailer is a Glib application that uses MPlayer to
generate thumbnails of video media files.
%prep
%setup -q
%patch0 -p0 -b .gconf
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
#remove intrusive docs
rm -rf $RPM_BUILD_ROOT%{_docdir}
#remove the desktop file
rm -rf $RPM_BUILD_ROOT%{_datadir}/thumbnailers
%clean
rm -rf $RPM_BUILD_ROOT
%pre
if [ "$1" -gt 1 ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/nailer.schemas >/dev/null || :
fi
%post
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/nailer.schemas > /dev/null || :
%preun
if [ "$1" -eq 0 ] ; then
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-uninstall-rule \
%{_sysconfdir}/gconf/schemas/nailer.schemas > /dev/null || :
fi
%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog
%{_sysconfdir}/gconf/schemas/nailer.schemas
%{_bindir}/nailer
%changelog
* Sat Feb 28 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.4.3-3
- Dropped the .desktop file entirely
- Patched the gconf schema
* Sat Feb 28 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.4.3-2
- Added desktop-file-utils to BuildRequires, validate the .desktop file
- Own the %%{_datadir}/thumbnailers
- Added GConf2 to Requires for the purpose of directory ownership
* Fri Jan 16 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.4.3-1
- Cleaned up upstream spec for RPM Fusion
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/nailer/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 7 Mar 2009 13:29:22 -0000 1.1
+++ .cvsignore 7 Mar 2009 15:54:02 -0000 1.2
@@ -0,0 +1 @@
+nailer-0.4.3.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/nailer/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 7 Mar 2009 13:29:22 -0000 1.1
+++ sources 7 Mar 2009 15:54:02 -0000 1.2
@@ -0,0 +1 @@
+d5f0e1bc62a93abe4e312d922e76eb6b nailer-0.4.3.tar.gz