hyena/hyena.spec

72 lines
2.2 KiB
RPMSpec
Raw Normal View History

Name: hyena
Version: 0.5
Release: 2mamba
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
Source: http://ftp.gnome.org/pub/GNOME/sources/hyena/%{version}/hyena-%{version}.tar.bz2
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.
It's particularly useful for Gtk# applications, though only the Hyena.Gui assembly requires Gtk#.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
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.
#% debug_package
%prep
%setup -q
# FIX for mono 6
sed -i "s|mono/2.0|mono/2.0-api|" configure
%build
%configure
make381
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make381 install DESTDIR=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/hyena
%doc COPYING NEWS README
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%changelog
* Sat Sep 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-2mamba
- rebuilt
* Sun Apr 03 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5-1mamba
- update to 0.5
* Mon Oct 04 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.3-1mamba
- package created by autospec