]>
Commit | Line | Data |
---|---|---|
8498f58c MB |
1 | Summary: IDE for writing GNOME-based software |
2 | Name: gnome-builder | |
3 | Version: 3.16.2 | |
4 | Release: 1 | |
5 | License: GPL v3 | |
6 | Group: X11/Applications | |
7 | Source0: https://download.gnome.org/sources/gnome-builder/3.16/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: c7365fee143c2d4e95977e6b85dcfd7a | |
9 | URL: https://wiki.gnome.org/Apps/Builder | |
10 | BuildRequires: appstream-glib-devel | |
11 | BuildRequires: autoconf >= 2.60 | |
12 | BuildRequires: automake | |
13 | BuildRequires: clang-devel | |
14 | BuildRequires: devhelp-devel >= 3.16.0 | |
15 | BuildRequires: gjs-devel >= 1.42.0 | |
16 | BuildRequires: glib2-devel >= 1:2.44.0 | |
17 | BuildRequires: gnome-common | |
18 | BuildRequires: gobject-introspection-devel >= 1.30.0 | |
19 | BuildRequires: gtk+3-devel >= 3.16.1 | |
20 | BuildRequires: gtksourceview3-devel >= 3.16.1 | |
21 | BuildRequires: intltool >= 0.50.1 | |
22 | BuildRequires: libgit2-glib-devel >= 0.22.6 | |
23 | BuildRequires: libtool | |
24 | BuildRequires: llvm-devel | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: python3-devel | |
27 | BuildRequires: python3-pygobject3-devel >= 3.0.0 | |
28 | BuildRequires: rpmbuild(macros) >= 1.522 | |
29 | BuildRequires: tar >= 1:1.22 | |
30 | BuildRequires: xz | |
31 | Requires(post,postun): glib2 >= 1:2.36.0 | |
32 | Requires(post,postun): gtk-update-icon-cache | |
33 | Requires: gjs >= 1.42.0 | |
34 | Requires: glib2 >= 1:2.44.0 | |
35 | Requires: gtk+3 >= 3.16.1 | |
36 | Requires: gtksourceview3 >= 3.16.1 | |
37 | Requires: hicolor-icon-theme | |
38 | Requires: libgit2-glib >= 0.22.6 | |
39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
40 | ||
41 | %description | |
42 | Builder attempts to be an IDE for writing software for GNOME. It does | |
43 | not try to be a generic IDE, but one specialized for writing GNOME | |
44 | software. | |
45 | ||
46 | %package devel | |
47 | Summary: Development files for GNOME Builder | |
48 | Group: Development/Libraries | |
49 | ||
50 | %description devel | |
51 | This package provides development files for GNOME Builder. | |
52 | ||
53 | %prep | |
54 | %setup -q | |
55 | ||
56 | %build | |
57 | %{__intltoolize} | |
58 | %{__libtoolize} | |
59 | %{__aclocal} -I build/autotools | |
60 | %{__autoconf} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
63 | %configure \ | |
64 | --disable-silent-rules | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %{__make} install \ | |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
73 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
74 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gnome-builder | |
75 | ||
76 | %find_lang %{name} | |
77 | ||
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %post | |
82 | %glib_compile_schemas | |
83 | %update_icon_cache hicolor | |
84 | ||
85 | %postun | |
86 | %glib_compile_schemas | |
87 | %update_icon_cache hicolor | |
88 | ||
89 | %files -f %{name}.lang | |
90 | %defattr(644,root,root,755) | |
91 | %doc AUTHORS NEWS README | |
92 | %attr(755,root,root) %{_bindir}/gnome-builder | |
93 | %attr(755,root,root) %{_libdir}/libide-1.0.so | |
94 | %{_libdir}/girepository-1.0/Ide-1.0.typelib | |
95 | %{_datadir}/appdata/org.gnome.Builder.appdata.xml | |
96 | %{_desktopdir}/org.gnome.Builder.desktop | |
97 | %{_datadir}/dbus-1/services/org.gnome.Builder.service | |
98 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.editor.gschema.xml | |
99 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.editor.language.gschema.xml | |
100 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.experimental.gschema.xml | |
101 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.project-tree.gschema.xml | |
102 | %{_datadir}/gtksourceview-3.0/styles/*.xml | |
103 | %{_iconsdir}/hicolor/*/*/*.png | |
104 | %{_iconsdir}/hicolor/*/*/*.svg | |
105 | ||
106 | %files devel | |
107 | %defattr(644,root,root,755) | |
108 | %{_datadir}/gir-1.0/Ide-1.0.gir | |
109 | %{_pkgconfigdir}/libide-1.0.pc |