Blame SPECS/libmypaint.spec

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