-
Notifications
You must be signed in to change notification settings - Fork 1
/
qpxtool.spec
138 lines (108 loc) · 3.3 KB
/
qpxtool.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
%define summary CD/DVD media check/drive control tools
%define name qpxtool
%define version 0.7.2
%define release 1
%define vendor Gennady "ShultZ" Kozlov
%define packager Gennady "ShultZ" Kozlov
%define email [email protected]
Summary: %{summary}
Name: %{name}
Version: %{version}
Release: %{release}
Group: Applications/Media
License: GPL
URL: http://qpxtool.sourceforge.net
Vendor: %{vendor}
Packager: %{packager} %{email}
Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
#BuildRequires: libpng-devel
Requires: %{name}-lib = %{version}-%{release}
#Requires: libpng
%package lib
Summary: QPxTool libraries
Group: Development/Libraries
%package gui
Summary: QPxTool GUI
Group: X11/Applications
Requires: %{name} = %{version}-%{release}
Requires: %{name}-lib = %{version}-%{release}
%package devel
Summary: QPxTool development files
Group: Development/Libraries
Requires: %{name}-lib = %{version}-%{release}
%description
QPxTool is the way to get full control over your CD/DVD drives.
It is the Open Source Solution which intends to give 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 chance for a long data lifetime.
Console CD/DVD media check and drive control tools and libraries
qscan - quality check tool
qscand - network quality check daemon (frontend to qscan)
readdvd - a little tool for reading damaged CD/DVD (multi-pass)
cdvdcontrol - extended drive features control tool
pxfw - firmware flasher for Plextor drives
f1tattoo - DiscT@2 tool for Yamaha CRW-F1
Authors:
--------
Gennady "ShultZ" Kozlov <[email protected]>
%description lib
Required libraries for QPxTool CD/DVD media check and drive control tools
Authors:
--------
Gennady "ShultZ" Kozlov <[email protected]>
%description devel
Developnemt files for QPxTool CD/DVD media check and drive control tools
Authors:
--------
Gennady "ShultZ" Kozlov <[email protected]>
%description gui
Qt frontend for CD/DVD media check and drive control tools
Authors:
--------
Gennady "ShultZ" Kozlov <[email protected]>
%prep
%setup -q -n %{name}
%build
####
./configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir}
make %{?_smp_mflags}
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%post lib
/sbin/ldconfig
%postun lib
/sbin/ldconfig
%files
%defattr(-,root,root)
/usr/bin/*
/usr/sbin/*
%{_mandir}/man1/*
%{_mandir}/man8/*
%{_libdir}/qpxtool/libqscan_*
%doc AUTHORS COPYING ChangeLog README TODO
%exclude /usr/bin/qpxtool
%files lib
%defattr(-,root,root)
%{_libdir}/libqpx*
%files gui
%defattr(-,root,root)
/usr/bin/qpxtool
/usr/share/pixmaps/qpxtool.png
/usr/share/applications/qpxtool.desktop
/usr/share/qpxtool/locale/*
%files devel
%defattr(-,root,root)
/usr/include/qpxtool/*
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && %__rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Nov 11 2009 Gennady "ShultZ" Kozlov <[email protected]>
- main package splitted to main,lib
* Wed Oct 21 2009 Gennady "ShultZ" Kozlov <[email protected]>
- splitted packages: main, devel, gui
* Tue Jul 21 2009 Gennady "ShultZ" Kozlov <[email protected]>
- initial spec file created