]> git.pld-linux.org Git - packages/dotnet-notify-sharp.git/commitdiff
- add monodir patch auto/th/dotnet-notify-sharp-0_4_0-1
authorPatryk Zawadzki <patrys@room-303.com>
Fri, 30 Jan 2009 09:00:21 +0000 (09:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 1

Changed files:
    dotnet-notify-sharp.spec -> 1.2

dotnet-notify-sharp.spec

index f56012439e7b106861373355c0cd481a2494c6a8..9480a7296b65ab5d26fb4cc8d8fea6bc3184e107 100644 (file)
@@ -1,23 +1,22 @@
-Name:          dotnet-notify-sharp
+%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 +28,20 @@ user of something without interrupting their work with a dialog box
 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 +49,6 @@ Files required for compilation using notify-sharp.
 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,6 +59,7 @@ rm -rf "$RPM_BUILD_ROOT"
 %{_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
This page took 0.110541 seconds and 4 git commands to generate.