rpms/gaim-gadugadu/devel gaim-gadugadu.spec, NONE, 1.1 gaim2-PIE.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Piotr DrÄg (raven) fedora-extras-commits at redhat.com
Thu Sep 14 20:53:27 UTC 2006


Author: raven

Update of /cvs/extras/rpms/gaim-gadugadu/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20793/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gaim-gadugadu.spec gaim2-PIE.patch 
Log Message:
auto-import gaim-gadugadu-2.0.0-0.11.beta3 on branch devel from gaim-gadugadu-2.0.0-0.11.beta3.src.rpm


--- NEW FILE gaim-gadugadu.spec ---
# Prerelease define
%define betaver	beta3

Name:		gaim-gadugadu
Version:	2.0.0
Release:	0.11.%{betaver}%{?dist}
Summary:	Gadu-Gadu support for Gaim instant messaging client
Summary(pl):	Obsługa protokołu Gadu-Gadu dla komunikatora Gaim

License:	GPL
Group:		Applications/Internet
URL:		http://gaim.sourceforge.net/
Source0:	http://download.sourceforge.net/gaim/gaim-%{version}%{betaver}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Epoch:		2
Patch1:		gaim2-PIE.patch

Requires:       gaim = %{version}-%{release}
BuildRequires:	glib2-devel
BuildRequires:	gtk2-devel
BuildRequires:	intltool
BuildRequires:	libgadu-devel


%description
This package allows you to use Gadu-Gadu protocol in Gaim
instant messaging client.

Gaim is NOT affiliated with or endorsed by America Online, Inc., 
Microsoft Corporation, or Yahoo! Inc. or other messaging service 
providers.

%description -l pl
Ten pakiet umożliwia używanie protokołu Gadu-Gadu w komunikatorze Gaim.


%prep
%setup -q -n gaim-%{version}%{betaver}
%patch1 -p1

# Relabel internal version for support purposes
sed -i "s/%{version}%{betaver}/%{version}-%{release}/g" configure
chmod 755 configure


%build
# FC5+ automatic -fstack-protector-all switch
export RPM_OPT_FLAGS=${RPM_OPT_FLAGS//-fstack-protector/-fstack-protector-all}
export CFLAGS="$RPM_OPT_FLAGS"

%configure --disable-gtktest --disable-perl --disable-tcl --disable-tk --disable-gtkspell --disable-fortify --disable-screensaver --disable-sm --disable-startup-notification --disable-gevolution --without-howl --without-silc --without-tclconfig --without-tkconfig --without-krb4 --without-zephyr --without-python --without-dbus --without-gnutls --without-nspr --without-nss --without-ao --without-audiofile 

# smp_mflags breaks the mono plugin
cd src/protocols/gg
make


%install
rm -rf $RPM_BUILD_ROOT
cd src/protocols/gg
make install DESTDIR=$RPM_BUILD_ROOT


%post 
/sbin/ldconfig -n %{_libdir}/gaim


%postun
/sbin/ldconfig -n %{_libdir}/gaim


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_libdir}/gaim/libgg.so
%doc COPYING
%exclude %{_libdir}/gaim/libgg.la


%changelog
* Wed Sep 13 2006 Piotr DrÄ…g <raven at pmail dot pl> - 2:2.0.0-0.11.beta3
- Fixed %%changelog
- Added COPYING

* Fri Jul 28 2006 Piotr DrÄ…g <raven at pmail dot pl> - 2:2.0.0-0.8.beta3
- Rewritten spec as suggested by Michał Bentkowski

* Fri Jul 21 2006 Piotr DrÄ…g <raven at pmail dot pl> - 2:2.0.0-0.7.beta3
- Initial RPM release

gaim2-PIE.patch:

--- NEW FILE gaim2-PIE.patch ---
--- gaim-2.0.0beta1/src/Makefile.in.BAD	2006-01-17 15:38:08.000000000 -0600
+++ gaim-2.0.0beta1/src/Makefile.in	2006-01-17 15:38:39.000000000 -0600
@@ -140,13 +140,13 @@
 depcomp = $(SHELL) $(top_srcdir)/depcomp
 am__depfiles_maybe = depfiles
 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
-	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -fPIE
 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
 	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
-	$(AM_CFLAGS) $(CFLAGS)
+	$(AM_CFLAGS) $(CFLAGS) -fPIE
 CCLD = $(CC)
 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
-	$(AM_LDFLAGS) $(LDFLAGS) -o $@
+	$(AM_LDFLAGS) $(LDFLAGS) -o $@ -pie
 SOURCES = $(libgaim_client_la_SOURCES) $(gaim_SOURCES) \
 	$(gaim_client_example_SOURCES)
 DIST_SOURCES = $(am__libgaim_client_la_SOURCES_DIST) \


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/gaim-gadugadu/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Sep 2006 20:51:15 -0000	1.1
+++ .cvsignore	14 Sep 2006 20:53:27 -0000	1.2
@@ -0,0 +1 @@
+gaim-2.0.0beta3.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/gaim-gadugadu/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Sep 2006 20:51:15 -0000	1.1
+++ sources	14 Sep 2006 20:53:27 -0000	1.2
@@ -0,0 +1 @@
+c077655e4dd251cf22c406777c985a74  gaim-2.0.0beta3.tar.bz2




More information about the fedora-extras-commits mailing list