Split out libvala subpackage with the shared library
- Rename vala-devel to libvala-devel to match with the libvala package https://bugzilla.redhat.com/show_bug.cgi?id=1499590
This commit is contained in:
parent
36aee0466e
commit
d1bd59dca7
41
vala.spec
41
vala.spec
@ -3,7 +3,7 @@
|
||||
|
||||
Name: vala
|
||||
Version: 0.42.3
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A modern programming language for GNOME
|
||||
|
||||
# Most files are LGPLv2.1+, curses.vapi is 2-clause BSD
|
||||
@ -29,6 +29,8 @@ BuildRequires: dbus-x11
|
||||
Requires(posttrans): %{_sbindir}/alternatives
|
||||
Requires(preun): %{_sbindir}/alternatives
|
||||
|
||||
Requires: libvala%{?_isa} = %{version}-%{release}
|
||||
|
||||
# For GLib-2.0 and GObject-2.0 .gir files
|
||||
Requires: gobject-introspection-devel
|
||||
|
||||
@ -55,17 +57,33 @@ The syntax of Vala is similar to C#, modified to better fit the GObject
|
||||
type system.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
%package -n libvala
|
||||
Summary: Vala compiler library
|
||||
|
||||
%description devel
|
||||
%description -n libvala
|
||||
Vala is a new programming language that aims to bring modern programming
|
||||
language features to GNOME developers without imposing any additional
|
||||
runtime requirements and without using a different ABI compared to
|
||||
applications and libraries written in C.
|
||||
|
||||
This package contains development files for %{name}. This is not
|
||||
This package contains the shared libvala library.
|
||||
|
||||
|
||||
%package -n libvala-devel
|
||||
Summary: Development files for libvala
|
||||
Requires: libvala%{?_isa} = %{version}-%{release}
|
||||
# Renamed in F30
|
||||
Provides: vala-devel = %{version}-%{release}
|
||||
Provides: vala-devel%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: vala-devel < 0.42.3-2
|
||||
|
||||
%description -n libvala-devel
|
||||
Vala is a new programming language that aims to bring modern programming
|
||||
language features to GNOME developers without imposing any additional
|
||||
runtime requirements and without using a different ABI compared to
|
||||
applications and libraries written in C.
|
||||
|
||||
This package contains development files for libvala. This is not
|
||||
necessary for using the %{name} compiler.
|
||||
|
||||
|
||||
@ -177,7 +195,6 @@ done
|
||||
%{_bindir}/vapigen-%{api_ver}
|
||||
%{_libdir}/pkgconfig/vapigen*.pc
|
||||
%{_libdir}/vala-%{api_ver}/
|
||||
%{_libdir}/libvala-%{api_ver}.so.*
|
||||
%{_datadir}/aclocal/vala.m4
|
||||
%{_datadir}/aclocal/vapigen.m4
|
||||
%{_datadir}/vala/
|
||||
@ -189,7 +206,11 @@ done
|
||||
%{_mandir}/man1/vala-gen-introspect-%{api_ver}.1.gz
|
||||
%{_mandir}/man1/vapigen-%{api_ver}.1.gz
|
||||
|
||||
%files devel
|
||||
%files -n libvala
|
||||
%license COPYING
|
||||
%{_libdir}/libvala-%{api_ver}.so.*
|
||||
|
||||
%files -n libvala-devel
|
||||
%{_includedir}/vala-%{api_ver}
|
||||
%{_libdir}/libvala-%{api_ver}.so
|
||||
%{_libdir}/pkgconfig/libvala-%{api_ver}.pc
|
||||
@ -213,6 +234,10 @@ done
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Nov 12 2018 Kalev Lember <klember@redhat.com> - 0.42.3-2
|
||||
- Split out libvala subpackage with the shared library (#1499590)
|
||||
- Rename vala-devel to libvala-devel to match with the libvala package
|
||||
|
||||
* Wed Nov 07 2018 Kalev Lember <klember@redhat.com> - 0.42.3-1
|
||||
- Update to 0.42.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user