summaryrefslogtreecommitdiffstats
path: root/gtk/ghb.spec
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2008-06-17 15:40:49 +0000
committerjstebbins <[email protected]>2008-06-17 15:40:49 +0000
commit8bbd36bcbe75a53b29f7cc62e5ae9d107f92eddc (patch)
treeaafba8f8091293cc3faac87f0c61460cc6017c39 /gtk/ghb.spec
parent01cf7f40ab14ce0961c5ea0c6e16580284c03945 (diff)
LinGui: Initial import
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1517 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/ghb.spec')
-rw-r--r--gtk/ghb.spec64
1 files changed, 64 insertions, 0 deletions
diff --git a/gtk/ghb.spec b/gtk/ghb.spec
new file mode 100644
index 000000000..83cdab49e
--- /dev/null
+++ b/gtk/ghb.spec
@@ -0,0 +1,64 @@
+Name: handbrake
+Version: 0.9.2
+Release: 1%{?dist}
+Summary: A program to rip and encode DVDs and other sources to MPEG-4
+
+Group: Applications/Multimedia
+License: GPL
+URL: http://handbrake.fr/
+Source0: HandBrake.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires: glib2 >= 2.16, gtk2 >= 2.12, hal-libs
+
+%description
+HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded
+DVD to MPEG-4 converter, available for MacOS X, Linux and Windows.
+
+%prep
+%setup -q
+
+
+%build
+%configure
+jam
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+DESTDIR=$RPM_BUILD_ROOT jam install
+
+## blow away stuff we don't want
+/bin/rm $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+fi
+
+%postun
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ gtk-update-icon-cache -q %{_datadir}/icons/hicolor
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc %{_datadir}/doc
+%{_datadir}/ghb
+%{_datadir}/icons
+%{_datadir}/locale
+%{_datadir}/applications
+%{_bindir}
+
+
+%changelog
+* Sat May 31 2008 John Stebbins <[email protected]>
+- Initial release
+
+