SPECS: dotnet-notify-sharp.spec - add monodir patch - rel 1

patrys patrys at pld-linux.org
Fri Jan 30 10:00:27 CET 2009


Author: patrys                       Date: Fri Jan 30 09:00:27 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add monodir patch
- rel 1

---- Files affected:
SPECS:
   dotnet-notify-sharp.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/dotnet-notify-sharp.spec
diff -u SPECS/dotnet-notify-sharp.spec:1.1 SPECS/dotnet-notify-sharp.spec:1.2
--- SPECS/dotnet-notify-sharp.spec:1.1	Mon Oct 20 03:06:32 2008
+++ SPECS/dotnet-notify-sharp.spec	Fri Jan 30 10:00:21 2009
@@ -1,23 +1,23 @@
-Name:		dotnet-notify-sharp
+# $Revision$, $Date$
+%include	/usr/lib/rpm/macros.mono
+
 Summary:	notify-sharp is a C# client implementation for Desktop Notifications
+Name:		dotnet-notify-sharp
 Version:	0.4.0
-Release:	0
+Release:	1
 License:	X11/MIT
+Source0:	notify-sharp-%{version}.tar.gz
+# Source0-md5:	dc8ea18947afb0801320182c81fc55bd
+Patch0:		%{name}-monodir.patch
+Group:		Development/Libraries
 URL:		http://trac.galago-project.org/wiki/DesktopNotifications
 BuildRequires:	dotnet-gtk-sharp-devel
+BuildRequires:	dotnet-ndesk-dbus-glib-sharp
+BuildRequires:	dotnet-ndesk-dbus-sharp
 BuildRequires:	gtk+2-devel
 BuildRequires:	mono-devel
 BuildRequires:	monodoc
-BuildRequires:	dotnet-ndesk-dbus-sharp
-BuildRequires:	dotnet-ndesk-dbus-glib-sharp
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Source0:	notify-sharp-%{version}.tar.gz
-# Source0-md5:	dc8ea18947afb0801320182c81fc55bd
-Group:		Development/Libraries
-
-%package devel
-Summary:	Files required for compilation using notify-sharp
-Group:	Development/Libraries
 
 %description
 notify-sharp is a C# client implementation for Desktop Notifications,
@@ -29,15 +29,20 @@
 that they must close. Passive popups can automatically disappear after
 a short period of time.
 
+%package devel
+Summary:	Files required for compilation using notify-sharp
+Group:		Development/Libraries
+
 %description devel
 Files required for compilation using notify-sharp.
 
 %prep
 %setup -q -n notify-sharp-%{version}
+%patch0 -p1
 
 %build
 %configure \
-	--disable-docs \
+	--disable-docs
 
 %{__make}
 
@@ -45,7 +50,6 @@
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/%_lib/pkgconfig
 
 %clean
 rm -rf "$RPM_BUILD_ROOT"
@@ -56,8 +60,9 @@
 %{_prefix}/lib/mono/gac/notify-sharp/*
 
 %files devel
+%defattr(644,root,root,755)
 %dir %{_prefix}/lib/mono/notify-sharp
-%{_prefix}/lib/mono/notify-sharp/*
+%{_prefix}/lib/mono/notify-sharp/*.dll
 %{_pkgconfigdir}/notify-sharp.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -66,6 +71,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2009/01/30 09:00:21  patrys
+- add monodir patch
+- rel 1
+
 Revision 1.1  2008/10/20 01:06:32  aredridel
 - 0.4.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dotnet-notify-sharp.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list