1
+ %global with_tests 1
2
+
1
3
%global glib2_version 2.53.4
2
4
%global cogl_version 1.21.2
3
5
%global json_glib_version 0.12.0
4
6
%global cairo_version 1.14.0
5
7
%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
+
11
9
Vendor: Microsoft Corporation
12
10
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 }
45
51
46
52
%description
47
53
Clutter is an open source software library for creating fast,
48
54
visually rich graphical user interfaces. The most obvious example
49
55
of potential usage is in media center type applications.
50
56
We hope however it can be used for a lot more.
51
57
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 }
55
61
56
- %description devel
62
+ %description devel
57
63
Header files and libraries for building a extension library for the
58
64
clutter
59
65
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 }
63
69
64
- %description doc
70
+ %description doc
65
71
Clutter is an open source software library for creating fast,
66
72
visually rich graphical user interfaces. The most obvious example
67
73
of potential usage is in media center type applications.
68
74
We hope however it can be used for a lot more.
69
75
70
76
This package contains documentation for clutter.
71
77
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 }
75
82
76
- %description tests
83
+ %description tests
77
84
The clutter-tests package contains tests that can be used to verify
78
85
the functionality of the installed clutter package.
86
+ %endif
79
87
80
88
%prep
81
89
%autosetup -p1
@@ -84,19 +92,19 @@ the functionality of the installed clutter package.
84
92
%configure \
85
93
--enable-xinput \
86
94
--enable-gdk-backend \
87
- --enable-installed-tests \
95
+ %{ ? with_tests: --enable-installed-tests} \
88
96
--enable-egl-backend \
89
97
--enable-evdev-input \
90
98
--enable-wayland-backend \
91
99
--enable-wayland-compositor
92
100
93
- % make_build
101
+ make %{? _smp_mflags } V = 1
94
102
95
103
%install
96
104
%make_install
97
105
98
106
#Remove libtool archives.
99
- find %{buildroot } -type f - name " *.la" -delete -print
107
+ find %{buildroot } -name ' *.la' -delete
100
108
101
109
%find_lang clutter-1.0
102
110
@@ -123,15 +131,32 @@ find %{buildroot} -type f -name "*.la" -delete -print
123
131
%dir %{_datadir }/gtk-doc/html
124
132
%{_datadir }/gtk-doc/html/clutter
125
133
134
+ %if 0%{?with_tests }
126
135
%files tests
127
136
%{_libexecdir }/installed-tests/clutter
128
137
%{_datadir }/installed-tests
138
+ %endif
129
139
130
140
%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)
133
143
- License verified
134
144
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
+
135
160
*
Wed Jul 20 2022 Fedora Release Engineering <[email protected] > -
1.26.4-9
136
161
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
137
162
@@ -759,6 +784,7 @@ find %{buildroot} -type f -name "*.la" -delete -print
759
784
*
Tue Feb 24 2009 Fedora Release Engineering <[email protected] > -
0.8.6-4
760
785
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
761
786
787
+
762
788
*
Wed Jan 21 2009 Allisson Azevedo <[email protected] > 0.8.6-3
763
789
- Remove noarch from doc subpackage
764
790
0 commit comments