]> git.pld-linux.org Git - packages/dotnet-notify-sharp3.git/commitdiff
new, version 3.0.0
authorElan Ruusamäe <glen@delfi.ee>
Sun, 13 Jul 2014 10:48:42 +0000 (13:48 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 13 Jul 2014 10:48:42 +0000 (13:48 +0300)
dotnet-notify-sharp3.spec [new file with mode: 0644]
monodir.patch [new file with mode: 0644]

diff --git a/dotnet-notify-sharp3.spec b/dotnet-notify-sharp3.spec
new file mode 100644 (file)
index 0000000..af11641
--- /dev/null
@@ -0,0 +1,74 @@
+# TODO:
+# - check license
+%include       /usr/lib/rpm/macros.mono
+Summary:       notify-sharp is a C# client implementation for Desktop Notifications
+Name:          dotnet-notify-sharp3
+Version:       3.0.0
+Release:       0.1
+License:       X11/MIT
+Group:         Development/Libraries
+Source0:       https://www.meebey.net/projects/notify-sharp/downloads/notify-sharp-%{version}.tar.gz
+# Source0-md5: f3d84da137f6812ebada48c9adeaf01e
+Patch0:                monodir.patch
+URL:           https://www.meebey.net/projects/notify-sharp/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: dotnet-gtk-sharp3-devel
+BuildRequires: gtk+3-devel
+BuildRequires: libtool
+BuildRequires: mono-csharp
+BuildRequires: mono-devel
+BuildRequires: pkgconfig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+notify-sharp is a C# client implementation for Desktop Notifications,
+i.e. notification-daemon. It is inspired by the libnotify API.
+
+Desktop Notifications provide a standard way of doing passive pop-up
+notifications on the Linux desktop. These are designed to notify the
+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
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Files required for compilation using notify-sharp.
+
+%prep
+%setup -q -n notify-sharp-%{version}
+%patch0 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+       --disable-docs
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README NEWS AUTHORS COPYING 
+%dir %{_prefix}/lib/mono/gac/notify-sharp
+%{_prefix}/lib/mono/gac/notify-sharp/*
+
+%files devel
+%defattr(644,root,root,755)
+%dir %{_prefix}/lib/mono/notify-sharp
+%{_prefix}/lib/mono/notify-sharp/*.dll
+%{_pkgconfigdir}/notify-sharp-3.0.pc
diff --git a/monodir.patch b/monodir.patch
new file mode 100644 (file)
index 0000000..f42d198
--- /dev/null
@@ -0,0 +1,21 @@
+--- notify-sharp-0.4.0/src/Makefile.am~        2007-06-11 19:45:45.000000000 +0200
++++ notify-sharp-0.4.0/src/Makefile.am 2009-01-30 09:57:10.494082466 +0100
+@@ -20,14 +20,14 @@
+ install-data-local:
+       @if test -n '$(TARGET)'; then                       \
+-          echo "$(GACUTIL) /i $(TARGET) /f /gacdir $(DESTDIR)$(libdir)";    \
+-          $(GACUTIL) /i $(TARGET) /package $(ASSEMBLY) /f /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1; \
++          echo "$(GACUTIL) /i $(TARGET) /f /gacdir $(DESTDIR)$(prefix)/lib";    \
++          $(GACUTIL) /i $(TARGET) /package $(ASSEMBLY) /f /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib || exit 1; \
+         fi
+ uninstall-local:
+       @if test -n '$(TARGET)'; then                       \
+-          echo "$(GACUTIL) /u $(ASSEMBLY) /gacdir $(DESTDIR)$(libdir)";  \
+-          $(GACUTIL) /u $(ASSEMBLY) /package $(ASSEMBLY) /gacdir $(libdir) /root $(DESTDIR)$(libdir) || exit 1;   \
++          echo "$(GACUTIL) /u $(ASSEMBLY) /gacdir $(DESTDIR)$(prefix)/lib";  \
++          $(GACUTIL) /u $(ASSEMBLY) /package $(ASSEMBLY) /gacdir $(prefix)/lib /root $(DESTDIR)$(prefix)/lib || exit 1;   \
+         fi
+ EXTRA_DIST = \
This page took 0.177219 seconds and 4 git commands to generate.