summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Pala2008-01-23 15:31:03 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit26d55ad36503ae47b284a5da948453cd50b6efd1 (patch)
treefcd4382608ce60f1f33d22e07730f2b548f81ba1
downloadqpxtool-26d55ad36503ae47b284a5da948453cd50b6efd1.zip
qpxtool-26d55ad36503ae47b284a5da948453cd50b6efd1.tar.gz
- initial PLD release
Changed files: qpxtool.spec -> 1.1
-rw-r--r--qpxtool.spec55
1 files changed, 55 insertions, 0 deletions
diff --git a/qpxtool.spec b/qpxtool.spec
new file mode 100644
index 0000000..f1b1f7c
--- /dev/null
+++ b/qpxtool.spec
@@ -0,0 +1,55 @@
+#
+# TODO:
+# - add missing BRs,
+# - devel subpackage
+#
+Summary: CD/DVD quality checker
+Summary(pl.UTF-8): Tester jakości płyt CD/DVD
+Name: qpxtool
+Version: 0.6.1
+Release: 0.1
+License: GPL v2
+Group: X11/Applications
+Source0: http://dl.sourceforge.net/qpxtool/%{name}-%{version}.tar.bz2
+# Source0-md5: 4fa7ce8aa9c13aa2db0a8b5224acb906
+URL: http://qpxtool.sourceforge.net/
+BuildRequires: qmake
+BuildRequires: qt-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+QPxTool gives you access to all available Quality Checks (Q-Checks) on
+written and blank media, that are available for your drive. This will
+help you to find the right media and the optimized writing speed for
+your hardware, which will increase the change for a long data lifetime.
+
+%prep
+%setup -q
+
+%build
+export QTDIR="%{_prefix}"
+export QMAKESPEC="linux-g++"
+%{__make} \
+ CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ PREFIX="%{_prefix}" \
+ MANDIR="%{_mandir}" \
+ QTDIR="%{_prefix}"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README TODO slack-desc
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_mandir}/man8/*.8*