/pidgin/main: bcf28978c4b2: Remove our pidgin.spec.in.
Mark Doliner
mark at kingant.net
Mon Feb 3 00:34:22 EST 2014
Changeset: bcf28978c4b2bf1e085addef371e70f05e7f18a9
Author: Mark Doliner <mark at kingant.net>
Date: 2014-02-02 21:34 -0800
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/bcf28978c4b2
Description:
Remove our pidgin.spec.in.
I have reasons for not liking this file. For starters I suspect not many
people use it and I'd prefer that we not need to maintain it.
But also I feel like spec files tend to be distro-specific. I feel like
rpm-based distros have their own spec file, and the maintainers of that
spec are more familiar with spec files and will do a better job than us.
diffstat:
.hgignore | 1 -
Makefile.am | 4 +-
configure.ac | 1 -
pidgin.spec.in | 671 ---------------------------------------------------------
4 files changed, 1 insertions(+), 676 deletions(-)
diffs (truncated from 718 to 300 lines):
diff --git a/.hgignore b/.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -93,7 +93,6 @@ pidgin-.*.tar.gz
pidgin.apspec$
pidgin.desktop$
pidgin.desktop.in$
-pidgin.spec$
pidgin/.*\.html\.h$
pidgin/pidgin$
pidgin/pixmaps/emotes/default/24/theme
diff --git a/Makefile.am b/Makefile.am
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,15 +16,13 @@ EXTRA_DIST = \
intltool-update.in \
package_revision.h \
pidgin.apspec.in \
- pidgin.spec.in \
pidgin.desktop.in \
po/Makefile.mingw \
valgrind-suppressions
noinst_HEADERS = config.h package_revision.h
-dist-hook: pidgin.spec
- cp pidgin.spec $(distdir)
+dist-hook:
rm $(distdir)/config.h
distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -2993,7 +2993,6 @@ AC_CONFIG_FILES([Makefile
finch/plugins/Makefile
po/Makefile.in
pidgin.desktop.in
- pidgin.spec
])
AC_OUTPUT
diff --git a/pidgin.spec.in b/pidgin.spec.in
deleted file mode 100644
--- a/pidgin.spec.in
+++ /dev/null
@@ -1,671 +0,0 @@
-# Older RPM doesn't define these by default
-%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
-%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
-%{!?perl_archlib: %define perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)}
-
-# When not doing betas comment this out
-# NOTE: %defines in spec files are evaluated in comments so the correct
-# way to comment it out is to replace the % with #
-#define beta 7
-
-%if 0%{?beta}
-%define pidginver %(echo "@VERSION@"|sed -e 's/dev.*//; s/beta.*//')
-%else
-%define pidginver @VERSION@
-%endif
-
-# define the minimum API version required, so we can use it for plugin deps
-%define apiver %(echo "@VERSION@"|awk -F. '{print $1"."$2}')
-
-Summary: A GTK+ based multiprotocol instant messaging client
-Name: @PACKAGE@
-Version: %pidginver
-Release: 0%{?beta:.beta%{beta}}
-License: GPL
-Group: Applications/Internet
-URL: https://pidgin.im/
-Source: %{name}- at VERSION@.tar.bz2
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-
-# Generic build requirements
-BuildRequires: libtool, pkgconfig, intltool, gettext, libxml2-devel
-BuildRequires: gtk2-devel, libidn-devel
-
-%{!?_without_startupnotification:BuildRequires: startup-notification-devel}
-%{?_with_avahi:BuildRequires: avahi-glib-devel}
-%{!?_without_gtkspell:BuildRequires: gtkspell-devel}
-%{?_with_meanwhile:BuildRequires: meanwhile-devel}
-%{?_with_mono:BuildRequires: mono-devel}
-%{?_with_sasl:BuildRequires: cyrus-sasl-devel >= 2}
-%{!?_without_silc:BuildRequires: /usr/include/silc/silcclient.h}
-%{!?_without_tcl:BuildRequires: tcl, tk, /usr/include/tcl.h}
-%{!?_without_text:BuildRequires: ncurses-devel}
-%{!?_without_nm:BuildRequires: NetworkManager-devel}
-%{!?_without_gevolution:BuildRequires: evolution-data-server-devel}
-
-%if "%{_vendor}" == "suse"
-# For SuSE:
-BuildRequires: gnutls-devel
-%define sslopts --enable-gnutls=yes --enable-nss=no
-%{?_with_dbus:BuildRequires: dbus-1-devel >= 0.35}
-%{!?_without_gstreamer:BuildRequires: gstreamer010-devel >= 0.10}
-Requires(pre): gconf2
-Requires(post): gconf2
-Requires(preun): gconf2
-%else
-%define sslopts --enable-gnutls=no --enable-nss=yes
-%{?_with_dbus:BuildRequires: dbus-devel >= 0.35}
-%{!?_without_gstreamer:BuildRequires: gstreamer-devel >= 0.10}
-Requires(pre): GConf2
-Requires(post): GConf2
-Requires(preun): GConf2
-%endif
-
-# Mandrake 10.1 and lower || Mandrake 10.2 (and higher?)
-%if "%{_vendor}" == "MandrakeSoft" || "%{_vendor}" == "Mandrakesoft" || "%{_vendor}" == "Mandriva"
-# For Mandrake/Mandriva:
-BuildRequires: libnss3-devel, perl-devel
-Obsoletes: libgaim-remote0
-%{!?_without_modularx:BuildRequires: libsm-devel, libxscrnsaver-devel}
-%else
-# For !Mandriva
-%{!?_without_modularx:BuildRequires: libSM-devel, libXScrnSaver-devel}
-# For SuSE, Red Hat, Fedora and others:
-%if "%{_vendor}" != "suse"
-# For Red Hat, Fedora and others:
-# let's assume RH & FC1 are the only brain-dead distros missing the
-# perl-XML-Parser dependency on intltool and that other RH/FC releases
-# don't care if we specify it here
-BuildRequires: perl-XML-Parser
-BuildRequires: mozilla-nss-devel
-%endif
-%endif
-
-# For some reason perl isn't always automatically detected as a requirement :(
-Requires: perl
-
-Requires: libpurple = %{version}
-
-Obsoletes: gaim
-Provides: gaim
-Obsoletes: pidgin-perl < %{version}
-Provides: pidgin-perl = %{version}-%{release}
-
-%package devel
-Summary: Development headers, documentation, and libraries for Pidgin
-Group: Applications/Internet
-Requires: pidgin = %{version}, libpurple-devel = %{version}
-Requires: gtk2-devel
-Requires: pkgconfig
-Obsoletes: gaim-devel
-Provides: gaim-devel
-
-%package -n libpurple
-Summary: libpurple library for IM clients like Pidgin and Finch
-Group: Applications/Internet
-Obsoletes: gaim-silc
-Obsoletes: gaim-tcl
-Obsoletes: gaim-gadugadu
-Obsoletes: pidgin-tcl < 2.0.0
-Obsoletes: pidgin-silc < 2.0.0
-Obsoletes: libpurple-perl < %{version}
-Provides: libpurple-perl = %{version}-%{release}
-%{?_with_sasl:Requires: cyrus-sasl-plain, cyrus-sasl-md5}
-
-%package -n libpurple-devel
-Summary: Development headers, documentation, and libraries for libpurple
-Group: Applications/Internet
-Requires: libpurple = %{version}
-Requires: pkgconfig
-%if "%{_vendor}" == "suse"
-# For SuSE:
-%{?_with_dbus:Requires: dbus-1-devel >= 0.35}
-%else
-%{?_with_dbus:Requires: dbus-devel >= 0.35}
-%endif
-
-%if 0%{?_with_avahi:1}
-%package -n libpurple-bonjour
-Summary: Bonjour plugin for Pidgin
-Group: Applications/Internet
-Requires: libpurple >= %{apiver}
-%endif
-
-%if 0%{?_with_meanwhile:1}
-%package -n libpurple-meanwhile
-Summary: Lotus Sametime plugin for Pidgin using the Meanwhile library
-Group: Applications/Internet
-Requires: libpurple >= %{apiver}
-%endif
-
-%if 0%{?_with_mono:1}
-%package -n libpurple-mono
-Summary: Mono .NET plugin support for Pidgin
-Group: Applications/Internet
-Requires: libpurple >= %{apiver}
-%endif
-
-%if 0%{!?_without_text:1}
-%package -n finch
-Summary: A text-based user interface for Pidgin
-Group: Applications/Internet
-Requires: libpurple = %{version}
-
-%package -n finch-devel
-Summary: Headers etc. for finch stuffs
-Group: Applications/Internet
-Requires: finch = %{version}, libpurple-devel = %{version}
-Requires: ncurses-devel
-Requires: pkgconfig
-%endif
-
-%description
-Pidgin allows you to talk to anyone using a variety of messaging
-protocols including AIM, MSN, Yahoo!, XMPP, Bonjour, Gadu-Gadu,
-ICQ, IRC, Novell Groupwise, QQ, Lotus Sametime, SILC, Simple and
-Zephyr. These protocols are implemented using a modular, easy to
-use design. To use a protocol, just add an account using the
-account editor.
-
-Pidgin supports many common features of other clients, as well as many
-unique features, such as perl scripting, TCL scripting and C plugins.
-
-Pidgin is not affiliated with or endorsed by America Online, Inc.,
-Microsoft Corporation, Yahoo! Inc., or ICQ Inc.
-
-%description devel
-The pidgin-devel package contains the header files, developer
-documentation, and libraries required for development of Pidgin scripts
-and plugins.
-
-%description -n libpurple
-libpurple contains the core IM support for IM clients such as Pidgin
-and Finch.
-
-libpurple supports a variety of messaging protocols including AIM, MSN,
-Yahoo!, XMPP, Bonjour, Gadu-Gadu, ICQ, IRC, Novell Groupwise, QQ,
-Lotus Sametime, SILC, Simple and Zephyr.
-
-%description -n libpurple-devel
-The libpurple-devel package contains the header files, developer
-documentation, and libraries required for development of libpurple based
-instant messaging clients or plugins for any libpurple based client.
-
-%if 0%{?_with_avahi:1}
-%description -n libpurple-bonjour
-Bonjour plugin for Pidgin.
-%endif
-
-%if 0%{?_with_meanwhile:1}
-%description -n libpurple-meanwhile
-Lotus Sametime plugin for Pidgin using the Meanwhile library.
-%endif
-
-%if 0%{?_with_mono:1}
-%description -n libpurple-mono
-Mono plugin loader for Pidgin. This package will allow you to write or
-use Pidgin plugins written in the .NET programming language.
-%endif
-
-%if 0%{!?_without_text:1}
-%description -n finch
-A text-based user interface for using libpurple. This can be run from a
-standard text console or from a terminal within X Windows. It
-uses ncurses and our homegrown gnt library for drawing windows
-and text.
-
-%description -n finch-devel
-The finch-devel package contains the header files, developer
-documentation, and libraries required for development of Finch scripts
-and plugins.
-%endif
-
-%prep
-%setup -q -n %{name}- at VERSION@
-
-%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
- --bindir=%{_bindir} \
- --datadir=%{_datadir} \
- --includedir=%{_includedir} \
- --libdir=%{_libdir} \
- --mandir=%{_mandir} \
- --sysconfdir=%{_sysconfdir} \
- --disable-schemas-install \
- %{sslopts} \
- %{!?_with_vv:--disable-vv} \
- %{!?_with_dbus:--disable-dbus} \
- %{!?_with_avahi:--disable-avahi} \
- %{!?_with_meanwhile:--disable-meanwhile} \
- %{?_without_gstreamer:--disable-gstreamer} \
- %{?_without_gtkspell:--disable-gtkspell} \
- %{?_without_nm:--disable-nm} \
- %{!?_without_gevolution:--enable-gevolution} \
- %{?_with_mono:--enable-mono} \
- %{?_with_sasl:--enable-cyrus-sasl} \
- %{?_without_tcl:--disable-tcl} \
- %{?_without_text:--disable-consoleui} \
- %{?_with_trayiconcompat:--enable-trayicon-compat}
-
-make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
-
-%install
-rm -rf %{buildroot}
More information about the Commits
mailing list