|
@@ -1,7 +1,7 @@
|
|
Name: qt-assistant-adp
|
|
Name: qt-assistant-adp
|
|
Summary: Compatibility version of Qt Assistant
|
|
Summary: Compatibility version of Qt Assistant
|
|
Version: 4.6.3
|
|
Version: 4.6.3
|
|
-Release: 4%{?_dist_release}
|
|
|
|
|
|
+Release: 5%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
# See LGPL_EXCEPTIONS.txt, LICENSE.GPL3, respectively, for exception details
|
|
@@ -18,7 +18,6 @@ Patch1: 01_build_system.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: qt4-devel >= 4.7.2-2%{?_dist_release}
|
|
BuildRequires: qt4-devel >= 4.7.2-2%{?_dist_release}
|
|
-Requires: qt4 = %{_qt4_version}
|
|
|
|
|
|
|
|
%description
|
|
%description
|
|
The old version of Qt Assistant, based on Assistant Document Profile (.adp)
|
|
The old version of Qt Assistant, based on Assistant Document Profile (.adp)
|
|
@@ -28,12 +27,11 @@ applications providing help in that format.
|
|
New applications should use the new version of Qt Assistant introduced in Qt
|
|
New applications should use the new version of Qt Assistant introduced in Qt
|
|
4.4, based on the Qt Help Framework also introduced in Qt 4.4, instead.
|
|
4.4, based on the Qt Help Framework also introduced in Qt 4.4, instead.
|
|
|
|
|
|
-
|
|
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for the compatibility QAssistantClient
|
|
Summary: Development files for the compatibility QAssistantClient
|
|
Group: Development/Libraries
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
-Requires: qt4-devel = %{_qt4_version}
|
|
|
|
|
|
+Requires: qt4-devel
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
This package contains the files necessary to build applications using the
|
|
This package contains the files necessary to build applications using the
|
|
@@ -71,38 +69,38 @@ cd ..
|
|
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
-rm -rf %{buildroot}
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
# install assistant_adp
|
|
# install assistant_adp
|
|
-make install INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
+make install INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
|
# install libQtAssistantClient
|
|
# install libQtAssistantClient
|
|
-make install INSTALL_ROOT=%{buildroot} -C lib
|
|
|
|
|
|
+make install INSTALL_ROOT=$RPM_BUILD_ROOT -C lib
|
|
|
|
|
|
# install assistant_adp translations
|
|
# install assistant_adp translations
|
|
-mkdir -p %{buildroot}%{_qt4_translationdir}
|
|
|
|
|
|
+mkdir -p $RPM_BUILD_ROOT%{_qt4_translationdir}
|
|
install -p -m644 translations/assistant_adp_*.qm \
|
|
install -p -m644 translations/assistant_adp_*.qm \
|
|
- %{buildroot}%{_qt4_translationdir}/
|
|
|
|
|
|
+ $RPM_BUILD_ROOT%{_qt4_translationdir}/
|
|
|
|
|
|
# install assistant.prf mkspec
|
|
# install assistant.prf mkspec
|
|
install -D -p -m644 features/assistant.prf \
|
|
install -D -p -m644 features/assistant.prf \
|
|
- %{buildroot}%{_qt4_datadir}/mkspecs/features/assistant.prf
|
|
|
|
|
|
+ $RPM_BUILD_ROOT%{_qt4_datadir}/mkspecs/features/assistant.prf
|
|
|
|
|
|
# install missing headers (thanks to Fathi Boudra from Debian)
|
|
# install missing headers (thanks to Fathi Boudra from Debian)
|
|
-install -p -m644 include/Q* %{buildroot}%{_qt4_headerdir}/QtAssistant/
|
|
|
|
|
|
+install -p -m644 include/Q* $RPM_BUILD_ROOT%{_qt4_headerdir}/QtAssistant/
|
|
|
|
|
|
# nuke dangling reference(s) to the buildroot
|
|
# nuke dangling reference(s) to the buildroot
|
|
-sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" %{buildroot}%{_qt4_libdir}/*.prl
|
|
|
|
|
|
+sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" $RPM_BUILD_ROOT%{_qt4_libdir}/*.prl
|
|
|
|
|
|
# let rpm handle binaries conflicts
|
|
# let rpm handle binaries conflicts
|
|
-mkdir %{buildroot}%{_bindir}
|
|
|
|
-pushd %{buildroot}%{_qt4_bindir}
|
|
|
|
|
|
+mkdir $RPM_BUILD_ROOT%{_bindir}
|
|
|
|
+pushd $RPM_BUILD_ROOT%{_qt4_bindir}
|
|
mv assistant_adp ../../../bin/
|
|
mv assistant_adp ../../../bin/
|
|
ln -s ../../../bin/assistant_adp .
|
|
ln -s ../../../bin/assistant_adp .
|
|
popd
|
|
popd
|
|
|
|
|
|
# _debug target (see bug #196513)
|
|
# _debug target (see bug #196513)
|
|
-pushd %{buildroot}%{_qt4_libdir}
|
|
|
|
|
|
+pushd $RPM_BUILD_ROOT%{_qt4_libdir}
|
|
echo "INPUT(-lQtAssistantClient)" >libQtAssistantClient_debug.so
|
|
echo "INPUT(-lQtAssistantClient)" >libQtAssistantClient_debug.so
|
|
popd
|
|
popd
|
|
|
|
|
|
@@ -115,11 +113,8 @@ popd
|
|
|
|
|
|
%find_lang assistant_adp --with-qt --without-mo
|
|
%find_lang assistant_adp --with-qt --without-mo
|
|
|
|
|
|
-mkdir -p $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
-mv $RPM_BUILD_ROOT%{_qt4_libdir}/pkgconfig $RPM_BUILD_ROOT%{_libdir}
|
|
|
|
-
|
|
|
|
%clean
|
|
%clean
|
|
-rm -rf %{buildroot}
|
|
|
|
|
|
+rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
%post -p /sbin/ldconfig
|
|
@@ -144,6 +139,9 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Jan 07 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.3-5
|
|
|
|
+- rebuilt with qt-4.8.0
|
|
|
|
+
|
|
* Sat Apr 09 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.3-4
|
|
* Sat Apr 09 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.6.3-4
|
|
- fixed BR
|
|
- fixed BR
|
|
|
|
|