home:Lazy_Kent:branches:openSUSE:Factory:Contrib/pidgin-bot-sentry -> 
openSUSE:Factory:Contrib/pidgin-bot-sentry


   https://build.opensuse.org/request/show/95288

   Description: fixed build in Factory

changes files:
--------------
--- pidgin-bot-sentry.changes
+++ pidgin-bot-sentry.changes
@@ -1,0 +2,12 @@
+Sat Dec  3 20:30:04 UTC 2011 - [email protected]
+
+- Build requires libtool.
+- Requires pidgin.
+- Build doesn't require fdupes.
+- Corrected License tag 
+- Use full URL as a source.
+- Removed check for obsolete versions of openSUSE.
+- Doesn't require lang_package (recommends).
+- Spec clean up.
+
+-------------------------------------------------------------------

old:
----
  ready

spec files:
-----------
--- pidgin-bot-sentry.spec
+++ pidgin-bot-sentry.spec
@@ -1,7 +1,7 @@
 #
-# spec file for package pidgin-bot-sentry (Version 1.3.0)
+# spec file for package pidgin-bot-sentry
 #
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -15,26 +15,23 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
+# sname means s[ource]name
+%define sname   bot-sentry
 
 Name:           pidgin-bot-sentry
-%define _name bot-sentry
 Version:        1.3.0
-Release:        2
-License:        GPL v2 or later
-Group:          Productivity/Networking/Instant Messenger
+Release:        0
+License:        GPL-2.0+
 Summary:        Pidgin Plug-in to Prevent Instant Message Spam
 Url:            http://sourceforge.net/projects/pidgin-bs/
-Source:         %{_name}-%{version}.tar.bz2
-Patch:          pidgin-bs-no.patch
-# Existed before 10.3:
-Obsoletes:      gaim-bs
-# Existed between 10.2 and 10.3 in Build Service:
-Provides:       pidgin-bs
-Obsoletes:      pidgin-bs
-Requires:       %{name}-lang = %{version}
-BuildRequires:  fdupes intltool libpurple-devel
+Group:          Productivity/Networking/Instant Messenger
+Source0:        
http://downloads.sourceforge.net/pidgin-bs/%{sname}-%{version}.tar.bz2
+Patch0:         pidgin-bs-no.patch
+BuildRequires:  intltool
+BuildRequires:  libpurple-devel
+BuildRequires:  libtool
+Requires:       pidgin
+Recommends:     %{name}-lang = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -43,67 +40,28 @@
 Buddy List or Allow List, or the sender correctly answers a question
 you have predefined.
 
-
-
-Authors:
---------
-    David Everly <[email protected]>
-
 %lang_package
+
 %prep
-%setup -q -n %{_name}-%{version}
-%patch
+%setup -q -n %{sname}-%{version}
+%patch0
 mv -i po/no.po po/nb.po
 
 %build
-%if %suse_version >= 1030
 autoreconf -f -i
-%endif
 %configure
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-%makeinstall
-rm $RPM_BUILD_ROOT/%{_libdir}/*/*.la
-%find_lang %{_name}
-%fdupes $RPM_BUILD_ROOT
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%make_install
+rm %{buildroot}/%{_libdir}/purple-?/*.la
+%find_lang %{sname}
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING NEWS README
-%{_libdir}/purple-2/*.so
+%{_libdir}/purple-?/*.so
 
-%files lang -f %{_name}.lang
+%files lang -f %{sname}.lang
 
 %changelog
-* Mon Sep 15 2008 [email protected]
-- Removed superfluous --libdir.
-* Thu Sep 04 2008 [email protected]
-- Updated to version 1.3.0:
-  * smart handling of auth requests.
-  * partial disabling of challenge by keeping setup blank
-  * translation updates
-  * UI improvements
-  * better support for the latest pidgin
-* Wed Oct 24 2007 [email protected]
-- Do not call (too old) autoconf in older SuSE versions.
-* Tue Aug 07 2007 [email protected]
-- Use %%fdupes
-- Split off a -lang subpackage.
-* Thu Jul 26 2007 [email protected]
-- Package renamed to pidgin-bot-sentry (bot-sentry in upstream).
-- Updated to version 1.1.0:
-  * adds support for enabling/disabling for individual accounts
-  * bug fixes, improvements and translation updates
-* Mon May 28 2007 [email protected]
-- Package renamed to pidgin-bs and updated to version 1.0.0:
-  * Support for pidgin.
-  * Automatically change any conflicting settings found in the
-  Psychic plugin.
-* Tue Dec 26 2006 [email protected]
-- Move to /usr.
-* Mon Sep 04 2006 [email protected]
-- New SuSE package, version 0.10.0 (#183858).

other changes:
--------------

++++++ deleted files:
--- ready


To REVIEW against the previous version:
   osc request show --diff 95288

To ACCEPT the request:
   osc request accept 95288 --message="reviewed ok."
   
To DECLINE the request:
   osc request decline 95288 --message="declined for reason xyz (see ... for 
background / policy / ...)."

To REVOKE the request:
   osc request revoke 95288 --message="retracted because ..., sorry / thx / see 
better version ..."
-- 
Hermes messaging (http://hermes.opensuse.org)
openSUSE Build Service (https://build.opensuse.org/)
Collaboration: http://en.opensuse.org/Build_Service/Collaboration

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to