]>
Commit | Line | Data |
---|---|---|
0c3189a0 MB |
1 | Summary: Experimental new features for GTK+ and GLib |
2 | Name: libdazzle | |
7696ce6e | 3 | Version: 3.30.2 |
0c3189a0 MB |
4 | Release: 1 |
5 | License: GPL v3 | |
6 | Group: X11/Libraries | |
7696ce6e JK |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libdazzle/3.30/%{name}-%{version}.tar.xz |
8 | # Source0-md5: 24e2e1b914a34f5b8868a9507d1f3c4c | |
0c3189a0 MB |
9 | BuildRequires: glib2-devel >= 2.56.0 |
10 | BuildRequires: gobject-introspection-devel | |
11 | BuildRequires: gtk+3-devel | |
12 | BuildRequires: gtk-doc | |
13 | BuildRequires: meson >= 0.40.1 | |
7696ce6e | 14 | BuildRequires: ninja |
0c3189a0 | 15 | BuildRequires: pkgconfig |
7696ce6e | 16 | BuildRequires: rpmbuild(macros) >= 1.727 |
0c3189a0 MB |
17 | BuildRequires: tar >= 1:1.22 |
18 | BuildRequires: vala | |
19 | BuildRequires: xz | |
20 | Requires: glib2-devel >= 2.56.0 | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | libdazzle is a collection of fancy features for GLib and Gtk+ that | |
25 | aren't quite ready or generic enough for use inside those libraries. | |
26 | This is often a proving ground for new widget prototypes. Applications | |
27 | such as Builder tend to drive development of this project. | |
28 | ||
29 | %package devel | |
30 | Summary: Header files for libdazzle library | |
31 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libdazzle | |
32 | Group: Development/Libraries | |
33 | Requires: %{name} = %{version}-%{release} | |
34 | Requires: glib2-devel >= 2.56.0 | |
35 | ||
36 | %description devel | |
37 | Header files for libdazzle library. | |
38 | ||
39 | %description devel -l pl.UTF-8 | |
40 | Pliki nagłówkowe biblioteki libdazzle. | |
41 | ||
42 | %package -n vala-libdazzle | |
43 | Summary: libdazzle API for Vala language | |
44 | Summary(pl.UTF-8): API libdazzle dla języka Vala | |
45 | Group: Development/Libraries | |
46 | Requires: %{name}-devel = %{version}-%{release} | |
47 | Requires: vala | |
48 | %if "%{_rpmversion}" >= "5" | |
49 | BuildArch: noarch | |
50 | %endif | |
51 | ||
52 | %description -n vala-libdazzle | |
53 | libdazzle API for Vala language. | |
54 | ||
55 | %description -n vala-libdazzle -l pl.UTF-8 | |
56 | API libdazzle dla języka Vala. | |
57 | ||
58 | %prep | |
59 | %setup -q | |
60 | ||
61 | %build | |
62 | %meson build | |
7696ce6e | 63 | %ninja_build -C build |
0c3189a0 MB |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
7696ce6e | 68 | %ninja_install -C build |
0c3189a0 MB |
69 | |
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc AUTHORS CONTRIBUTING.md NEWS README.md | |
79 | %attr(755,root,root) %{_bindir}/dazzle-list-counters | |
80 | %attr(755,root,root) %{_libdir}/libdazzle-1.0.so.0 | |
81 | %{_libdir}/girepository-1.0/Dazzle-1.0.typelib | |
82 | ||
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
85 | %attr(755,root,root) %{_libdir}/libdazzle-1.0.so | |
86 | %{_includedir}/libdazzle-1.0 | |
87 | %{_pkgconfigdir}/libdazzle-1.0.pc | |
88 | %{_datadir}/gir-1.0/Dazzle-1.0.gir | |
89 | ||
90 | %files -n vala-libdazzle | |
91 | %defattr(644,root,root,755) | |
92 | %{_datadir}/vala/vapi/libdazzle-1.0.deps | |
93 | %{_datadir}/vala/vapi/libdazzle-1.0.vapi |