]> git.pld-linux.org Git - packages/dspy.git/blob - dspy.spec
- updated to 1.2.0
[packages/dspy.git] / dspy.spec
1 # TODO: use gtk4-update-icon-cache
2 Summary:        Explore the D-Bus
3 Summary(pl.UTF-8):      Eksplorator szyny D-Bus
4 Name:           dspy
5 Version:        1.2.0
6 Release:        1
7 License:        GPL v3+
8 Group:          Development/Tools
9 Source0:        https://download.gnome.org/sources/dspy/1.2/%{name}-%{version}.tar.xz
10 # Source0-md5:  6353ae1fdd82cc44c7913d1c2ab1bd97
11 URL:            https://gitlab.gnome.org/GNOME/d-spy
12 BuildRequires:  glib2-devel >= 1:2.68
13 BuildRequires:  gtk4-devel >= 4.6
14 BuildRequires:  libadwaita-devel >= 1.0
15 BuildRequires:  meson >= 0.56.0
16 BuildRequires:  ninja >= 1.5
17 BuildRequires:  pkgconfig
18 BuildRequires:  rpmbuild(macros) >= 1.736
19 BuildRequires:  tar >= 1:1.22
20 BuildRequires:  xz
21 Requires(post,postun):  glib2 >= 1:2.68
22 Requires(post,postun):  gtk-update-icon-cache
23 Requires:       %{name}-libs = %{version}-%{release}
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 D-Spy is a tool to explore and test end-points and interfaces on the
28 System or Session D-Bus. You can also connect to D-Bus peers by
29 address. D-Spy was originally part of GNOME Builder.
30
31 %description -l pl.UTF-8
32 D-Spy to narzędzie do badania i testowania końcówek oraz interfejsów
33 systemowej lub sesyjnej szyny D-Bus. Pozwala także łączyć się z
34 partnerami szyny po adresie. D-Spy pierwotnie był częścią projektu
35 GNOME Builder.
36
37 %package libs
38 Summary:        D-Spy shared library
39 Summary(pl.UTF-8):      Biblioteka współdzielona D-Spy
40 License:        LGPL v3+
41 Group:          Libraries
42 Requires:       glib2 >= 1:2.68
43 Requires:       gtk4 >= 4.6
44 Requires:       libadwaita >= 1.0
45
46 %description libs
47 D-Spy shared library.
48
49 %description libs -l pl.UTF-8
50 Biblioteka współdzielona D-Spy.
51
52 %package devel
53 Summary:        Header files for D-Spy library
54 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki D-Spy
55 License:        LGPL v3+
56 Group:          Development/Libraries
57 Requires:       %{name}-libs = %{version}-%{release}
58 Requires:       glib2-devel >= 1:2.68
59 Requires:       gtk4-devel >= 4.6
60
61 %description devel
62 Header files for D-Spy library.
63
64 %description devel -l pl.UTF-8
65 Pliki nagłówkowe biblioteki D-Spy.
66
67 %package static
68 Summary:        D-Spy static library
69 Summary(pl.UTF-8):      Biblioteka statyczna D-Spy
70 License:        LGPL v3+
71 Group:          Development/Libraries
72 Requires:       %{name}-devel = %{version}-%{release}
73
74 %description static
75 D-Spy static library.
76
77 %description static -l pl.UTF-8
78 Biblioteka statyczna D-Spy.
79
80 %prep
81 %setup -q
82
83 %build
84 %meson build
85
86 %ninja_build -C build
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %ninja_install -C build
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post
97 %glib_compile_schemas
98 %update_icon_cache hicolor
99
100 %postun
101 %glib_compile_schemas
102 %update_icon_cache hicolor
103
104 %post   libs -p /sbin/ldconfig
105 %postun libs -p /sbin/ldconfig
106
107 %files
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_bindir}/d-spy
110 %{_datadir}/appdata/org.gnome.dspy.appdata.xml
111 %{_datadir}/glib-2.0/schemas/org.gnome.dspy.gschema.xml
112 %{_desktopdir}/org.gnome.dspy.desktop
113 %{_iconsdir}/hicolor/scalable/apps/org.gnome.dspy.svg
114 %{_iconsdir}/hicolor/scalable/apps/org.gnome.dspy.devel.svg
115 %{_iconsdir}/hicolor/symbolic/apps/org.gnome.dspy-symbolic.svg
116
117 %files libs
118 %defattr(644,root,root,755)
119 %attr(755,root,root) %{_libdir}/libdspy-1.so.*.*.*
120 %attr(755,root,root) %ghost %{_libdir}/libdspy-1.so.1
121
122 %files devel
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/libdspy-1.so
125 %{_includedir}/dspy-1
126
127 %files static
128 %defattr(644,root,root,755)
129 %{_libdir}/libdspy-1.a
This page took 0.113937 seconds and 3 git commands to generate.