rpms/pidgin-knotify/FC-6 pidgin-knotify-make.patch, NONE, 1.1 pidgin-knotify.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Kelly Miller (nixaff4) fedora-extras-commits at redhat.com
Thu Aug 9 10:54:37 UTC 2007


Author: nixaff4

Update of /cvs/extras/rpms/pidgin-knotify/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22551/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	pidgin-knotify-make.patch pidgin-knotify.spec 
Log Message:
Uploading package to system.


pidgin-knotify-make.patch:

--- NEW FILE pidgin-knotify-make.patch ---
--- pidgin-knotify-0.1/Makefile.orig	2007-07-22 19:07:25.000000000 -0400
+++ pidgin-knotify-0.1/Makefile	2007-08-07 17:35:40.000000000 -0400
@@ -1,9 +1,11 @@
-CFLAGS =  -g -Wall
+CFLAGS =  $(RPM_OPT_FLAGS) -fPIC
 CC = gcc
-CP = /bin/cp
+CP = /bin/cp -a
+MKDIR = mkdir -p
 
 knotify-plugin.so: knotify-plugin.c
 	$(CC) -o knotify-plugin.so -shared knotify-plugin.c `pkg-config pidgin --cflags --libs` $(CFLAGS)
 	
 install:
-	$(CP) knotify-plugin.so /usr/local/lib/pidgin
\ No newline at end of file
+	$(MKDIR) $(DESTDIR)$(PIDGINDIR)
+	$(CP) knotify-plugin.so $(DESTDIR)$(PIDGINDIR)


--- NEW FILE pidgin-knotify.spec ---
%define pidgin_install %{_libdir}/pidgin

Name:           pidgin-knotify
Version:        0.1
Release:        5%{?dist}
Summary:        KNotify plugin for Pidgin

Group:          Applications/Internet
License:        LGPLv2
URL:            http://www.codeincarnate.com/
Source0:        http://www.codeincarnate.com/knotify-plugin_0.1.tar.gz
Patch0:		pidgin-knotify-make.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  kdelibs >= 3.0.0, pidgin-devel, glib-devel, pkgconfig
Requires:       pidgin


%description
Pidgin-KNotify is a plugin for Pidgin that uses KNotify to do notifications.
This is for those who prefer to use Pidgin on KDE and wish for Pidgin to be
more integrated with KDE.


%prep
%setup -q -c
%patch0 -p1 -b .orig


%build
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT PIDGINDIR=%{pidgin_install}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{pidgin_install}/*.so


%changelog
* Tue Aug 7 2007 Kelly Miller <lightsolphoenix at gmail.com> 0.1-5
- Adjusted the patch to add the default RPM optflags to the compiler output.

* Mon Aug 6 2007 Kelly Miller <lightsolphoenix at gmail.com> 0.1-4
- Changed the hard-coded /usr/lib to use the libdir macro instead.

* Sun Aug 5 2007 Kelly Miller <lightsolphoenix at gmail.com> 0.1-3
- Added a fix for x86_64 to the Makefile patch.
- Adjusted the description to be a little more friendly.
- Changed the license name as per new Fedora regulations.

* Mon Jul 23 2007 Kellyy Miller <lightsolphoenix at gmail.com> 0.1-2
- Added pkgconfig as a dependency

* Mon Jul 23 2007 Kelly Miller <lightsolphoenix at gmail.com> 0.1-1
- Initial RPM release

Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/pidgin-knotify/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Aug 2007 03:17:04 -0000	1.1
+++ .cvsignore	9 Aug 2007 10:54:05 -0000	1.2
@@ -0,0 +1 @@
+knotify-plugin_0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pidgin-knotify/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Aug 2007 03:17:04 -0000	1.1
+++ sources	9 Aug 2007 10:54:05 -0000	1.2
@@ -0,0 +1 @@
+00c9a07cbe529e1375d2dc5ad7a3b1fb  knotify-plugin_0.1.tar.gz




More information about the fedora-extras-commits mailing list