myriad of little fixes

v3.5.13-sru
Robert Xu 13 years ago
parent e8724f63ec
commit fbc1d62239

@ -5,18 +5,25 @@ if [ "$1" == "" ]; then
VERSION=3.5.12.99
fi
grabDependsTarball()
createTarball()
{
svn export svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/$NAME
mv -v $NAME $NAME-$VERSION
cp -r $NAME $NAME-$VERSION
tar cjf $NAME-$VERSION.tar.bz2 $NAME-$VERSION
rm -rf $NAME-$VERSION
echo "done"
}
grabDepends()
{
svn export svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/$NAME
createTarball
rm -rf $NAME
echo "done"
}
echo "This is for testing locally without services."
echo "I need to know what tarball you want to generate from."
echo "I need to know what you want to generate a tarball for."
echo ""
echo "Version is set to $VERSION. If you want to change it,"
echo "please pass it as a parameter to this script."
echo ""
echo "Let's start off by dependencies, main, or apps."
echo "Which one?"
@ -28,6 +35,8 @@ echo -e "> "
read SELECTION
if [ "$SELECTION" = "1" ]; then
clear
echo "Dependencies: Select what you want us to generate."
echo "(1) libtqt4"
echo "(2) dbus-1-tqt"
echo "(3) libdbus-1-tqt-0"
@ -41,7 +50,7 @@ if [ "$SELECTION" = "1" ]; then
else
echo "Invalid, bye." && exit 1
fi
grabDependsTarball
grabDepends
else
echo "Invalid, bye." && exit 1
fi

@ -67,7 +67,7 @@ Authors:
%package devel
Summary: TQtinterface header files
Group: Graphical Desktop/TDE
Requires: libtqt4
Requires: libtqt4 = %{version}
%if %{with_qt3}
Requires: qt3-devel >= 3.3.8c
%endif
@ -75,7 +75,7 @@ Requires: qt3-devel >= 3.3.8c
Requires: libqt4-devel >= 4.7.0
%endif
%description devel
This package contains Trinity KDE specific window options and commands.
This package contains Trinity specific window options and commands.
You need this package to compile Trinity modules. (TQT headers)
@ -87,12 +87,11 @@ Authors:
    Serghei Amelian <serghei@thel.ro>
%package tools
Summary: TQtinterface library files
%package -n tqtinterface
Summary: Tools to help with TQt
Group: Graphical Desktop/TDE
Requires: libtqt4
%description tools
This package contains Trinity KDE specific window options and commands.
%description -n tqtinterface
This package contains Trinity specific window options and commands.
It includes tools to help you modify and use TQtinterface.
Authors:
@ -154,8 +153,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,755)
%{_libdir}/libtqt.so*
%{_libdir}/libtqassistantclient.so*
%{_libdir}/libtqt.so.*
%{_libdir}/libtqassistantclient.so.*
%files devel
%defattr(-,root,root,755)
@ -163,8 +162,10 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/Qt/q*.h
%{_includedir}/tq*.h
%{_libdir}/pkgconfig/tqt.pc
%{_libdir}/libtqt.so
%{_libdir}/libtqassistantclient.so
%files tools
%files -n tqtinterface
%defattr(-,root,root,755)
%{_bindir}/convert_qt_tqt1
%{_bindir}/convert_qt_tqt2

Loading…
Cancel
Save