| |
@@ -9,6 +9,9 @@
|
| |
URL: https://wiki.gnome.org/Projects/GObjectIntrospection
|
| |
Source0: https://download.gnome.org/sources/gobject-introspection/1.54/%{name}-%{version}.tar.xz
|
| |
|
| |
+ Source1: typelib.prov
|
| |
+ Source2: typelib.attr
|
| |
+
|
| |
BuildRequires: glib2-devel >= %{glib2_version}
|
| |
BuildRequires: python-devel >= 2.5
|
| |
BuildRequires: gettext
|
| |
@@ -57,6 +60,8 @@
|
| |
|
| |
%install
|
| |
%make_install
|
| |
+ install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_rpmconfigdir}/typelib.prov
|
| |
+ install -D -p %{SOURCE2} $RPM_BUILD_ROOT%{_fileattrsdir}/typelib.attr
|
| |
|
| |
# Remove lib64 rpaths
|
| |
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/g-ir-compiler
|
| |
@@ -77,6 +82,8 @@
|
| |
%{_libdir}/lib*.so.*
|
| |
%dir %{_libdir}/girepository-1.0
|
| |
%{_libdir}/girepository-1.0/*.typelib
|
| |
+ %{_rpmconfigdir}/typelib.prov
|
| |
+ %{_fileattrsdir}/typelib.attr
|
| |
|
| |
%files devel
|
| |
%{_libdir}/lib*.so
|
| |
Just some food for thought, spurred in part by https://bugzilla.redhat.com/show_bug.cgi?id=1503864
rpm provides in the form of
gir-1.0(Namespace-version)%{_isa}
eg:
gir-1.0(NMGtk-1.0)(x86-64)