automatic rebuild by autodist [release 0.9.0-2mamba;Fri Jul 12 2013]

This commit is contained in:
Automatic Build System 2024-01-06 07:14:12 +01:00
parent 1b439a7020
commit acf3112c99
3 changed files with 113 additions and 0 deletions

View File

@ -1,2 +1,5 @@
# mono-zeroconf
Mono.Zeroconf is a cross platform Zero Configuration Networking library
for Mono and .NET.

98
mono-zeroconf.spec Normal file
View File

@ -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 <autodist@mambasoft.it>
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 <autodist@mambasoft.it> 0.9.0-2mamba
- automatic rebuild by autodist
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
- automatic update by autodist
* Mon Mar 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- automatic update by autodist
* Sat Sep 06 2008 gil <puntogil@libero.it> 0.7.6-1mamba
- package created by autospec

12
zeroconf-076-config.patch Normal file
View File

@ -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)