Skip to content

Commit 893c74b

Browse files
committed
Upgrade: clutter to Fedora 41
1 parent be5bb3f commit 893c74b

File tree

1 file changed

+80
-54
lines changed

1 file changed

+80
-54
lines changed

SPECS-EXTENDED/clutter/clutter.spec

+80-54
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,89 @@
1+
%global with_tests 1
2+
13
%global glib2_version 2.53.4
24
%global cogl_version 1.21.2
35
%global json_glib_version 0.12.0
46
%global cairo_version 1.14.0
57
%global libinput_version 0.19.0
6-
Summary: Open Source software library for creating rich graphical user interfaces
7-
Name: clutter
8-
Version: 1.26.4
9-
Release: 10%{?dist}
10-
License: LGPL-2.0-or-later
8+
119
Vendor: Microsoft Corporation
1210
Distribution: Azure Linux
13-
URL: https://www.clutter-project.org/
14-
Source0: https://download.gnome.org/sources/%{name}/1.26/%{name}-%{version}.tar.xz
15-
BuildRequires: gettext
16-
BuildRequires: make
17-
BuildRequires: mesa-libEGL-devel
18-
BuildRequires: mesa-libGL-devel
19-
BuildRequires: pkgconfig
20-
BuildRequires: systemd-devel
21-
BuildRequires: pkgconfig(atk)
22-
BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version}
23-
BuildRequires: pkgconfig(cogl-1.0) >= %{cogl_version}
24-
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
25-
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
26-
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0
27-
BuildRequires: pkgconfig(gdk-3.0)
28-
BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
29-
BuildRequires: pkgconfig(pangocairo)
30-
BuildRequires: pkgconfig(xcomposite)
31-
BuildRequires: pkgconfig(xdamage)
32-
BuildRequires: pkgconfig(xi)
33-
BuildRequires: pkgconfig(gudev-1.0)
34-
BuildRequires: pkgconfig(libinput) >= %{libinput_version}
35-
BuildRequires: pkgconfig(wayland-client)
36-
BuildRequires: pkgconfig(wayland-cursor)
37-
BuildRequires: pkgconfig(wayland-server)
38-
BuildRequires: pkgconfig(xkbcommon)
39-
Requires: cairo%{?_isa} >= %{cairo_version}
40-
Requires: cogl%{?_isa} >= %{cogl_version}
41-
Requires: glib2%{?_isa} >= %{glib2_version}
42-
Requires: json-glib%{?_isa} >= %{json_glib_version}
43-
Requires: libinput%{?_isa} >= %{libinput_version}
44-
Recommends: mesa-dri-drivers%{?_isa}
11+
Name: clutter
12+
Version: 1.26.4
13+
Release: 15%{?dist}
14+
Summary: Open Source software library for creating rich graphical user interfaces
15+
16+
License: LGPLv2+
17+
URL: http://www.clutter-project.org/
18+
Source0: https://download.gnome.org/sources/%{name}/1.26/%{name}-%{version}.tar.xz
19+
20+
BuildRequires: gettext
21+
BuildRequires: pkgconfig(atk)
22+
BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version}
23+
BuildRequires: pkgconfig(cogl-1.0) >= %{cogl_version}
24+
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
25+
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
26+
BuildRequires: pkgconfig(gobject-introspection-1.0) >= 1.39.0
27+
BuildRequires: pkgconfig(gdk-3.0)
28+
BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
29+
BuildRequires: pkgconfig(pangocairo)
30+
BuildRequires: pkgconfig(xcomposite)
31+
BuildRequires: pkgconfig(xdamage)
32+
BuildRequires: pkgconfig(xi)
33+
BuildRequires: mesa-libEGL-devel
34+
BuildRequires: mesa-libGL-devel
35+
BuildRequires: systemd-devel
36+
BuildRequires: pkgconfig(gudev-1.0)
37+
BuildRequires: pkgconfig(libinput) >= %{libinput_version}
38+
BuildRequires: pkgconfig(wayland-client)
39+
BuildRequires: pkgconfig(wayland-cursor)
40+
BuildRequires: pkgconfig(wayland-server)
41+
BuildRequires: pkgconfig(xkbcommon)
42+
BuildRequires: make
43+
44+
Requires: cairo%{?_isa} >= %{cairo_version}
45+
Requires: cogl%{?_isa} >= %{cogl_version}
46+
Requires: glib2%{?_isa} >= %{glib2_version}
47+
Requires: json-glib%{?_isa} >= %{json_glib_version}
48+
Requires: libinput%{?_isa} >= %{libinput_version}
49+
50+
Recommends: mesa-dri-drivers%{?_isa}
4551

4652
%description
4753
Clutter is an open source software library for creating fast,
4854
visually rich graphical user interfaces. The most obvious example
4955
of potential usage is in media center type applications.
5056
We hope however it can be used for a lot more.
5157

52-
%package devel
53-
Summary: Clutter development environment
54-
Requires: %{name}%{?_isa} = %{version}-%{release}
58+
%package devel
59+
Summary: Clutter development environment
60+
Requires: %{name}%{?_isa} = %{version}-%{release}
5561

56-
%description devel
62+
%description devel
5763
Header files and libraries for building a extension library for the
5864
clutter
5965

60-
%package doc
61-
Summary: Documentation for %{name}
62-
Requires: %{name} = %{version}-%{release}
66+
%package doc
67+
Summary: Documentation for %{name}
68+
Requires: %{name} = %{version}-%{release}
6369

64-
%description doc
70+
%description doc
6571
Clutter is an open source software library for creating fast,
6672
visually rich graphical user interfaces. The most obvious example
6773
of potential usage is in media center type applications.
6874
We hope however it can be used for a lot more.
6975

7076
This package contains documentation for clutter.
7177

72-
%package tests
73-
Summary: Tests for the clutter package
74-
Requires: %{name}%{?_isa} = %{version}-%{release}
78+
%if 0%{?with_tests}
79+
%package tests
80+
Summary: Tests for the clutter package
81+
Requires: %{name}%{?_isa} = %{version}-%{release}
7582

76-
%description tests
83+
%description tests
7784
The clutter-tests package contains tests that can be used to verify
7885
the functionality of the installed clutter package.
86+
%endif
7987

8088
%prep
8189
%autosetup -p1
@@ -84,19 +92,19 @@ the functionality of the installed clutter package.
8492
%configure \
8593
--enable-xinput \
8694
--enable-gdk-backend \
87-
--enable-installed-tests \
95+
%{?with_tests:--enable-installed-tests} \
8896
--enable-egl-backend \
8997
--enable-evdev-input \
9098
--enable-wayland-backend \
9199
--enable-wayland-compositor
92100

93-
%make_build
101+
make %{?_smp_mflags} V=1
94102

95103
%install
96104
%make_install
97105

98106
#Remove libtool archives.
99-
find %{buildroot} -type f -name "*.la" -delete -print
107+
find %{buildroot} -name '*.la' -delete
100108

101109
%find_lang clutter-1.0
102110

@@ -123,15 +131,32 @@ find %{buildroot} -type f -name "*.la" -delete -print
123131
%dir %{_datadir}/gtk-doc/html
124132
%{_datadir}/gtk-doc/html/clutter
125133

134+
%if 0%{?with_tests}
126135
%files tests
127136
%{_libexecdir}/installed-tests/clutter
128137
%{_datadir}/installed-tests
138+
%endif
129139

130140
%changelog
131-
* Thu Jan 05 2023 Sumedh Sharma <sumsharma@microsoft.com> - 1.26.4-10
132-
- Initial CBL-Mariner import from Fedora 37 (license: MIT)
141+
* Mon Jan 27 2025 Archana Shettigar <v-shettigara@microsoft.com> - 1.26.4-15
142+
- Initial Azure Linux import from Fedora 41 (license: MIT)
133143
- License verified
134144

145+
* Wed Jul 17 2024 Fedora Release Engineering <[email protected]> - 1.26.4-14
146+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
147+
148+
* Wed Jan 24 2024 Fedora Release Engineering <[email protected]> - 1.26.4-13
149+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
150+
151+
* Fri Jan 19 2024 Fedora Release Engineering <[email protected]> - 1.26.4-12
152+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
153+
154+
* Wed Jul 19 2023 Fedora Release Engineering <[email protected]> - 1.26.4-11
155+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
156+
157+
* Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 1.26.4-10
158+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
159+
135160
* Wed Jul 20 2022 Fedora Release Engineering <[email protected]> - 1.26.4-9
136161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
137162

@@ -759,6 +784,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
759784
* Tue Feb 24 2009 Fedora Release Engineering <[email protected]> - 0.8.6-4
760785
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
761786

787+
762788
* Wed Jan 21 2009 Allisson Azevedo <[email protected]> 0.8.6-3
763789
- Remove noarch from doc subpackage
764790

0 commit comments

Comments
 (0)