[12446] | 1 | %bcond_with tests |
---|
| 2 | |
---|
| 3 | Summary: Thin layer of types for graphic libraries |
---|
| 4 | Name: graphene |
---|
| 5 | Version: 1.10.2 |
---|
| 6 | Release: 2%{?_dist_release} |
---|
| 7 | Vendor: Project Vine |
---|
| 8 | Distribution: Vine Linux |
---|
| 9 | |
---|
| 10 | License: MIT |
---|
| 11 | URL: https://github.com/ebassi/graphene |
---|
| 12 | Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz |
---|
| 13 | |
---|
| 14 | BuildRequires: gcc |
---|
| 15 | BuildRequires: gobject-introspection-devel |
---|
| 16 | BuildRequires: gtk-doc |
---|
| 17 | BuildRequires: meson >= 0.50.1 |
---|
| 18 | BuildRequires: pkgconfig(gobject-2.0) >= 2.30.0 |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | Graphene provides a small set of mathematical types needed to implement graphic |
---|
| 22 | libraries that deal with 2D and 3D transformations and projections. |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
| 27 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 28 | |
---|
| 29 | %description devel |
---|
| 30 | The %{name}-devel package contains libraries and header files for |
---|
| 31 | developing applications that use %{name}. |
---|
| 32 | |
---|
| 33 | %if %{with tests} |
---|
| 34 | %package tests |
---|
| 35 | Summary: Tests for the %{name} package |
---|
| 36 | Requires: %{name}%{?_isa} = %{version}-%{release} |
---|
| 37 | |
---|
| 38 | %description tests |
---|
| 39 | The %{name}-tests package contains tests that can be used to verify |
---|
| 40 | the functionality of the installed %{name} package. |
---|
| 41 | %endif |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %autosetup -p1 |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %meson \ |
---|
| 49 | -Dgtk_doc=true \ |
---|
| 50 | %if !%{with tests} |
---|
| 51 | -Dtests=false \ |
---|
| 52 | -Dinstalled_tests=false |
---|
| 53 | %endif |
---|
| 54 | %{nil} |
---|
| 55 | %meson_build |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | %meson_install |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %license LICENSE.txt |
---|
| 64 | %doc README.md |
---|
| 65 | %{_libdir}/girepository-1.0/ |
---|
| 66 | %{_libdir}/libgraphene-1.0.so.0* |
---|
| 67 | |
---|
| 68 | %files devel |
---|
| 69 | %{_includedir}/graphene-1.0/ |
---|
| 70 | %dir %{_libdir}/graphene-1.0 |
---|
| 71 | %{_libdir}/graphene-1.0/include/ |
---|
| 72 | %{_libdir}/libgraphene-1.0.so |
---|
| 73 | %{_libdir}/pkgconfig/graphene-1.0.pc |
---|
| 74 | %{_libdir}/pkgconfig/graphene-gobject-1.0.pc |
---|
| 75 | %{_datadir}/gir-1.0/ |
---|
| 76 | %{_datadir}/gtk-doc/ |
---|
| 77 | |
---|
| 78 | %if %{with tests} |
---|
| 79 | %files tests |
---|
| 80 | %{_libexecdir}/installed-tests/ |
---|
| 81 | %{_datadir}/installed-tests/ |
---|
| 82 | %endif |
---|
| 83 | |
---|
| 84 | |
---|
| 85 | %changelog |
---|
| 86 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.10.2-2 |
---|
| 87 | - initial build for Vine Linux. |
---|
| 88 | |
---|
| 89 | * Mon Jun 22 2020 Kalev Lember <klember@redhat.com> - 1.10.2-1 |
---|
| 90 | - Update to 1.10.2 |
---|
| 91 | - Enable gtk-doc support |
---|
| 92 | |
---|
| 93 | * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-2 |
---|
| 94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
---|
| 95 | |
---|
| 96 | * Sun Sep 08 2019 Kalev Lember <klember@redhat.com> - 1.10.0-1 |
---|
| 97 | - Update to 1.10.0 |
---|
| 98 | |
---|
| 99 | * Tue Aug 13 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.9.6-1 |
---|
| 100 | - Update to 1.9.6 |
---|
| 101 | |
---|
| 102 | * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.4-2 |
---|
| 103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
| 104 | |
---|
| 105 | * Wed Jun 19 2019 Kalev Lember <klember@redhat.com> - 1.9.4-1 |
---|
| 106 | - Update to 1.9.4 |
---|
| 107 | |
---|
| 108 | * Tue May 14 2019 Kalev Lember <klember@redhat.com> - 1.9.2-1 |
---|
| 109 | - Update to 1.9.2 |
---|
| 110 | |
---|
| 111 | * Tue May 07 2019 Kalev Lember <klember@redhat.com> - 1.9.1-0.1.git5a4531b |
---|
| 112 | - Update to 1.9.1 git snapshot |
---|
| 113 | |
---|
| 114 | * Tue Mar 05 2019 Kalev Lember <klember@redhat.com> - 1.8.6-1 |
---|
| 115 | - Update to 1.8.6 |
---|
| 116 | |
---|
| 117 | * Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.4-1 |
---|
| 118 | - Update to 1.8.4 |
---|
| 119 | |
---|
| 120 | * Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-3 |
---|
| 121 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
---|
| 122 | |
---|
| 123 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.2-2 |
---|
| 124 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
---|
| 125 | |
---|
| 126 | * Tue Jun 26 2018 Kalev Lember <klember@redhat.com> - 1.8.2-1 |
---|
| 127 | - Update to 1.8.2 |
---|
| 128 | |
---|
| 129 | * Fri Feb 23 2018 Kalev Lember <klember@redhat.com> - 1.8.0-1 |
---|
| 130 | - Update to 1.8.0 |
---|
| 131 | - Drop ldconfig scriptlets |
---|
| 132 | |
---|
| 133 | * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4 |
---|
| 134 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
---|
| 135 | |
---|
| 136 | * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-3 |
---|
| 137 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
---|
| 138 | |
---|
| 139 | * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2 |
---|
| 140 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
---|
| 141 | |
---|
| 142 | * Thu Mar 02 2017 Kalev Lember <klember@redhat.com> - 1.6.0-1 |
---|
| 143 | - Update to 1.6.0 |
---|
| 144 | |
---|
| 145 | * Mon Feb 27 2017 Kalev Lember <klember@redhat.com> - 1.5.4-3 |
---|
| 146 | - Build for ppc64 again now that gcc ICE is fixed |
---|
| 147 | |
---|
| 148 | * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-2 |
---|
| 149 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
---|
| 150 | |
---|
| 151 | * Tue Jan 10 2017 Kalev Lember <klember@redhat.com> - 1.5.4-1 |
---|
| 152 | - Update to 1.5.4 |
---|
| 153 | |
---|
| 154 | * Mon Jan 02 2017 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 1.5.2-1 |
---|
| 155 | - Update to 1.5.2 |
---|
| 156 | |
---|
| 157 | * Tue Nov 22 2016 Kalev Lember <klember@redhat.com> - 1.5.1-0.2.git8a7a4a3 |
---|
| 158 | - Install installed tests to libexecdir (#1397317) |
---|
| 159 | |
---|
| 160 | * Tue Nov 22 2016 Kalev Lember <klember@redhat.com> - 1.5.1-0.1.git8a7a4a3 |
---|
| 161 | - Initial Fedora packaging |
---|