2018-02-16 01:13:30 +00:00
|
|
|
%global majorversion 1
|
2018-03-14 18:32:07 +00:00
|
|
|
%global minorversion 1
|
2018-03-15 15:03:40 +00:00
|
|
|
%global patchversion 2
|
2018-01-05 19:53:50 +00:00
|
|
|
%global majorminorversion %{majorversion}.%{minorversion}
|
2018-03-15 15:03:40 +00:00
|
|
|
%global nsversion %{majorversion}.0
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
Name: libmodulemd
|
|
|
|
Version: %{majorminorversion}%{?patchversion:.%{patchversion}}
|
2018-03-14 18:32:07 +00:00
|
|
|
Release: 1%{?dist}
|
2017-09-18 12:39:43 +00:00
|
|
|
Summary: Module metadata manipulation library
|
|
|
|
|
2017-09-18 19:44:19 +00:00
|
|
|
License: MIT
|
2018-02-23 15:26:14 +00:00
|
|
|
URL: https://github.com/fedora-modularity/libmodulemd
|
|
|
|
Source0: %{url}/releases/download/%{name}-%{version}/modulemd-%{version}.tar.xz
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(yaml-0.1)
|
2017-10-05 13:08:17 +00:00
|
|
|
BuildRequires: pkgconfig(gtk-doc)
|
2018-03-14 18:32:07 +00:00
|
|
|
BuildRequires: python3-gobject-base
|
2018-03-13 10:19:07 +00:00
|
|
|
|
2018-02-16 01:37:35 +00:00
|
|
|
# Patches
|
2018-03-15 15:03:40 +00:00
|
|
|
Patch0001: 0001-Print-correct-version-in-pkgconfig-file.patch
|
2018-02-16 01:37:35 +00:00
|
|
|
|
2017-09-18 12:39:43 +00:00
|
|
|
%description
|
2018-02-06 12:13:14 +00:00
|
|
|
C Library for manipulating module metadata files.
|
2018-02-26 04:01:57 +00:00
|
|
|
See https://github.com/fedora-modularity/libmodulemd/blob/master/README.md for
|
|
|
|
more details.
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
%package devel
|
2018-02-06 12:13:14 +00:00
|
|
|
Summary: Development files for libmodulemd
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
%description devel
|
2018-02-06 12:13:14 +00:00
|
|
|
Development files for libmodulemd.
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1 -n modulemd-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%check
|
|
|
|
export LC_CTYPE=C.utf8
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%meson_install
|
|
|
|
|
2018-02-02 09:21:16 +00:00
|
|
|
%ldconfig_scriptlets
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
2018-02-16 01:13:30 +00:00
|
|
|
%{_bindir}/modulemd-validator
|
2018-01-05 19:53:50 +00:00
|
|
|
%{_libdir}/%{name}.so.%{majorversion}*
|
2018-02-06 12:13:14 +00:00
|
|
|
%dir %{_libdir}/girepository-1.0
|
2018-03-15 15:03:40 +00:00
|
|
|
%{_libdir}/girepository-1.0/Modulemd-%{nsversion}.typelib
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/%{name}.so
|
|
|
|
%{_libdir}/pkgconfig/modulemd.pc
|
2018-02-06 12:13:14 +00:00
|
|
|
%{_includedir}/modulemd/
|
|
|
|
%dir %{_datadir}/gir-1.0
|
2018-03-15 15:03:40 +00:00
|
|
|
%{_datadir}/gir-1.0/Modulemd-%{nsversion}.gir
|
2017-10-05 13:03:22 +00:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
|
|
|
%{_datadir}/gtk-doc/html/modulemd/
|
2017-09-18 12:39:43 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-03-15 15:03:40 +00:00
|
|
|
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.2-1
|
|
|
|
- Update to version 1.1.2
|
|
|
|
- Revert backwards-incompatible API change
|
|
|
|
- Fix version string in pkgconfig file
|
|
|
|
|
2018-03-15 14:19:19 +00:00
|
|
|
* Thu Mar 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.1-1
|
|
|
|
- Update to version 1.1.1
|
|
|
|
- Make default stream and profiles optional
|
|
|
|
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/25
|
|
|
|
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/26
|
|
|
|
- Fixes: https://github.com/fedora-modularity/libmodulemd/issues/27
|
|
|
|
|
2018-03-14 18:32:07 +00:00
|
|
|
* Wed Mar 14 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.1.0-1
|
|
|
|
- Update to version 1.1.0
|
|
|
|
- Adds support for handling modulemd-defaults YAML documents
|
|
|
|
- Adds peek()/dup() routines to all object properties
|
|
|
|
- Adds Modulemd.Module.dup_nsvc() to retrieve the canonical form of the unique module identifier.
|
|
|
|
- Adds support for boolean types in the XMD section
|
|
|
|
- Revert obsoletion of pythonX-modulemd packages for now
|
|
|
|
|
2018-03-13 10:19:07 +00:00
|
|
|
* Tue Mar 13 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.4-2
|
|
|
|
- Obsolete unsupported pythonX-modulemd packages
|
|
|
|
|
2018-02-27 15:06:36 +00:00
|
|
|
* Tue Feb 27 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.4-1
|
|
|
|
- Update to 1.0.4
|
|
|
|
- Rework version autodetection
|
|
|
|
- Avoid infinite loop on unparseable YAML
|
|
|
|
|
2018-02-26 04:01:57 +00:00
|
|
|
* Sun Feb 25 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.3-1
|
|
|
|
- RPM components are properly emitted when no module components exist
|
|
|
|
- Parser works around late determination of modulemd version
|
|
|
|
|
2018-02-16 16:41:26 +00:00
|
|
|
* Fri Feb 16 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.2-1
|
|
|
|
- Be more strict with certain parser edge-cases
|
|
|
|
- Replace popt argument processing with glib
|
|
|
|
- Drop upstreamed patches
|
|
|
|
|
2018-02-16 01:37:35 +00:00
|
|
|
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-2
|
|
|
|
- Handle certain unlikely format violations
|
|
|
|
|
2018-02-16 01:13:30 +00:00
|
|
|
* Thu Feb 15 2018 Stephen Gallagher <sgallagh@redhat.com> - 1.0.1-1
|
|
|
|
- Support modulemd v2
|
|
|
|
- Add tool to do quick validation of modulemd
|
|
|
|
- Fix memory management
|
|
|
|
- Warn and ignore unparseable sub-documents in the YAML
|
|
|
|
- Fix several memory issues detected by Coverity scan
|
|
|
|
|
2018-02-06 15:17:52 +00:00
|
|
|
* Tue Feb 06 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.2-1
|
|
|
|
- Update to libmodulemd 0.2.2
|
|
|
|
- Fix numerous minor memory leaks
|
|
|
|
- Fix issues with EOL/SL dates
|
|
|
|
|
2018-02-06 12:13:14 +00:00
|
|
|
* Tue Feb 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-3
|
|
|
|
- Own appropriate directories
|
|
|
|
|
2018-02-02 09:21:16 +00:00
|
|
|
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-2
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2018-01-05 19:53:50 +00:00
|
|
|
* Fri Jan 05 2018 Stephen Gallagher <sgallagh@redhat.com> - 0.2.1-1
|
|
|
|
- Update to libmodulemd 0.2.1
|
|
|
|
- Add 'name' property for Profiles
|
|
|
|
|
2017-10-05 13:08:17 +00:00
|
|
|
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-2
|
|
|
|
- Add missing BuildRequires for gtk-doc
|
|
|
|
|
2017-10-05 13:03:22 +00:00
|
|
|
* Thu Oct 05 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.2.0-1
|
|
|
|
- Update to libmodulemd 0.2.0
|
|
|
|
- Adds gtk-doc generated documentation
|
|
|
|
- (ABI-break) Makes all optional properties accept NULL as a value to clear
|
|
|
|
them
|
|
|
|
- (ABI-break) Modulemd.SimpleSet takes a STRV (char **) instead of a
|
|
|
|
GLib.PtrArray
|
|
|
|
- Fixes a bug where the name was not always set for components
|
|
|
|
- Adds support for dumping YAML from the introspected API
|
|
|
|
- Includes add/remove routines for profiles
|
|
|
|
|
2017-09-30 17:46:05 +00:00
|
|
|
* Sat Sep 30 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.1.0-5
|
|
|
|
- Use %%_isa in Requires for main package from devel
|
|
|
|
|
2017-09-18 19:44:19 +00:00
|
|
|
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-4
|
|
|
|
- Correct the license to MIT
|
|
|
|
|
2017-09-18 12:39:43 +00:00
|
|
|
* Mon Sep 18 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-3
|
|
|
|
- Modifications requested during package review
|
|
|
|
|
|
|
|
* Fri Sep 15 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.1.0-2
|
|
|
|
- First public release
|
|
|
|
|