From acf3112c99daea58a8b5b43b75d669149ad25860 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:14:12 +0100 Subject: [PATCH] automatic rebuild by autodist [release 0.9.0-2mamba;Fri Jul 12 2013] --- README.md | 3 ++ mono-zeroconf.spec | 98 +++++++++++++++++++++++++++++++++++++++ zeroconf-076-config.patch | 12 +++++ 3 files changed, 113 insertions(+) create mode 100644 mono-zeroconf.spec create mode 100644 zeroconf-076-config.patch diff --git a/README.md b/README.md index 74ea287..0e51e75 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # mono-zeroconf +Mono.Zeroconf is a cross platform Zero Configuration Networking library +for Mono and .NET. + diff --git a/mono-zeroconf.spec b/mono-zeroconf.spec new file mode 100644 index 0000000..c3dfbf4 --- /dev/null +++ b/mono-zeroconf.spec @@ -0,0 +1,98 @@ +Name: mono-zeroconf +Version: 0.9.0 +Release: 2mamba +Summary: Mono-zeroconf namespace +Group: Development/Languages +Vendor: openmamba +Distribution: openmamba +Packager: Automatic Build System +URL: http://banshee-project.org/files/mono-zeroconf +Source: http://download.banshee-project.org/mono-zeroconf/mono-zeroconf-%{version}.tar.gz +Patch0: zeroconf-076-config.patch +License: MIT +BuildRequires: avahi-mono +## AUTOBUILDREQ-BEGIN +BuildRequires: monodoc-devel +## AUTOBUILDREQ-END +Requires: monodoc +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Mono.Zeroconf is a cross platform Zero Configuration Networking library +for Mono and .NET. + +%package devel +Summary: .pc file for %{name} +Group: Documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Mono.Zeroconf is a cross platform Zero Configuration Networking library +for Mono and .NET. + +Development file for mono zeroconf +%prep + +%setup -q +sed -i -e 's!@libdir@!%{_libdir}!' %{PATCH0} +%patch0 -p1 -b .original +sed -i -e 's!%{_libdir}!@libdir@!' %{PATCH0} + +%build +%configure +make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall DESTDIR=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/mzclient +%dir %{_libdir}/mono-zeroconf +%{_libdir}/mono-zeroconf/MZClient.exe +%{_libdir}/mono-zeroconf/MZClient.exe.mdb +%{_libdir}/mono-zeroconf/Mono.Zeroconf.Providers.*.dll +%{_libdir}/mono-zeroconf/Mono.Zeroconf.Providers.*.dll.mdb +%{_libdir}/mono-zeroconf/Mono.Zeroconf.Providers.Bonjour.dll.config +%dir %{_libdir}/mono/gac/Mono.Zeroconf/*__e60c4f4a95e1099e +%{_libdir}/mono/gac/Mono.Zeroconf/*__e60c4f4a95e1099e/Mono.Zeroconf.dll +%{_libdir}/mono/gac/Mono.Zeroconf/*__e60c4f4a95e1099e/Mono.Zeroconf.dll.mdb +%dir %{_libdir}/mono/gac/policy.1.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e +%{_libdir}/mono/gac/policy.1.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.1.0.Mono.Zeroconf.dll +%{_libdir}/mono/gac/policy.1.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.1.0.config +%dir %{_libdir}/mono/gac/policy.2.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e +%{_libdir}/mono/gac/policy.2.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.2.0.Mono.Zeroconf.dll +%{_libdir}/mono/gac/policy.2.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.2.0.config +%dir %{_libdir}/mono/gac/policy.3.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e +%{_libdir}/mono/gac/policy.3.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.3.0.Mono.Zeroconf.dll +%{_libdir}/mono/gac/policy.3.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.3.0.config +%dir %{_libdir}/mono/gac/policy.4.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e +%{_libdir}/mono/gac/policy.4.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.4.0.Mono.Zeroconf.dll +%{_libdir}/mono/gac/policy.4.0.Mono.Zeroconf/0.0.0.0__e60c4f4a95e1099e/policy.4.0.config +%dir %{_libdir}/mono/mono-zeroconf +%{_libdir}/mono/mono-zeroconf/Mono.Zeroconf.dll +%{_libdir}/monodoc/sources/mono-zeroconf-docs.source +%{_libdir}/monodoc/sources/mono-zeroconf-docs.tree +%{_libdir}/monodoc/sources/mono-zeroconf-docs.zip +%doc AUTHORS COPYING ChangeLog NEWS README README.Windows + +%files devel +%defattr(-,root,root) +%{_exec_prefix}/lib/pkgconfig/*.pc + +%changelog +* Fri Jul 12 2013 Automatic Build System 0.9.0-2mamba +- automatic rebuild by autodist + +* Mon May 18 2009 Automatic Build System 0.9.0-1mamba +- automatic update by autodist + +* Mon Mar 02 2009 Silvan Calarco 0.8.0-1mamba +- automatic update by autodist + +* Sat Sep 06 2008 gil 0.7.6-1mamba +- package created by autospec diff --git a/zeroconf-076-config.patch b/zeroconf-076-config.patch new file mode 100644 index 0000000..eb5b8a1 --- /dev/null +++ b/zeroconf-076-config.patch @@ -0,0 +1,12 @@ +--- mono-zeroconf-0.7.6/configure.ac 2008-03-21 00:44:37.000000000 +0000 ++++ mono-zeroconf-0.7.6/configure-new.ac 2008-08-14 17:46:29.000000000 +0100 +@@ -33,8 +33,8 @@ + AC_MSG_ERROR([You need to install al]) + fi + +-GACUTIL_FLAGS='-package $(PACKAGE) -root $(DESTDIR)$(prefix)/lib' +-GACUTIL_POLICY_FLAGS='-root $(DESTDIR)$(prefix)/lib' ++GACUTIL_FLAGS='-package $(PACKAGE) -root $(DESTDIR)$@libdir@' ++GACUTIL_POLICY_FLAGS='-root $(DESTDIR)$@libdir@' + AC_SUBST(GACUTIL_FLAGS) + AC_SUBST(GACUTIL_POLICY_FLAGS) \ No newline at end of file