|
|
b68eb69 |
%global majorversion 1
|
|
|
c5ab744 |
%global minorversion 3
|
|
|
413a53e |
%global patchversion 0
|
|
|
8cdfc90 |
%global majorminorversion %{majorversion}.%{minorversion}
|
|
|
d6c944b |
%global nsversion %{majorversion}.0
|
|
|
b193ff0 |
|
|
|
b193ff0 |
Name: libmodulemd
|
|
|
b193ff0 |
Version: %{majorminorversion}%{?patchversion:.%{patchversion}}
|
|
|
25b1c75 |
Release: 2%{?dist}
|
|
|
b193ff0 |
Summary: Module metadata manipulation library
|
|
|
b193ff0 |
|
|
|
01e97e6 |
License: MIT
|
|
|
94a473c |
URL: https://github.com/fedora-modularity/libmodulemd
|
|
|
94a473c |
Source0: %{url}/releases/download/%{name}-%{version}/modulemd-%{version}.tar.xz
|
|
|
b193ff0 |
|
|
|
b193ff0 |
BuildRequires: meson
|
|
|
b193ff0 |
BuildRequires: gcc
|
|
|
b193ff0 |
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
b193ff0 |
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
b193ff0 |
BuildRequires: pkgconfig(yaml-0.1)
|
|
|
94bc7ce |
BuildRequires: pkgconfig(gtk-doc)
|
|
|
5c87b19 |
BuildRequires: python3-gobject-base
|
|
|
b8df168 |
|
|
|
d0df9e7 |
# Patches
|
|
|
d0df9e7 |
|
|
|
25b1c75 |
# Defaults emitter wasn't following the spec properly. Included upstream
|
|
|
25b1c75 |
# https://github.com/fedora-modularity/libmodulemd/commit/2f302ac7dfa5d922cf1981752153f53a69eaa2c9
|
|
|
25b1c75 |
Patch0001: 0001-Defaults-emitter-should-use-the-correct-name-key.patch
|
|
|
a223c79 |
|
|
|
b193ff0 |
%description
|
|
|
1447f41 |
C Library for manipulating module metadata files.
|
|
|
21ac191 |
See https://github.com/fedora-modularity/libmodulemd/blob/master/README.md for
|
|
|
21ac191 |
more details.
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%package devel
|
|
|
1447f41 |
Summary: Development files for libmodulemd
|
|
|
1447f41 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%description devel
|
|
|
1447f41 |
Development files for libmodulemd.
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%prep
|
|
|
b193ff0 |
%autosetup -p1 -n modulemd-%{version}
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%build
|
|
|
b193ff0 |
%meson
|
|
|
b193ff0 |
%meson_build
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%check
|
|
|
b193ff0 |
export LC_CTYPE=C.utf8
|
|
|
b193ff0 |
%meson_test
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%install
|
|
|
b193ff0 |
%meson_install
|
|
|
b193ff0 |
|
|
|
75a7af9 |
%ldconfig_scriptlets
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%files
|
|
|
b193ff0 |
%license COPYING
|
|
|
b193ff0 |
%doc README.md
|
|
|
b68eb69 |
%{_bindir}/modulemd-validator
|
|
|
8cdfc90 |
%{_libdir}/%{name}.so.%{majorversion}*
|
|
|
1447f41 |
%dir %{_libdir}/girepository-1.0
|
|
|
d6c944b |
%{_libdir}/girepository-1.0/Modulemd-%{nsversion}.typelib
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%files devel
|
|
|
b193ff0 |
%{_libdir}/%{name}.so
|
|
|
b193ff0 |
%{_libdir}/pkgconfig/modulemd.pc
|
|
|
1447f41 |
%{_includedir}/modulemd/
|
|
|
1447f41 |
%dir %{_datadir}/gir-1.0
|
|
|
d6c944b |
%{_datadir}/gir-1.0/Modulemd-%{nsversion}.gir
|
|
|
1bff070 |
%dir %{_datadir}/gtk-doc
|
|
|
1bff070 |
%dir %{_datadir}/gtk-doc/html
|
|
|
1bff070 |
%{_datadir}/gtk-doc/html/modulemd/
|
|
|
b193ff0 |
|
|
|
b193ff0 |
%changelog
|
|
|
25b1c75 |
* Mon Apr 16 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.3.0-2
|
|
|
25b1c75 |
- Fix serious error in modulemd-defaults emitter
|
|
|
25b1c75 |
|
|
|
c5ab744 |
* Fri Apr 13 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.3.0-1
|
|
|
c5ab744 |
- Update to version 1.3.0
|
|
|
c5ab744 |
- New Public Objects:
|
|
|
c5ab744 |
* Modulemd.Prioritizer - tool to merge module defaults
|
|
|
c5ab744 |
- New Public Functions:
|
|
|
c5ab744 |
* Modulemd.SimpleSet.is_equal()
|
|
|
c5ab744 |
* Modulemd.Defaults.copy()
|
|
|
c5ab744 |
* Modulemd.Defaults.merge()
|
|
|
c5ab744 |
|
|
|
413a53e |
* Wed Apr 04 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.2.0-1
|
|
|
413a53e |
- Update to version 1.2.0
|
|
|
413a53e |
- New Functions:
|
|
|
413a53e |
* Modulemd.objects_from_file()
|
|
|
413a53e |
* Modulemd.objects_from_string()
|
|
|
413a53e |
* Modulemd.dump()
|
|
|
413a53e |
* Modulemd.dumps()
|
|
|
413a53e |
* Modulemd.Defaults.new_from_file()
|
|
|
413a53e |
* Modulemd.Defaults.new_from_string()
|
|
|
413a53e |
- Deprecated Functions:
|
|
|
413a53e |
* Modulemd.Module.new_all_from_file()
|
|
|
413a53e |
* Modulemd.Module.new_all_from_file_ext()
|
|
|
413a53e |
* Modulemd.Module.new_all_from_string()
|
|
|
413a53e |
* Modulemd.Module.new_all_from_string_ext()
|
|
|
413a53e |
* Modulemd.Module.dump_all()
|
|
|
413a53e |
* Modulemd.Module.dumps_all()
|
|
|
413a53e |
- Bugfixes
|
|
|
413a53e |
* Properly use G_BEGIN_DECLS and G_END_DECLS in headers
|
|
|
413a53e |
* Assorted fixes for memory ownership in GObject Introspection
|
|
|
413a53e |
|
|
|
a223c79 |
* Fri Mar 23 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.3-2
|
|
|
a223c79 |
- Fix missing G_END_DECL from public headers
|
|
|
a223c79 |
|
|
|
ba6750e |
* Mon Mar 19 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.3-1
|
|
|
ba6750e |
- Fix numerous memory leaks
|
|
|
ba6750e |
- Drop upstreamed patch
|
|
|
ba6750e |
|
|
|
d6c944b |
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.2-1
|
|
|
d6c944b |
- Update to version 1.1.2
|
|
|
d6c944b |
- Revert backwards-incompatible API change
|
|
|
d6c944b |
- Fix version string in pkgconfig file
|
|
|
d6c944b |
|
|
|
679d3b6 |
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.1-1
|
|
|
679d3b6 |
- Update to version 1.1.1
|
|
|
679d3b6 |
- Make default stream and profiles optional
|
|
|
679d3b6 |
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/25
|
|
|
679d3b6 |
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/26
|
|
|
679d3b6 |
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/27
|
|
|
679d3b6 |
|
|
|
5c87b19 |
* Wed Mar 14 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-1
|
|
|
5c87b19 |
- Update to version 1.1.0
|
|
|
5c87b19 |
- Adds support for handling modulemd-defaults YAML documents
|
|
|
5c87b19 |
- Adds peek()/dup() routines to all object properties
|
|
|
5c87b19 |
- Adds Modulemd.Module.dup_nsvc() to retrieve the canonical form of the unique module identifier.
|
|
|
5c87b19 |
- Adds support for boolean types in the XMD section
|
|
|
5c87b19 |
- Revert obsoletion of pythonX-modulemd packages for now
|
|
|
5c87b19 |
|
|
|
b8df168 |
* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-2
|
|
|
b8df168 |
- Obsolete unsupported pythonX-modulemd packages
|
|
|
b8df168 |
|
|
|
8bbf8bc |
* Tue Feb 27 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.4-1
|
|
|
8bbf8bc |
- Update to 1.0.4
|
|
|
8bbf8bc |
- Rework version autodetection
|
|
|
8bbf8bc |
- Avoid infinite loop on unparseable YAML
|
|
|
8bbf8bc |
|
|
|
21ac191 |
* Sun Feb 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.3-1
|
|
|
21ac191 |
- RPM components are properly emitted when no module components exist
|
|
|
21ac191 |
- Parser works around late determination of modulemd version
|
|
|
21ac191 |
|
|
|
fbfc577 |
* Fri Feb 16 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.2-1
|
|
|
fbfc577 |
- Be more strict with certain parser edge-cases
|
|
|
fbfc577 |
- Replace popt argument processing with glib
|
|
|
fbfc577 |
- Drop upstreamed patches
|
|
|
fbfc577 |
|
|
|
d0df9e7 |
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-2
|
|
|
d0df9e7 |
- Handle certain unlikely format violations
|
|
|
d0df9e7 |
|
|
|
b68eb69 |
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-1
|
|
|
b68eb69 |
- Support modulemd v2
|
|
|
b68eb69 |
- Add tool to do quick validation of modulemd
|
|
|
b68eb69 |
- Fix memory management
|
|
|
b68eb69 |
- Warn and ignore unparseable sub-documents in the YAML
|
|
|
b68eb69 |
- Fix several memory issues detected by Coverity scan
|
|
|
b68eb69 |
|
|
|
faebb53 |
* Tue Feb 06 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.2-1
|
|
|
faebb53 |
- Update to libmodulemd 0.2.2
|
|
|
faebb53 |
- Fix numerous minor memory leaks
|
|
|
faebb53 |
- Fix issues with EOL/SL dates
|
|
|
faebb53 |
|
|
|
1447f41 |
* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-3
|
|
|
1447f41 |
- Own appropriate directories
|
|
|
1447f41 |
|
|
|
75a7af9 |
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-2
|
|
|
75a7af9 |
- Switch to %%ldconfig_scriptlets
|
|
|
75a7af9 |
|
|
|
8cdfc90 |
* Fri Jan 05 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.1-1
|
|
|
8cdfc90 |
- Update to libmodulemd 0.2.1
|
|
|
8cdfc90 |
- Add 'name' property for Profiles
|
|
|
8cdfc90 |
|
|
|
94bc7ce |
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-2
|
|
|
94bc7ce |
- Add missing BuildRequires for gtk-doc
|
|
|
94bc7ce |
|
|
|
1bff070 |
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-1
|
|
|
1bff070 |
- Update to libmodulemd 0.2.0
|
|
|
1bff070 |
- Adds gtk-doc generated documentation
|
|
|
1bff070 |
- (ABI-break) Makes all optional properties accept NULL as a value to clear
|
|
|
1bff070 |
them
|
|
|
1bff070 |
- (ABI-break) Modulemd.SimpleSet takes a STRV (char **) instead of a
|
|
|
1bff070 |
GLib.PtrArray
|
|
|
1bff070 |
- Fixes a bug where the name was not always set for components
|
|
|
1bff070 |
- Adds support for dumping YAML from the introspected API
|
|
|
1bff070 |
- Includes add/remove routines for profiles
|
|
|
1bff070 |
|
|
|
b0d3585 |
* Sat Sep 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-5
|
|
|
b0d3585 |
- Use %%_isa in Requires for main package from devel
|
|
|
b0d3585 |
|
|
|
01e97e6 |
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-4
|
|
|
01e97e6 |
- Correct the license to MIT
|
|
|
01e97e6 |
|
|
|
b193ff0 |
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-3
|
|
|
b193ff0 |
- Modifications requested during package review
|
|
|
b193ff0 |
|
|
|
b193ff0 |
* Fri Sep 15 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-2
|
|
|
b193ff0 |
- First public release
|
|
|
b193ff0 |
|