Hello,
Here's my submission for a new package: licq, IMHO the best
IM
program available for Linux, much better than gaim.
The URL to the SRPM is:
http://www.durval.com.br/RPMS/el4/licq/licq-1.
3.2-4dm1.el4.src.rpm
I've attached the .spec file.
PS: I've tested only the main package
(licq-1.3.2-4dm1.el4.i386.rpm);
I've not tested the KDE (licq-kde-1.3.2-4dm1.el4.i386.rpm)
nor the OSD
(licq-osd-1.3.2-4dm1.el4.i386.rpm) packages, as I have no
use for either.
Best Regards,
--
Durval Menezes (durval AT tmp DOT com DOT br, http://www.tmp.com.br/)
Name: licq
Version: 1.3.2
Release: 4dm1.el4
License: GPL
Source: http:/
/prdownloads.sourceforge.net/licq/licq-%.tar.bz
2
URL: http://www.licq.org/
Summary: Licq - A graphical ICQ Client for Linux
Group: Applications/Internet
Packager: Durval Menezes <durval AT tmp DOT com DOT
br> based on the original Fedora Core 4 Extras SRPM
BuildRoot:
%/%-%-%-root-%(%
-n)
BuildRequires: qt-devel
BuildRequires: gpgme-devel libgpg-error-devel
BuildRequires: openssl-devel
BuildRequires: desktop-file-utils
Patch1: licq-1.3.2-gcc-4_1-patch
Patch2: licq-1.3.2-libdir.patch
Patch3: licq-1.3.2-auto_version.patch
%package kde
Summary: Licq plugin for KDE
Group: Applications/Internet
Requires: %name = %version-%release
BuildRequires: kdelibs-devel
%package osd
Summary: OSD (On Screen Display) plugin for Licq
Group: Applications/Internet
Requires: %name = %version-%release
BuildRequires: xosd-devel
%description
Licq is a ICQ Client for the common ICQ network. It provides
a graphical
user interface based on QT and is enhanceable with many
powerful plugins.
For more information visit Licq's Homepage http://www.licq.org
%description kde
This is the KDE based GUI plugin for Licq.
To run this plugin, you will have to
issue the command "licq -p kde-gui"
%description osd
This is a small plugin, which uses libxosd2 to
display new arriving messages as OSD (On Screen Display)
text on your desktop.
%prep
%setup -q
%patch1 -p1 -b .gcc-4_1
%patch2 -p1 -b .libdir
%patch3 -p1 -b .auto_version
#remove cvs stuff
rm -rf `find . -name CVS`
%build
export PATH=/usr/lib/qt-3.3/bin:$PATH
%configure --with-qt-includes=/usr/lib/qt-3.3/include
make
cd plugins
cp -r qt-gui kde-gui
cd kde-gui
aclocal
automake
perl am_edit {src/,share/,po/}Makefile.in
autoconf
export KDEDIR=/usr/%_lib
%configure --with-kde --libdir=%/licq
make
cd ../qt-gui
aclocal
automake
perl am_edit {src/,share/,po/}Makefile.in
autoconf
%configure --libdir=%/licq
make
#create Qt qm files
cd po
lrelease *.ts
cd ../../osd
rm -rf autom4te.cache
./build
%configure --libdir=%/licq
make
%install
rm -rf $RPM_BUILD_ROOT
export DESTDIR="$RPM_BUILD_ROOT"
make install
cd plugins/qt-gui
desktop-file-install --vendor fedora
\
--dir $%/applications
\
--add-category X-Fedora
\
share/licq.desktop
make install
%find_lang licq
cd ../kde-gui
make install
cd ../osd
make install
%find_lang licq_osd_plugin
#remove devel
rm -rf $RPM_BUILD_ROOT/%/licq
rm -rf $RPM_BUILD_ROOT/%/licq/*.la
#remove licq.desktop installed by makefile
rm -f
$RPM_BUILD_ROOT/%/share/applnk/Internet/licq.deskto
p
%clean
rm -rf $RPM_BUILD_ROOT
%files -f plugins/qt-gui/licq.lang
%defattr(-,root,root)
%/licq
%/viewurl-lynx.sh
%/viewurl-mozilla.sh
%/viewurl-ncftp.sh
%/viewurl-netscape.sh
%/viewurl-opera.sh
%/viewurl-w3m.sh
%dir %/licq
%/licq/licq_qt-gui.so
%/licq
%lang(bg) %/licq/qt-gui/locale/bg_BG.qm
%lang(cs) %/licq/qt-gui/locale/cs_CZ.qm
%lang(cs) %/licq/qt-gui/locale/cs.qm
%lang(de) %/licq/qt-gui/locale/de.qm
%lang(es) %/licq/qt-gui/locale/es.qm
%lang(fi) %/licq/qt-gui/locale/fi.qm
%lang(fr) %/licq/qt-gui/locale/fr.qm
%lang(hu) %/licq/qt-gui/locale/hu_HU.qm
%lang(it) %/licq/qt-gui/locale/it.qm
%lang(ja) %/licq/qt-gui/locale/ja_JP.eucJP.qm
%lang(pl) %/licq/qt-gui/locale/pl.qm
%lang(pt) %/licq/qt-gui/locale/pt_BR.qm
%lang(pt) %/licq/qt-gui/locale/pt.qm
%lang(ru) %/licq/qt-gui/locale/ru.qm
%lang(sr) %/licq/qt-gui/locale/sr.qm
%lang(sv) %/licq/qt-gui/locale/sv.qm
%lang(tr) %/licq/qt-gui/locale/tr.qm
%lang(uk) %/licq/qt-gui/locale/uk.qm
%/applications/fedora-licq.desktop
%doc doc/ upgrade/ ChangeLog README* LICENSE
%files kde
%defattr(-,root,root)
%/licq/licq_kde-gui.so
%doc plugins/kde-gui/README.KDE
%files osd -f plugins/osd/licq_osd_plugin.lang
%defattr(-,root,root)
%/licq/licq_osd.so
%doc plugins/osd*/{AUTHORS,TODO,README,changelog}
%changelog
*Tue May 23 2006 Durval Menezes <durval AT tmp DOT com
DOT br> 1.3.2-4dm1.el4
- adapted for CentOS/RHEL4
* Mon Jan 16 2006 Peter Vrabec <pvrabec redhat.com> 1.3.2-4
- compile on x86-64
* Thu Jan 12 2006 Peter Vrabec <pvrabec redhat.com> 1.3.2-3
- remove devel stuff with rm -rf
* Thu Jan 12 2006 Peter Vrabec <pvrabec redhat.com> 1.3.2-2
- compile with gcc-4.1.0
* Wed Nov 23 2005 Peter Vrabec <pvrabec redhat.com> 1.3.2-1
- initial package
_______________________________________________
CentOS-devel mailing list
CentOS-devel centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
|