Blame SPECS/libmypaint.spec

ea2e1c
Name: libmypaint
ea2e1c
Version: 1.6.1
ea2e1c
Release: 7%{?dist}
ea2e1c
Summary: Library for making brush strokes
ea2e1c
ea2e1c
# Compute some version related macros.
ea2e1c
# Ugly, need to get quoting percent signs straight.
ea2e1c
%global major %(ver=%{version}; echo ${ver%%%%.*})
ea2e1c
%global minor %(ver=%{version}; ver=${ver#%major.}; echo ${ver%%%%.*})
ea2e1c
%global micro %(ver=%{version}; ver=${ver#%major.%minor.}; echo ${ver%%%%.*})
ea2e1c
ea2e1c
License: ISC
ea2e1c
URL: https://github.com/mypaint/libmypaint
ea2e1c
Source0: https://github.com/mypaint/libmypaint/releases/download/v%{version}/libmypaint-%{version}.tar.xz
ea2e1c
ea2e1c
BuildRequires: babl-devel
ea2e1c
BuildRequires: gcc
ea2e1c
BuildRequires: doxygen
ea2e1c
BuildRequires: glib2-devel
ea2e1c
BuildRequires: gobject-introspection-devel
ea2e1c
BuildRequires: intltool
ea2e1c
BuildRequires: json-c-devel
ea2e1c
BuildRequires: python3-breathe
ea2e1c
BuildRequires: python3-sphinx
ea2e1c
BuildRequires: make
ea2e1c
ea2e1c
Conflicts: mypaint < 1.3.0
ea2e1c
ea2e1c
%description
ea2e1c
This is a self-contained library containing the MyPaint brush engine.
ea2e1c
ea2e1c
%package devel
ea2e1c
Summary: Development files for libmypaint
ea2e1c
Requires: %{name}%{?isa} = %{?epoch:%{epoch}:}%{version}-%{release}
ea2e1c
Requires: pkgconfig
ea2e1c
ea2e1c
%description devel
ea2e1c
This package contains files needed for development with libmypaint.
ea2e1c
ea2e1c
%prep
ea2e1c
%autosetup -p1
ea2e1c
ea2e1c
# Make sure the build uses python3
ea2e1c
sed -i -e 's/python -c/python3 -c/g' configure
ea2e1c
ea2e1c
%build
ea2e1c
%configure --enable-docs --enable-introspection=yes --disable-gegl
ea2e1c
%make_build
ea2e1c
ea2e1c
%install
ea2e1c
%make_install
ea2e1c
find %{buildroot}%{_libdir} -name '*.la' -delete -print
ea2e1c
ea2e1c
%find_lang %{name}
ea2e1c
ea2e1c
%ldconfig_scriptlets
ea2e1c
ea2e1c
%files -f %{name}.lang
ea2e1c
%license COPYING
ea2e1c
%doc README.md
ea2e1c
%{_libdir}/libmypaint.so.0*
ea2e1c
%dir %{_libdir}/girepository-1.0
ea2e1c
%{_libdir}/girepository-1.0/MyPaint-%{major}.%{minor}.typelib
ea2e1c
ea2e1c
%files devel
ea2e1c
%doc doc/build/*
ea2e1c
%{_libdir}/libmypaint.so
ea2e1c
%{_includedir}/%{name}
ea2e1c
%{_libdir}/pkgconfig/libmypaint.pc
ea2e1c
%dir %{_datadir}/gir-1.0
ea2e1c
%{_datadir}/gir-1.0/MyPaint-%{major}.%{minor}.gir
ea2e1c
ea2e1c
%changelog
ea2e1c
* Wed Feb 09 2022 Josef Ridky <jridky@redhat.com> - 1.6.1-7
ea2e1c
- add gating.yaml file
ea2e1c
ea2e1c
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-6
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
ea2e1c
ea2e1c
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ea2e1c
ea2e1c
* Sat Jul 10 2021 Björn Esser <besser82@fedoraproject.org> - 1.6.1-4
ea2e1c
- Rebuild for versioned symbols in json-c
ea2e1c
ea2e1c
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-3
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
ea2e1c
ea2e1c
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ea2e1c
ea2e1c
* Fri May 15 2020 Kalev Lember <klember@redhat.com> - 1.6.1-1
ea2e1c
- Update to 1.6.1
ea2e1c
- Tighten soname globs
ea2e1c
ea2e1c
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 1.5.0-2
ea2e1c
- Rebuild (json-c)
ea2e1c
ea2e1c
* Wed Feb 19 2020 Kalev Lember <klember@redhat.com> - 1.5.0-1
ea2e1c
- Update to 1.5.0
ea2e1c
ea2e1c
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ea2e1c
ea2e1c
* Fri Nov 29 2019 Kalev Lember <klember@redhat.com> - 1.4.0-2
ea2e1c
- Remove previous version ABI compat hack
ea2e1c
ea2e1c
* Tue Nov 12 2019 Kalev Lember <klember@redhat.com> - 1.4.0-1
ea2e1c
- Update to 1.4.0
ea2e1c
ea2e1c
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-13
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
ea2e1c
ea2e1c
* Thu Jun 13 2019 Kalev Lember <klember@redhat.com> - 1.3.0-12
ea2e1c
- Fix FTBFS with latest gegl04
ea2e1c
ea2e1c
* Sat Mar 09 2019 Nils Philippsen <nils@tiptoe.de> - 1.3.0-11
ea2e1c
- use python3-sphinx, python3-breathe for building documentation
ea2e1c
ea2e1c
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-10
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ea2e1c
ea2e1c
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-9
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ea2e1c
ea2e1c
* Wed May 02 2018 Nils Philippsen <nils@tiptoe.de> - 1.3.0-8
ea2e1c
- rebuild with gegl04
ea2e1c
ea2e1c
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 1.3.0-7
ea2e1c
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
ea2e1c
ea2e1c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-6
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ea2e1c
ea2e1c
* Wed Dec 13 2017 Björn Esser <besser82@fedoraproject.org> - 1.3.0-5
ea2e1c
- Rebuilt for libjson-c.so.3
ea2e1c
ea2e1c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ea2e1c
ea2e1c
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ea2e1c
ea2e1c
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
ea2e1c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ea2e1c
ea2e1c
* Fri Jan 27 2017 Nils Philippsen <nils@tiptoe.de> - 1.3.0-1
ea2e1c
- version 1.3.0 final
ea2e1c
- conflict with mypaint < 1.3.0
ea2e1c
- mention pkgconfig, introspection files explicitly
ea2e1c
ea2e1c
* Sun Jul 31 2016 Nils Philippsen <nils@tiptoe.de> - 1.3.0-0.2.beta.1
ea2e1c
- fix locale names 'ar_AR' -> 'ar'
ea2e1c
- fix build dependencies
ea2e1c
- fix summary and description texts
ea2e1c
- use current build and install macros
ea2e1c
- remove all .la files beneath %%_libdir
ea2e1c
- ship development documentation
ea2e1c
ea2e1c
* Sun Jul 31 2016 Nils Philippsen <nils@tiptoe.de> - 1.3.0-0.1.beta.1
ea2e1c
- initial release of 1.3.0-beta.1