]>
Commit | Line | Data |
---|---|---|
8498f58c | 1 | Summary: IDE for writing GNOME-based software |
19c49b6b | 2 | Summary(pl.UTF-8): IDE do tworzenia oprogramowania opartego na GNOME |
8498f58c | 3 | Name: gnome-builder |
19c49b6b | 4 | Version: 3.16.3 |
8498f58c | 5 | Release: 1 |
19c49b6b | 6 | License: GPL v3+ |
8498f58c MB |
7 | Group: X11/Applications |
8 | Source0: https://download.gnome.org/sources/gnome-builder/3.16/%{name}-%{version}.tar.xz | |
19c49b6b | 9 | # Source0-md5: 186d75c5310c37c28061bc294ed0dd15 |
8498f58c MB |
10 | URL: https://wiki.gnome.org/Apps/Builder |
11 | BuildRequires: appstream-glib-devel | |
19c49b6b JB |
12 | BuildRequires: autoconf >= 2.69 |
13 | BuildRequires: automake >= 1:1.11 | |
8498f58c MB |
14 | BuildRequires: clang-devel |
15 | BuildRequires: devhelp-devel >= 3.16.0 | |
19c49b6b JB |
16 | # -std=gnu11 for C |
17 | BuildRequires: gcc >= 6:4.7 | |
18 | BuildRequires: gettext-tools | |
8498f58c MB |
19 | BuildRequires: gjs-devel >= 1.42.0 |
20 | BuildRequires: glib2-devel >= 1:2.44.0 | |
21 | BuildRequires: gnome-common | |
19c49b6b | 22 | BuildRequires: gobject-introspection-devel >= 1.42.0 |
8498f58c | 23 | BuildRequires: gtk+3-devel >= 3.16.1 |
19c49b6b | 24 | BuildRequires: gtk-doc >= 1.11 |
8498f58c MB |
25 | BuildRequires: gtksourceview3-devel >= 3.16.1 |
26 | BuildRequires: intltool >= 0.50.1 | |
27 | BuildRequires: libgit2-glib-devel >= 0.22.6 | |
19c49b6b JB |
28 | # C++11 |
29 | BuildRequires: libstdc++-devel >= 6:4.7 | |
30 | BuildRequires: libtool >= 2:2.2 | |
31 | BuildRequires: libxml2-devel >= 1:2.9.0 | |
8498f58c | 32 | BuildRequires: llvm-devel |
19c49b6b JB |
33 | BuildRequires: pkgconfig >= 1:0.22 |
34 | BuildRequires: python3-devel >= 1:3.2 | |
8498f58c MB |
35 | BuildRequires: python3-pygobject3-devel >= 3.0.0 |
36 | BuildRequires: rpmbuild(macros) >= 1.522 | |
37 | BuildRequires: tar >= 1:1.22 | |
38 | BuildRequires: xz | |
19c49b6b | 39 | Requires(post,postun): glib2 >= 1:2.44.0 |
8498f58c | 40 | Requires(post,postun): gtk-update-icon-cache |
19c49b6b | 41 | Requires: devhelp-libs >= 3.16.0 |
8498f58c MB |
42 | Requires: gjs >= 1.42.0 |
43 | Requires: glib2 >= 1:2.44.0 | |
44 | Requires: gtk+3 >= 3.16.1 | |
45 | Requires: gtksourceview3 >= 3.16.1 | |
46 | Requires: hicolor-icon-theme | |
47 | Requires: libgit2-glib >= 0.22.6 | |
19c49b6b JB |
48 | Requires: libxml2 >= 1:2.9.0 |
49 | Requires: python3-pygobject3 >= 3.0.0 | |
8498f58c MB |
50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
52 | %description | |
53 | Builder attempts to be an IDE for writing software for GNOME. It does | |
54 | not try to be a generic IDE, but one specialized for writing GNOME | |
55 | software. | |
56 | ||
19c49b6b JB |
57 | %description -l pl.UTF-8 |
58 | Builder jest próbą stworzenia IDE do rozwijania oprogramowania dla | |
59 | GNOME. Nie próbuje być ogólnym IDE, ale wyspecjalizowanym do pisania | |
60 | oprogramowania dla GNOME. | |
61 | ||
8498f58c MB |
62 | %package devel |
63 | Summary: Development files for GNOME Builder | |
19c49b6b | 64 | Summary(pl.UTF-8): Pliki programistyczne GNOME Buildera |
8498f58c | 65 | Group: Development/Libraries |
19c49b6b JB |
66 | Requires: glib2-devel >= 1:2.44.0 |
67 | Requires: gtk+3-devel >= 3.16.1 | |
68 | Requires: gtksourceview3-devel >= 3.16.1 | |
8498f58c MB |
69 | |
70 | %description devel | |
71 | This package provides development files for GNOME Builder. | |
72 | ||
19c49b6b JB |
73 | %description devel -l pl.UTF-8 |
74 | Ten pakiet zawiera pliki programistyczne GNOME Buildera. | |
75 | ||
76 | %package apidocs | |
77 | Summary: LibIDE API documentation | |
78 | Summary(pl.UTF-8): Dokumentacja API LibIDE | |
79 | Group: Documentation | |
80 | ||
81 | %description apidocs | |
82 | LibIDE API documentation. | |
83 | ||
84 | %description apidocs -l pl.UTF-8 | |
85 | Dokumentacja API LibIDE. | |
86 | ||
8498f58c MB |
87 | %prep |
88 | %setup -q | |
89 | ||
90 | %build | |
91 | %{__intltoolize} | |
92 | %{__libtoolize} | |
93 | %{__aclocal} -I build/autotools | |
94 | %{__autoconf} | |
95 | %{__autoheader} | |
96 | %{__automake} | |
97 | %configure \ | |
19c49b6b JB |
98 | --disable-silent-rules \ |
99 | --disable-static \ | |
100 | --with-html-dir=%{_gtkdocdir} | |
8498f58c MB |
101 | %{__make} |
102 | ||
103 | %install | |
104 | rm -rf $RPM_BUILD_ROOT | |
105 | ||
106 | %{__make} install \ | |
107 | DESTDIR=$RPM_BUILD_ROOT | |
108 | ||
19c49b6b JB |
109 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gnome-builder/*.la |
110 | #%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gnome-builder | |
8498f58c MB |
111 | |
112 | %find_lang %{name} | |
113 | ||
114 | %clean | |
115 | rm -rf $RPM_BUILD_ROOT | |
116 | ||
117 | %post | |
118 | %glib_compile_schemas | |
119 | %update_icon_cache hicolor | |
120 | ||
121 | %postun | |
122 | %glib_compile_schemas | |
123 | %update_icon_cache hicolor | |
124 | ||
125 | %files -f %{name}.lang | |
126 | %defattr(644,root,root,755) | |
127 | %doc AUTHORS NEWS README | |
128 | %attr(755,root,root) %{_bindir}/gnome-builder | |
19c49b6b JB |
129 | %dir %{_libdir}/gnome-builder |
130 | %attr(755,root,root) %{_libdir}/gnome-builder/libide-1.0.so | |
131 | %dir %{_libdir}/gnome-builder/girepository-1.0 | |
132 | %{_libdir}/gnome-builder/girepository-1.0/Ide-1.0.typelib | |
133 | %attr(755,root,root) %{_libdir}/gnome-builder/ide-build | |
134 | %attr(755,root,root) %{_libdir}/gnome-builder/ide-list-* | |
135 | %attr(755,root,root) %{_libdir}/gnome-builder/ide-mine-projects | |
136 | %attr(755,root,root) %{_libdir}/gnome-builder/ide-search | |
8498f58c | 137 | %{_datadir}/appdata/org.gnome.Builder.appdata.xml |
8498f58c | 138 | %{_datadir}/dbus-1/services/org.gnome.Builder.service |
19c49b6b JB |
139 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.gschema.xml |
140 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.code-insight.gschema.xml | |
8498f58c MB |
141 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.editor.gschema.xml |
142 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.editor.language.gschema.xml | |
8498f58c | 143 | %{_datadir}/glib-2.0/schemas/org.gnome.builder.project-tree.gschema.xml |
19c49b6b JB |
144 | %{_datadir}/gtksourceview-3.0/styles/builder*.xml |
145 | %{_desktopdir}/org.gnome.Builder.desktop | |
146 | %{_iconsdir}/hicolor/*x*/apps/builder.png | |
147 | %{_iconsdir}/hicolor/scalable/apps/builder-symbolic.svg | |
8498f58c MB |
148 | |
149 | %files devel | |
150 | %defattr(644,root,root,755) | |
151 | %{_datadir}/gir-1.0/Ide-1.0.gir | |
152 | %{_pkgconfigdir}/libide-1.0.pc | |
19c49b6b JB |
153 | |
154 | %files apidocs | |
155 | %defattr(644,root,root,755) | |
156 | %{_gtkdocdir}/libide |