rebuild without make381 [release 0.5-4mamba;Fri Sep 30 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:46:47 +01:00
parent 6b8dfb72c8
commit c21bf51b64
2 changed files with 37 additions and 9 deletions

View File

@ -0,0 +1,22 @@
From e971e91fe82b90ba2931ba3be8cf704dd0e016fe Mon Sep 17 00:00:00 2001
From: Gabriel Burt <gabriel.burt@gmail.com>
Date: Thu, 28 Oct 2010 15:11:13 +0000
Subject: [build] Remove 'dnl' line form build.rules.mk (bgo#633333)
---
(limited to 'build/build.rules.mk')
diff --git a/build/build.rules.mk b/build/build.rules.mk
index 648a60d..31291ba 100644
--- a/build/build.rules.mk
+++ b/build/build.rules.mk
@@ -2,7 +2,6 @@ UNIQUE_FILTER_PIPE = tr [:space:] \\n | sort | uniq
BUILD_DATA_DIR = $(top_builddir)/bin/share/$(PACKAGE)
SOURCES_BUILD = $(addprefix $(srcdir)/, $(SOURCES))
-dnl SOURCES_BUILD += $(top_srcdir)/src/AssemblyInfo.cs
RESOURCES_EXPANDED = $(addprefix $(srcdir)/, $(RESOURCES))
RESOURCES_BUILD = $(foreach resource, $(RESOURCES_EXPANDED), \
--
cgit v0.9.0.2

View File

@ -1,21 +1,20 @@
Name: hyena
Version: 0.5
Release: 3mamba
Release: 4mamba
Summary: A C# library used to make awesome applications
Group: Development/Languages
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://live.gnome.org/Hyena
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Hyena
Source: http://ftp.gnome.org/pub/GNOME/sources/hyena/%{version}/hyena-%{version}.tar.bz2
Patch0: hyena-0.5-fix-build-makefiles.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: gtk-sharp2-devel
BuildRequires: mono-devel
## AUTOBUILDREQ-END
BuildRequires: make381
Requires: gtk-sharp
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Hyena contains a lot of random things, including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library, a smart job/task scheduler, a user-query/search parser, and much more.
@ -30,19 +29,23 @@ Requires: gtk-sharp-devel
%description devel
Hyena contains a lot of random things, including useful data structures, a Sqlite-based db layer, cool widgets, a JSON library, a smart job/task scheduler, a user-query/search parser, and much more.
It's particularly useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
#% debug_package
%prep
%setup -q
%patch0 -p1 -b .fix-build-makefiles
# FIX for mono 6
sed -i "s|mono/2.0|mono/2.0-api|" configure
sed -i "s/gmcs/mcs/;s|2\.0|2.0-api|" build/m4/shamrock/mono.m4
aclocal -I build/m4/shamrock
automake --gnu
autoconf
%build
%configure
make381
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -61,6 +64,9 @@ make381 install DESTDIR=%{buildroot}
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Sep 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-4mamba
- rebuild without make381
* Sun Sep 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-3mamba
- rebuilt with mono 6.10.0.104