Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > a3f7b3c84a3d0cf447dd37db673beb8f > files > 5

gtk+licq-0.51-5mdk.src.rpm

%define gtkguiversion 0.51
%define name gtk+licq
# defines what this version of the plugin requires what version of licq to bb
%define builtfor 1.0.4
%define release 5mdk
%define prefix %{_prefix}

Name: %{name}
Release: %{release}
Version: %{gtkguiversion}
Source: http://gtk.licq.org/download/gtk+licq-%{version}.tar.bz2
Patch: gtk+licq-0.39.1-missinginclude.patch.bz2
Patch1: gtk+licq-0.51-orbitfix.patch.bz2
Patch2: gtk+licq-0.51-autoconf.patch.bz2
Group: Networking/Instant messaging
URL: http://gtk.licq.org
License: GPL
BuildRoot: %{_tmppath}/%{name}-buildroot
Requires: licq >= %{builtfor} gtk+ >= 1.2.0 
BuildRequires: licq-devel >= %{builtfor} gnome-libs-devel, gtk+-devel >= 1.2.0 sgml-tools
Summary: gtk+licq is a gtk based GUI plugin for Licq
Provides: licq-plugin

%package nognome
Group: Networking/Instant messaging
Summary: gtk+licq without gnome support
Provides: licq-plugin
Requires: gtk+ >= 1.2.0 licq >= %{builtfor} %{name}-base = %{version}

%package base
Group: Networking/Instant messaging
Summary: base files for gtk+licq
Obsoletes: licq-gtk

%description 
This is a gtk based GUI plugin for Licq. This is a plugin based on the QT
plugin which is installed by default. It is extremely well developed and
usable.

Although this plugin is not included in the standard Licq source package, you
should install this if you want another plugin, or you can also install this
if you don't like qt.

Because the Licq qt plugin is started by default, you must issue a 
licq -p gtk_gui if you wish to use the plugin. This only needs to be done once.

Install this if you want to have a gtk-based GUI for Licq. 

Note that this RPM is different from Jon's GTK GUI for Licq.

%description nognome
This is the same plugin as licq-gtk, but this does not have gnome support.

Install this one if you want one without gnome support.

%description base
These are the base, required files for gtk+licq.

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q -n gtk+licq-%{version} 
#%patch -p1
%patch1 -p1 -b .orbitfix
%patch2 -p1 -b .autoconf

%build
perl -pi -e "s/gdk_font_load/gdk_fontset_load/g" src/*
export AUTOM4TE="/usr/bin/autom4te-2.5x"
export AUTOCONF="/usr/bin/autoconf-2.5x"
autoconf-2.5x
%configure2_5x
%make
#ugly hack
cd src/.libs && mv licq_gnome_gui.so ../../blah && cd ../..

make distclean
%configure2_5x --disable-gnome 
%make


%install

mkdir -p $RPM_BUILD_ROOT%{_libdir}/licq
mkdir -p $RPM_BUILD_ROOT%{_datadir}/licq

#yuck.
# FIXME --Geoff
cd src/.libs 
install -m755 licq_gtk_gui.so $RPM_BUILD_ROOT%{_libdir}/licq 
cd ../..
install -m755 blah $RPM_BUILD_ROOT%{prefix}/lib/licq/licq_gnome_gui.so

# install shared pixmaps and icons.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/licq/gtk-gui/{pixmaps,icons}
for i in pixmaps/* ;do
   install -m644 $i $RPM_BUILD_ROOT%{_datadir}/licq/gtk-gui/pixmaps
done
for j in icons/*  ; do
   install -m644 $j $RPM_BUILD_ROOT%{_datadir}/licq/gtk-gui/icons
done

cd po
%makeinstall
cd ..

%{find_lang} %{name}

%clean
rm -rf $RPM_BUILD_ROOT  



# gtk+licq
%files
%defattr(-,root,root)
%{_libdir}/licq/licq_gnome_gui.so

%files nognome
%defattr(-,root,root)
%{_libdir}/licq/licq_gtk_gui.so

%files base -f %{name}.lang
%defattr(-,root,root)
%{_datadir}/licq/gtk-gui
#%{_datadir}/locale/*/LC_MESSAGES/*
%doc ABOUT-NLS README 
%doc AUTHORS 
%doc COPYING ChangeLog 
%doc NEWS 


%changelog
* Fri Jan 15 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.51-5mdk
- Rebuild for 1.0.4.
- Make it build with the latest orbit.

* Tue Oct 02 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.51-4mdk
- Use gdk_fontset_load.
- Add back the locales which were unfortunately lost in space ... :(

* Thu Sep 13 2001 Stefan van der Eijk <stefan@eijk.nu> 0.51-3mdk
- BuildRequires: gnome-libs-devel sgml-tools

* Sat Aug 25 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.51-2mdk
- Sanity build for 8.1.

* Tue Aug 07 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.51-1mdk
- The long awaited new and shiny gtk+licq is finally out.

* Sat May 26 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.50.1-5mdk
- Rebuild against the latest pspell which in turn rebuilds us against
  the latest and shiniest libltdl.so.3.
  
* Wed May 23 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.50.1-4mdk
- Rebuild with %%configure as libtool supports linking against static libraries
  now. :)
  
* Sun Mar 11 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.50.1-3mdk
- Rebuild for new 1.0.3.
- Hack or glib / gtk include path problems.

* Tue Feb 27 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.50.1-2mdk
- Don't use the configure RPM macro for the time being.

* Thu Jan 04 2001 Geoff <snailtalk@mandrakesoft.com> 0.50.1-1mdk
- new and sane source to fix a not_so_new_and_shiny_source.

* Wed Jan 03 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.50-1mdk
- new and shiny source.
- build with our optimization flags.
- fix the broken Makefile trying to link to -lXss.

* Sun Oct 22 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.39.1-1mdk
- shiny new version.
- fake a dependency on Licq 1.0.

* Thu Sep 07 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.39-4mdk
- use the %%find_lang macro. (gc)

* Tue Sep 05 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.39-3mdk
- rebuilt to fix the requires problem.
- a group change.

* Sun Aug 13 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.39-2mdk
- fix the requires

* Wed Aug 09 2000 Geoffrey Lee <snailtalk@linux-mandrake.com> 0.39-1mdk
- readding back of gtk+licq (sorry there was a bit of confusion before
  and it got removed temporarily ...)

* Sat Jul 15 2000 Geoffrey Lee <snailtalk@users.sourceforge.net>
- fix the nognome package (hopefully)
- fix the building of the broken non-gnome package (Mattias)

* Thu Jul 13 2000 Geoffrey Lee <snailtalk@users.sourceforge.net>
- fix some kludges
- gzip source
- one with gnome stuff and one without

* Wed Jul 12 2000 Geoffrey Lee <snailtalk@linux-mandrake.com>
- first rpm from gtk+licq at the request of gtk+licq developers, mail problems
  to the maintainer of this rpm Geoffrey Lee <snailtalk@users.sourceforge.net>


# eof