forked from pool/ndesk-dbus-glib
This commit is contained in:
commit
fd353e7004
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
32
build-fix.patch
Normal file
32
build-fix.patch
Normal file
@ -0,0 +1,32 @@
|
||||
--- glib/Makefile
|
||||
+++ glib/Makefile
|
||||
@@ -1,19 +1,11 @@
|
||||
-DBUS_SHARP_PREFIX=../../dbus-sharp
|
||||
-
|
||||
-# See How Not to Use VPATH: http://make.paulandlesley.org/vpath.html
|
||||
-VPATH=$(DBUS_SHARP_PREFIX)/src
|
||||
-
|
||||
-#Note that this makefile isn't healthy, but it works for me
|
||||
-#Makefile bug: doesn't seem to work with make -B
|
||||
-
|
||||
#.PHONY: all
|
||||
|
||||
all: NDesk.DBus.GLib.dll
|
||||
|
||||
-NDesk.DBus.GLib.dll: NDesk.DBus.dll AssemblyInfo.cs GLib.IO.cs GLib.cs ../ndesk.snk
|
||||
+NDesk.DBus.GLib.dll: AssemblyInfo.cs GLib.IO.cs GLib.cs ../ndesk.snk
|
||||
|
||||
.PHONY:
|
||||
install: NDesk.DBus.GLib.dll
|
||||
$(GACUTIL) $(GACUTIL_FLAGS) -i NDesk.DBus.GLib.dll -f -package ndesk-dbus-glib-1.0
|
||||
|
||||
-include $(DBUS_SHARP_PREFIX)/include.mk
|
||||
+include ../include.mk
|
||||
--- ndesk-dbus-glib-1.0.pc.in
|
||||
+++ ndesk-dbus-glib-1.0.pc.in
|
||||
@@ -6,4 +6,4 @@
|
||||
Description: GLib integration for NDesk.DBus, the D-Bus IPC library
|
||||
Version: 0.3.0
|
||||
Requires: ndesk-dbus-1.0
|
||||
-Libs: -r:${libdir}/mono/lib/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll
|
||||
+Libs: -r:${libdir}/mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll
|
3
dbus-sharp-glib-0.3.tar.gz
Normal file
3
dbus-sharp-glib-0.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a8a0e92fa358b879552556f254c43694e9bf791f586558a7aa905ef0267991ef
|
||||
size 6050
|
22
include.mk
Normal file
22
include.mk
Normal file
@ -0,0 +1,22 @@
|
||||
#CSC_DEBUGFLAGS=-debug -d:TRACE
|
||||
CSC_DEBUGFLAGS=-debug
|
||||
CSC=gmcs $(CSC_DEBUGFLAGS)
|
||||
MONO_DEBUGFLAGS=--debug
|
||||
RUNTIME=mono $(MONO_DEBUGFLAGS)
|
||||
GACUTIL=gacutil
|
||||
GACUTIL_FLAGS=-root $(DESTDIR)$(prefix)/lib
|
||||
#this isn't great
|
||||
prefix=$(shell dirname `which gacutil`)/..
|
||||
|
||||
#%.exe:
|
||||
%.exe %.dll %.module:
|
||||
$(CSC) $(CSFLAGS) -out:$@ -t:$(TARGET) $(addprefix -pkg:,$(PKGS)) $(addprefix -r:,$(REFS)) $(addprefix -r:,$(filter %.dll,$^)) $(addprefix -addmodule:,$(filter %.module,$^)) $(addprefix -keyfile:,$(filter %.snk,$^)) $(filter %.cs,$^) `pkg-config --libs ndesk-dbus-1.0`
|
||||
|
||||
%.exe: TARGET = exe
|
||||
|
||||
%.dll: TARGET = library
|
||||
|
||||
%.module: TARGET = module
|
||||
|
||||
#$(MODULE)_SOURCES := foo.cs
|
||||
|
2
ndesk-dbus-glib.changes
Normal file
2
ndesk-dbus-glib.changes
Normal file
@ -0,0 +1,2 @@
|
||||
* Thu May 31 2007 - mauro@novell.com
|
||||
- Adding this package to factory
|
58
ndesk-dbus-glib.spec
Normal file
58
ndesk-dbus-glib.spec
Normal file
@ -0,0 +1,58 @@
|
||||
#
|
||||
# spec file for package ndesk-dbus-glib (Version 0.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ndesk-dbus-glib
|
||||
Obsoletes: dbus-sharp-glib
|
||||
BuildRequires: mono-devel ndesk-dbus
|
||||
Requires: ndesk-dbus
|
||||
Url: http://www.ndesk.org/DBusSharp
|
||||
License: X11/MIT
|
||||
Group: Development/Libraries/Other
|
||||
Version: 0.3
|
||||
Release: 1
|
||||
Summary: ndesk-dbus-glibl provides glib integration for NDesk.DBus.
|
||||
Source0: dbus-sharp-glib-%{version}.tar.gz
|
||||
Source1: include.mk
|
||||
Patch: build-fix.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
ndesk-dbus-glibl provides glib integration for NDesk.DBus.
|
||||
|
||||
|
||||
|
||||
%prep
|
||||
%setup -n dbus-sharp-glib-%{version}
|
||||
%patch
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
make -C glib install DESTDIR="$RPM_BUILD_ROOT" prefix=%{_prefix}
|
||||
mkdir -p "$RPM_BUILD_ROOT"%{_datadir}/pkgconfig
|
||||
sed -e 's|@prefix@|%{_prefix}|g' < ndesk-dbus-glib-1.0.pc.in > "$RPM_BUILD_ROOT"%{_datadir}/pkgconfig/ndesk-dbus-glib-1.0.pc
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README
|
||||
%{_prefix}/lib/mono/gac/NDesk.DBus.GLib
|
||||
%{_prefix}/lib/mono/ndesk-dbus-glib-1.0
|
||||
%{_datadir}/pkgconfig/ndesk-dbus-glib-1.0.pc
|
||||
|
||||
%changelog
|
||||
* Thu May 31 2007 - mauro@novell.com
|
||||
- Adding this package to factory
|
Loading…
Reference in New Issue
Block a user