Blame gnome-builder.spec

87f5774
%global shortver %(v=%{version}; echo ${v%.*})
87f5774
a1b7131
Name:    gnome-builder
1d52ec9
Version: 3.21.1
835e922
Release: 2%{?dist}
a1b7131
Summary: IDE for writing GNOME-based software
a1b7131
a1b7131
Group:   Applications/Editors
Igor Gnatenko eb99ccf
# Note: Checked as of 3.20.2
a1b7131
#
a1b7131
# Most of GNOME Builder is licensed under the GPLv3+.
a1b7131
#
Igor Gnatenko eb99ccf
# Others are easy to identify
a1b7131
#
a1b7131
# The following files are MIT licensed:
a1b7131
#     - src/resources/css/markdown.css
a1b7131
#     - src/resources/js/marked.js
a1b7131
#
a1b7131
# The following files are licensed under the CC-BY-SA license:
a1b7131
#     - data/icons/
a1b7131
#
a1b7131
# The following files are licensed under the CC0 license:
a1b7131
#     - data/org.gnome.Builder.appdata.xml
a1b7131
#     - data/html-preview.png
a1b7131
License: GPLv3+ and GPLv2+ and LGPLv3+ and LGPLv2+ and MIT and CC-BY-SA and CC0
a1b7131
URL:     https://wiki.gnome.org/Apps/Builder
a1b7131
#VCS:    git:git://git.gnome.org/gnome-builder
87f5774
Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
ddcbf2b
c132743
BuildRequires: vala-devel /usr/bin/vapigen
a1b7131
BuildRequires: desktop-file-utils
a1b7131
BuildRequires: intltool
a1b7131
BuildRequires: pkgconfig(gtk+-3.0)
a1b7131
BuildRequires: pkgconfig(gtksourceview-3.0)
a1b7131
BuildRequires: pkgconfig(libdevhelp-3.0)
a1b7131
BuildRequires: pkgconfig(libgit2-glib-1.0)
b8db4ea
BuildRequires: pkgconfig(libpeas-1.0)
ea964b3
BuildRequires: pkgconfig(pygobject-3.0) >= 3.19.2
b8db4ea
BuildRequires: pkgconfig(vte-2.91)
a1b7131
BuildRequires: /usr/bin/appstream-util
87f5774
BuildRequires: llvm-devel
87f5774
BuildRequires: clang-devel
615eda8
BuildRequires: python3-devel
14df692
BuildRequires: gtk-doc
e7dd838
Recommends:    python3-jedi
a1b7131
a1b7131
%description
a1b7131
Builder attempts to be an IDE for writing software for GNOME. It does not try
a1b7131
to be a generic IDE, but one specialized for writing GNOME software.
a1b7131
cd6350f
%package        devel
cd6350f
Summary:        Development files for %{name}
cd6350f
Requires:       %{name}%{?_isa} = %{version}-%{release}
cd6350f
cd6350f
%description    devel
cd6350f
The %{name}-devel package contains libraries and header files for
cd6350f
developing applications that use %{name}.
cd6350f
a1b7131
%prep
ddcbf2b
%autosetup -p1
a1b7131
a1b7131
%build
2c2c916
%configure --disable-static
14df692
%make_build V=1
a1b7131
a1b7131
%install
afbf93a
%make_install
2c2c916
find %{buildroot} -name '*.la' -delete
ea964b3
%find_lang %{name}
cd6350f
a1b7131
%check
87f5774
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/org.gnome.Builder.appdata.xml
87f5774
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Builder.desktop
a1b7131
a1b7131
%post
a1b7131
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
a1b7131
a1b7131
%postun
a1b7131
if [ $1 -eq 0 ] ; then
a1b7131
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
a1b7131
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
a1b7131
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
a1b7131
fi
a1b7131
a1b7131
%posttrans
a1b7131
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
a1b7131
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
a1b7131
cd6350f
%files -f gnome-builder.lang
a1b7131
%doc NEWS README
a1b7131
%license COPYING
a1b7131
%{_bindir}/%{name}
14df692
%{_bindir}/%{name}-worker
14df692
%{_bindir}/ide
670b1ee
%exclude %{_libdir}/%{name}/pkgconfig/
2c2c916
%{_libdir}/%{name}/
2c2c916
%{_libexecdir}/%{name}/
ea964b3
%{python3_sitearch}/gi/
a1b7131
# AppData is CC0.
a1b7131
%{_datadir}/appdata/org.gnome.Builder.appdata.xml
a1b7131
%{_datadir}/applications/org.gnome.Builder.desktop
a1b7131
%{_datadir}/dbus-1/services/org.gnome.Builder.service
b8db4ea
%{_datadir}/glib-2.0/schemas/org.gnome.builder*.gschema.xml
ccf363e
%exclude %{_datadir}/%{name}/gir-1.0/
14df692
%exclude %{_datadir}/%{name}/vapi/
ccf363e
%{_datadir}/%{name}/
Richard Hughes b5bdb55
%{_datadir}/help/*/%{name}
a1b7131
%{_datadir}/gtksourceview-3.0/styles/builder*.xml
a1b7131
# CC-BY-SA.
a1b7131
%{_datadir}/icons/hicolor/*/apps/builder.png
a1b7131
%{_datadir}/icons/hicolor/scalable/*/*.svg
a1b7131
cd6350f
%files devel
670b1ee
%{_libdir}/%{name}/pkgconfig/
db8b0bd
%{_datadir}/%{name}/gir-1.0/
14df692
%{_datadir}/%{name}/vapi/
2c2c916
%{_datadir}/gtk-doc/html/libide/
Richard Hughes b5bdb55
%{_includedir}/%{name}-%{version}
a1b7131
a1b7131
%changelog
835e922
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.21.1-2
835e922
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
835e922
1d52ec9
* Tue May 03 2016 Kalev Lember <klember@redhat.com> - 3.21.1-1
1d52ec9
- Update to 3.21.1
1d52ec9
Igor Gnatenko eb99ccf
* Thu Apr 28 2016 Igor Gnatenko <ignatenko@redhat.com> - 3.20.2-1
Igor Gnatenko eb99ccf
- Update to 3.20.2
Igor Gnatenko eb99ccf
87f5774
* Thu Mar 24 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.20.0-1
87f5774
- Update to 3.20.0
87f5774
1715322
* Sun Mar 20 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.19.90-3
1715322
- Rebuilt for libgit2 0.24.0
1715322
80e0497
* Mon Mar 07 2016 Kalev Lember <klember@redhat.com> - 3.19.90-2
80e0497
- Rebuilt for vala 0.32
80e0497
Richard Hughes 5e1c0ef
* Mon Feb 29 2016 Richard Hughes <rhughes@redhat.com> - 3.19.90-1
Richard Hughes 5e1c0ef
- Update to 3.19.90
Richard Hughes 5e1c0ef
80d378c
* Fri Feb 19 2016 David King <amigadave@amigadave.com> - 3.19.4-5
80d378c
- Rebuilt for libclang bump
80d378c
de4aead
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.4-4
de4aead
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
de4aead
057c43d
* Thu Jan 28 2016 Adam Jackson <ajax@redhat.com> 3.19.4-3
057c43d
- Rebuild for llvm 3.7.1 library split
057c43d
ea964b3
* Wed Jan 27 2016 David King <amigadave@amigadave.com> - 3.19.4-2
ea964b3
- Fix build against pygobject3
ea964b3
ddcbf2b
* Wed Jan 27 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.19.4-1
ddcbf2b
- Update to 3.19.4
ddcbf2b
9d4f64e
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
9d4f64e
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
9d4f64e
c6d2170
* Sat Oct 17 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.18.1-2
c6d2170
- Backport patches from upstream
c6d2170
c132743
* Thu Oct 15 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.18.1-1
c132743
- Update to 3.18.1
c132743
e7dd838
* Wed Sep 23 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.18.0-2
e7dd838
- Add python3-jedi to Recommends
e7dd838
2d19a4f
* Mon Sep 21 2015 Kalev Lember <klember@redhat.com> - 3.18.0-1
2d19a4f
- Update to 3.18.0
2d19a4f
b8db4ea
* Thu Sep 17 2015 Kalev Lember <klember@redhat.com> - 3.17.92-1
b8db4ea
- Update to 3.17.92
b8db4ea
ca9c339
* Sat Aug 29 2015 Kalev Lember <klember@redhat.com> - 3.16.3-7
ca9c339
- Backport more fixes for libgit2-glib API changes
ca9c339
addbaba
* Sat Aug 29 2015 Kalev Lember <klember@redhat.com> - 3.16.3-6
addbaba
- Drop unneeded uncrustify dependency
afbf93a
- Use make_install macro
addbaba
96c4a16
* Thu Jul 30 2015 Igor Gnatenko <ignatenko@src.gnome.org> - 3.16.3-5
96c4a16
- Adopt to new API in libgit2-glib (0.23.0)
96c4a16
aff4850
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.16.3-4
aff4850
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
aff4850
2470734
* Sat Jun 13 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.16.3-3
2470734
- Remove ineffective local storage crash patch.
2470734
- Add patch to increase the max number of files.
2470734
7d99b22
* Mon Jun 01 2015 Michael Catanzaro <mcatanzaro@gnome.org> - 3.16.3-2
7d99b22
- Disable HTML5 local storage to avoid a crash.
7d99b22
2c2c916
* Mon May 18 2015  Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.16.3-1
2c2c916
- Update to 3.16.3
2c2c916
b045a19
* Fri Apr 17 2015 David King <amigadave@amigadave.com> - 3.16.2-2
b045a19
- Require a recent enough libgit2-glib (#1212804)
b045a19
d66a2ed
* Thu Apr 16 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.2-1
d66a2ed
- Update to 3.16.2
d66a2ed
54fa7de
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 3.16.1-1
54fa7de
- Update to 3.16.1
54fa7de
615eda8
* Tue Mar 24 2015 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 3.16.0-1
615eda8
- Update to 3.16.0
615eda8
fe10b21
* Thu Jan 29 2015 David King <amigadave@amigadave.com> - 3.15.4.1-2
fe10b21
- Add uncrustify Requires
fe10b21
a1b7131
* Fri Jan 23 2015 David King <amigadave@amigadave.com> - 3.15.4.1-1
a1b7131
- Initial packaging (#1185301)