File gnomeicu.spec of Package gnomeicu
#
# spec file for package gnomeicu
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnomeicu
BuildRequires: fdupes gdbm-devel gnome-common gnome-panel-devel gtkspell-devel intltool libglade2-devel scrollkeeper translation-update-upstream update-desktop-files
BuildConflicts: dante-devel
Summary: An ICQ Clone for the GNOME Desktop
Version: 0.99.14
Release: 120
License: GPLv2+
Group: Productivity/Networking/ICQ
Url: http://gnomeicu.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: %{name}-lang
%gconf_schemas_prereq
%description
GnomeICU (previously GtkICQ) is an Internet-based communications
program that uses the ICQ protocol. GnomeICU also uses GNOME, a
growingly popular desktop environment. GnomeICU is released under the
GNU Public License and is available free of charge.
This package also uses Gnet, a network library, which is included. Gnet
is a simple network library. It is written in C, object oriented, and
built on GLib. It is intended to be small, fast, easy to use, and easy
to port.
Authors:
--------
Jeremy Wise <jwise@pathwaynet.com>
%lang_package
%prep
%setup -q
translation-update-upstream
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure --disable-static --with-pic \
--disable-schemas-install\
--disable-scrollkeeker\
--enable-gtkspell\
--enable-applet
make %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file -G "ICQ Instant Messenger" -N "GnomeICU" GnomeICU
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name} %{?no_lang_C}
%find_gconf_schemas
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%if 0%{?suse_version} > 1130
%post
%desktop_database_post
%endif
%if 0%{?suse_version} > 1130
%postun
%desktop_database_postun
%endif
%files -f %{name}.schemas_list
%defattr(-,root,root)
%doc AUTHORS COPYING CREDITS ChangeLog HACKING MAINTAINERS NEWS README README.SOCKS TODO
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%{_datadir}/applications/*.desktop
%{_datadir}/gnome-2.0/ui/GNOME_GnomeICUApplet.xml
%{_datadir}/gnomeicu/
%{_datadir}/pixmaps/*.png
%{_datadir}/sounds/gnomeicu/
%{_bindir}/*
%{_libdir}/bonobo/servers/GNOME_GnomeICUApplet.server
%{_libexecdir}/gnomeicu-applet
%config %{_sysconfdir}/sound/events/GnomeICU.soundlist
%files lang -f %{name}.lang
%changelog