SPECS: qrfcview.spec (NEW) - added, tested on Ac (works)

twittner twittner at pld-linux.org
Sat Jan 20 15:04:34 CET 2007


Author: twittner                     Date: Sat Jan 20 14:04:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added, tested on Ac (works)

---- Files affected:
SPECS:
   qrfcview.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/qrfcview.spec
diff -u /dev/null SPECS/qrfcview.spec:1.1
--- /dev/null	Sat Jan 20 15:04:34 2007
+++ SPECS/qrfcview.spec	Sat Jan 20 15:04:28 2007
@@ -0,0 +1,71 @@
+# $Revision$, $Date$
+#
+# TODO: - don't know how to deal with rest images
+#
+Summary:	Smart viewer for IETF RFCs
+Summary(pl):	Sprytna przeglądarka dokumentów RFC
+Name:		qrfcview	
+Version:	0.62
+Release:	0.1
+License:	GPL
+Group:		X11/Applications
+Source0:	http://download.berlios.de/qrfcview/%{name}-%{version}.tgz
+# Source0-md5:	d41d8cd98f00b204e9800998ecf8427e
+Source1:	%{name}.desktop
+URL:		http://qrfcview.berlios.de/	
+BuildRequires:	QtCore-devel
+BuildRequires:	QtGui-devel
+BuildRequires:	qt4-build
+BuildRequires:	qt4-qmake
+BuildRequires:	rpmbuild(macros) >= 1.129
+BuildRequires:	sed >= 4.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+qRFCView is a viewer for IETF RFCs. Advantages are:
+
+    * automatic table of content, with direct opening of section;
+    * handling of RFC internal cross-references;
+    * automatic downloading of a referenced RFC from the IETF web site on a simple click;
+    * caching of RFC in a local directory;
+    * tab-browsing of RFC;
+    * searching. 
+
+#%%description -l pl
+
+%prep
+%setup -q
+%{__sed} -i '1s@^@#include <stdint.h>@' src/*.{cpp,h}
+
+%build
+export QTDIR="%{_prefix}"
+qt4-qmake
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
+install bin/qRFCView $RPM_BUILD_ROOT%{_bindir}/qrfcview
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install images/rfcview.png $RPM_BUILD_ROOT%{_pixmapsdir}/qrfcview.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt
+%attr(755,root,root) %{_bindir}/*
+%{_desktopdir}/%{name}.desktop
+%{_pixmapsdir}/%{name}.png
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/01/20 14:04:28  twittner
+- added, tested on Ac (works)
+
================================================================


More information about the pld-cvs-commit mailing list