1 | Summary: Develop software for GNOME |
---|
2 | Summary(ja): GNOME 用統合開発環境 |
---|
3 | Name: gnome-builder |
---|
4 | Version: 3.36.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Group: programming,desktop-gnome |
---|
7 | Vendor: Project Vine |
---|
8 | Distribution: Vine Linux |
---|
9 | |
---|
10 | License: GPLv3 |
---|
11 | URL: https://wiki.gnome.org/Apps/Builder |
---|
12 | %global shortver %(echo %{version} | cut -d . -f 1,2) |
---|
13 | Source: https://download.gnome.org/sources/gnome-builder/%{shortver}/%{name}-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | BuildRequires: clang-devel |
---|
18 | BuildRequires: desktop-file-utils |
---|
19 | BuildRequires: enchant2-devel |
---|
20 | BuildRequires: gtk3-devel |
---|
21 | BuildRequires: gtksourceview4-devel |
---|
22 | BuildRequires: devhelp-devel |
---|
23 | BuildRequires: glade3-devel |
---|
24 | BuildRequires: glib2-devel |
---|
25 | BuildRequires: gspell-devel |
---|
26 | BuildRequires: itstool |
---|
27 | BuildRequires: json-glib-devel |
---|
28 | BuildRequires: jsonrpc-glib-devel |
---|
29 | BuildRequires: libdazzle-devel |
---|
30 | BuildRequires: libgit2-glib-devel |
---|
31 | BuildRequires: libpeas-devel |
---|
32 | BuildRequires: llvm-devel |
---|
33 | BuildRequires: meson |
---|
34 | BuildRequires: pango-devel |
---|
35 | BuildRequires: pcre2-devel |
---|
36 | BuildRequires: pygobject3-devel |
---|
37 | BuildRequires: python3-devel |
---|
38 | BuildRequires: python3-pygobject |
---|
39 | BuildRequires: python3-rpm-macros |
---|
40 | BuildRequires: template-glib-devel |
---|
41 | BuildRequires: vte3-devel |
---|
42 | BuildRequires: webkitgtk4-devel |
---|
43 | |
---|
44 | Requires(postun,posttrans): desktop-file-utils |
---|
45 | Requires(postun,posttrans): glib2 |
---|
46 | |
---|
47 | %description |
---|
48 | Builder is a new IDE for GNOME that is focused on bringing the power |
---|
49 | of our platform to more developers than ever before. |
---|
50 | |
---|
51 | %description -l ja |
---|
52 | gnome-builder はより多くの開発者にGNOMEのプラットフォーム力をもたらすことに |
---|
53 | 焦点を当てた新しい統合開発環境です。 |
---|
54 | |
---|
55 | |
---|
56 | %package devel |
---|
57 | Summary: Development tools for %{name} |
---|
58 | Summary(ja): %{name} の開発環境 |
---|
59 | Group: programming,desktop-gnome |
---|
60 | Requires: %{name} = %{version}-%{release} |
---|
61 | Requires: pkgconfig |
---|
62 | |
---|
63 | %description devel |
---|
64 | Header files and libraries for building a extension library for the %{name}. |
---|
65 | |
---|
66 | |
---|
67 | %prep |
---|
68 | %setup -q |
---|
69 | |
---|
70 | %build |
---|
71 | %meson \ |
---|
72 | -Dplugin_flatpak=false \ |
---|
73 | -Dplugin_sysprof=false \ |
---|
74 | -Dplugin_update_manager=false |
---|
75 | %meson_build |
---|
76 | |
---|
77 | |
---|
78 | %install |
---|
79 | rm -rf $RPM_BUILD_ROOT |
---|
80 | |
---|
81 | %meson_install |
---|
82 | |
---|
83 | rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} |
---|
84 | |
---|
85 | %find_lang %{name} --with-gnome |
---|
86 | |
---|
87 | |
---|
88 | %clean |
---|
89 | rm -rf $RPM_BUILD_ROOT |
---|
90 | |
---|
91 | |
---|
92 | %post |
---|
93 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
94 | |
---|
95 | %postun |
---|
96 | if [ $1 -eq 0 ]; then |
---|
97 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
98 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
99 | update-desktop-database -q &> /dev/null ||: |
---|
100 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
101 | fi |
---|
102 | |
---|
103 | %posttrans |
---|
104 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
105 | update-desktop-database -q &> /dev/null ||: |
---|
106 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
107 | |
---|
108 | |
---|
109 | %files -f %{name}.lang |
---|
110 | %defattr(-,root,root,-) |
---|
111 | %license COPYING |
---|
112 | %doc README.md NEWS |
---|
113 | %{_bindir}/%{name} |
---|
114 | %exclude %{_libdir}/gnome-builder/pkgconfig/ |
---|
115 | %{_libdir}/gnome-builder/ |
---|
116 | %{_libexecdir}/gnome-builder-clang |
---|
117 | %{_libexecdir}/gnome-builder-git |
---|
118 | %{python3_sitearch}/gi/overrides/Ide.py |
---|
119 | %{_datadir}/metainfo/org.gnome.Builder.appdata.xml |
---|
120 | %{_datadir}/applications/org.gnome.Builder.desktop |
---|
121 | %{_datadir}/dbus-1/services/org.gnome.Builder.service |
---|
122 | %{_datadir}/glib-2.0/schemas/org.gnome.builder*.gschema.xml |
---|
123 | %exclude %{_datadir}/gnome-builder/gir-1.0/ |
---|
124 | %{_datadir}/gnome-builder/ |
---|
125 | %{_datadir}/gtksourceview-3.0/styles/*.xml |
---|
126 | %{_datadir}/gtksourceview-4/styles/*.xml |
---|
127 | %{_datadir}/icons/*/*/*/* |
---|
128 | |
---|
129 | %files devel |
---|
130 | %defattr(-,root,root,-) |
---|
131 | %{_includedir}/%{name}* |
---|
132 | %{_libdir}/%{name}/pkgconfig |
---|
133 | %{_datadir}/%{name}/gir-1.0 |
---|
134 | |
---|
135 | |
---|
136 | %changelog |
---|
137 | * Sat Aug 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.1-1 |
---|
138 | - new upstream release. |
---|
139 | |
---|
140 | * Tue May 05 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.0-1 |
---|
141 | - new upstream release. |
---|
142 | |
---|
143 | * Tue Aug 21 2018 Toshiaki Ara <ara_t@384.jp> 3.20.4-2 |
---|
144 | - rebuild with libgit2-0.27.4 |
---|
145 | |
---|
146 | * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.4-1 |
---|
147 | - new upstream release |
---|
148 | - add BuildRequires: desktop-file-utils |
---|
149 | |
---|
150 | * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
151 | - new upstream release |
---|
152 | - add BuildRequires: libpeas-devel |
---|
153 | |
---|
154 | * Sat May 23 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.3-1 |
---|
155 | - new upstream release |
---|
156 | |
---|
157 | * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1 |
---|
158 | - new upstream release |
---|
159 | |
---|
160 | * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
161 | - initial build |
---|
162 | |
---|