f5256c0
Name:           glade
82e3c99
Version:        3.36.0
ec8c833
Release:        2%{?dist}
ad08842
Summary:        User Interface Designer for GTK+
f5256c0
f5256c0
# - /usr/bin/glade is GPLv2+
f5256c0
# - /usr/bin/glade-previewer is LGPLv2+
f5256c0
# - libgladeui-2.so, libgladegtk.so, and libgladepython.so all combine
f5256c0
#   GPLv2+ and LGPLv2+ code, so the resulting binaries are GPLv2+
f5256c0
License:        GPLv2+ and LGPLv2+
f9c286d
URL:            https://glade.gnome.org/
f9c286d
Source0:        https://download.gnome.org/sources/glade/3.36/glade-%{version}.tar.xz
f5256c0
f5256c0
BuildRequires:  chrpath
f5256c0
BuildRequires:  desktop-file-utils
a969531
BuildRequires:  docbook-style-xsl
f5256c0
BuildRequires:  gettext
f5256c0
BuildRequires:  gtk3-devel
f5256c0
BuildRequires:  intltool
8b469a4
BuildRequires:  itstool
f5256c0
BuildRequires:  libxml2-devel
f5256c0
BuildRequires:  pygobject3-devel
14ea8aa
BuildRequires:  python3-devel
eb1f600
BuildRequires:  webkit2gtk3-devel
a514360
BuildRequires:  /usr/bin/appstream-util
a969531
BuildRequires:  /usr/bin/xsltproc
f5256c0
6bc9755
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
f5256c0
# The gtk3 version of glade was packaged under the name of 'glade3' for a
f5256c0
# while. However, following upstream naming, 'glade3' package is now the gtk2
f5256c0
# version and 'glade' package is the gtk3 one. The obsoletes are here to
f5256c0
# provide seamless upgrade path from the gtk3 based 'glade3'.
f5256c0
Obsoletes:      glade3 < 1:3.11.0-3
f5256c0
f5256c0
%description
f5256c0
Glade is a RAD tool to enable quick and easy development of user interfaces for
f5256c0
the GTK+ toolkit and the GNOME desktop environment.
f5256c0
f5256c0
The user interfaces designed in Glade are saved as XML, which can be used in
f5256c0
numerous programming languages including C, C++, C#, Vala, Java, Perl, Python,
f5256c0
and others.
f5256c0
f5256c0
f5256c0
%package libs
f5256c0
Summary:        Widget library for Glade UI designer
f5256c0
Obsoletes:      glade3-libgladeui < 1:3.11.0-3
f5256c0
f5256c0
%description    libs
f5256c0
The %{name}-libs package consists of the widgets that compose the Glade GUI as
f5256c0
a separate library to ease the integration of Glade into other applications.
f5256c0
f5256c0
f5256c0
%package devel
f5256c0
Summary:        Development files for %{name}
6bc9755
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
f5256c0
Obsoletes:      glade3-libgladeui-devel < 1:3.11.0-3
f5256c0
f5256c0
%description    devel
f5256c0
The %{name}-devel package contains libraries and header files for
f5256c0
developing applications that use Glade widget library.
f5256c0
f5256c0
f5256c0
%prep
f5256c0
%setup -q
644ac9b
f5256c0
f5256c0
%build
14ea8aa
export PYTHON=%{__python3}
d1b7880
%configure --disable-static
f5256c0
f5256c0
# Omit unused direct shared library dependencies.
f5256c0
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
f5256c0
f5256c0
make %{?_smp_mflags}
f5256c0
f5256c0
f5256c0
%install
b1eceae
%make_install
f5256c0
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
f5256c0
f5256c0
# Remove rpaths.
f5256c0
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade*
f5256c0
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.so
f5256c0
f5256c0
%find_lang glade --with-gnome
f5256c0
f5256c0
f5256c0
%check
82e3c99
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Glade.appdata.xml
82e3c99
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Glade.desktop
f5256c0
f5256c0
f5256c0
%files -f glade.lang
a1bb91d
%license COPYING*
82e3c99
%doc AUTHORS NEWS
f5256c0
%{_bindir}/glade
f5256c0
%{_bindir}/glade-previewer
82e3c99
%{_datadir}/applications/org.gnome.Glade.desktop
82e3c99
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Glade.svg
82e3c99
%{_datadir}/icons/hicolor/symbolic/apps/glade-brand-symbolic.svg
82e3c99
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Glade-symbolic.svg
82e3c99
%{_datadir}/metainfo/org.gnome.Glade.appdata.xml
a969531
%{_mandir}/man1/glade.1*
a969531
%{_mandir}/man1/glade-previewer*
f5256c0
f5256c0
%files libs
a1bb91d
%license COPYING*
c99d14f
%dir %{_libdir}/girepository-1.0
f5256c0
%{_libdir}/girepository-1.0/Gladeui-2.0.typelib
f5256c0
%dir %{_libdir}/glade/
f5256c0
%dir %{_libdir}/glade/modules/
f5256c0
%{_libdir}/glade/modules/libgladegtk.so
f5256c0
%{_libdir}/glade/modules/libgladepython.so
eb1f600
%{_libdir}/glade/modules/libgladewebkit2gtk.so
ec8c833
%{_libdir}/libgladeui-2.so.12*
f5256c0
%{_datadir}/glade/
f5256c0
f5256c0
%files devel
f5256c0
%{_includedir}/libgladeui-2.0/
f5256c0
%{_libdir}/libgladeui-2.so
f5256c0
%{_libdir}/pkgconfig/gladeui-2.0.pc
c99d14f
%dir %{_datadir}/gir-1.0
f5256c0
%{_datadir}/gir-1.0/Gladeui-2.0.gir
f5256c0
%doc %{_datadir}/gtk-doc/
f5256c0
c99d14f
f5256c0
%changelog
ec8c833
* Fri May 22 2020 Kalev Lember <klember@redhat.com> - 3.36.0-2
ec8c833
- Tighten libgladeui soname globs
ec8c833
82e3c99
* Thu May 07 2020 Kalev Lember <klember@redhat.com> - 3.36.0-1
82e3c99
- Update to 3.36.0
f9c286d
- Use https download URLs
82e3c99
d6d0fc6
* Wed Feb 26 2020 Kalev Lember <klember@redhat.com> - 3.22.2-1
d6d0fc6
- Update to 3.22.2
d6d0fc6
f34e7cc
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1-7
f34e7cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f34e7cc
7d26170
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 3.22.1-6
7d26170
- Rebuilt for Python 3.8
7d26170
66217b8
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1-5
66217b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
66217b8
d428c5c
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1-4
d428c5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d428c5c
7000e55
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.22.1-3
7000e55
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
7000e55
89c6e6c
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 3.22.1-2
89c6e6c
- Rebuilt for Python 3.7
89c6e6c
e7e56b0
* Tue Apr 03 2018 Kalev Lember <klember@redhat.com> - 3.22.1-1
e7e56b0
- Update to 3.22.1
e7e56b0
eb1f600
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.22.0-1
eb1f600
- Update to 3.22.0
eb1f600
a7cad83
* Mon Mar 05 2018 Kalev Lember <klember@redhat.com> - 3.20.4-1
a7cad83
- Update to 3.20.4
a7cad83
c43ad77
* Sat Feb 24 2018 Kalev Lember <klember@redhat.com> - 3.20.3-1
c43ad77
- Update to 3.20.3
7740f7e
- Remove ldconfig scriptlets
c43ad77
d083a77
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.2-3
d083a77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d083a77
14d53aa
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.20.2-2
14d53aa
- Remove obsolete scriptlets
14d53aa
a6a035b
* Fri Dec 01 2017 Kalev Lember <klember@redhat.com> - 3.20.2-1
a6a035b
- Update to 3.20.2
a6a035b
688bc75
* Thu Oct 12 2017 Kalev Lember <klember@redhat.com> - 3.20.1-1
688bc75
- Update to 3.20.1
c99d14f
- Fix gir directory ownership
688bc75
036b9d1
* Mon Oct 02 2017 Karsten Hopp <karsten@redhat.com> - 3.20.0-6
036b9d1
- apply upstream patch from Jonh Wendell to fix g_ptr_array_find types and make it
036b9d1
  build with latest glib2
036b9d1
e57626b
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-5
e57626b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e57626b
48df5c4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-4
48df5c4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
48df5c4
9899d58
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-3
9899d58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9899d58
d23964d
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.20.0-2
d23964d
- Rebuild for Python 3.6
d23964d
57fa381
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
57fa381
- Update to 3.20.0
57fa381
6961d41
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.0-5
6961d41
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6961d41
Robert Kuska b9c4373
* Thu Nov 05 2015 Robert Kuska <rkuska@redhat.com> - 3.19.0-4
Robert Kuska b9c4373
- Rebuilt for Python3.5 rebuild
Robert Kuska b9c4373
14ea8aa
* Fri Jul 03 2015 Kalev Lember <klember@redhat.com> - 3.19.0-3
14ea8aa
- Switch to Python 3 (#1238957)
b1eceae
- Use the make_install macro
9ed379f
- Use upstream screenshots for appdata
a514360
- Validate appdata file
6bc9755
- Tighten deps with the _isa macro
14ea8aa
42d1915
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.19.0-2
42d1915
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
42d1915
7ce32ad
* Mon Jun 15 2015 Kalev Lember <kalevlember@gmail.com> - 3.19.0-1
7ce32ad
- Update to 3.19.0
a1bb91d
- Use license macro for COPYING files
7ce32ad
Richard Hughes a18874a
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.18.3-5
Richard Hughes a18874a
- Use better AppData screenshots
Richard Hughes a18874a
f5329bb
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.3-4
f5329bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f5329bb
787a9c0
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.3-3
787a9c0
- Rebuilt for gobject-introspection 1.41.4
787a9c0
9c822e2
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.3-2
9c822e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9c822e2
d2f47dc
* Thu May 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.3-1
d2f47dc
- Update to 3.18.3
d2f47dc
bf5050d
* Wed Apr 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.2-1
bf5050d
- Update to 3.18.2
bf5050d
79f24ac
* Wed Mar 26 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.1-1
79f24ac
- Update to 3.18.1
79f24ac
455e15e
* Mon Mar 24 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.0-1
455e15e
- Update to 3.18.0
455e15e
Richard Hughes e779b6b
* Wed Jan 08 2014 Richard Hughes <rhughes@redhat.com> - 3.16.1-1
Richard Hughes e779b6b
- Update to 3.16.1
Richard Hughes e779b6b
Richard Hughes b163aac
* Wed Sep 25 2013 Richard Hughes <rhughes@redhat.com> - 3.16.0-1
Richard Hughes b163aac
- Update to 3.16.0
Richard Hughes b163aac
644ac9b
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.4-1
644ac9b
- Update to 3.15.4
644ac9b
c2b192e
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.3-1
c2b192e
- Update to 3.15.3
c2b192e
588f4a8
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.2-3.git9d3b3b3
588f4a8
- Update to git snapshot to adapt to API changes in GTK+ 3.9.10
588f4a8
- Add man pages
588f4a8
5fb5986
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15.2-2
5fb5986
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5fb5986
117e775
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.2-1
117e775
- Update to 3.15.2
117e775
Richard Hughes 76d4130
* Fri May 10 2013 Richard Hughes <rhughes@redhat.com> - 3.15.1-1
Richard Hughes 76d4130
- Update to 3.15.1
Richard Hughes 76d4130
Richard Hughes da690f8
* Mon Mar 18 2013 Richard Hughes <rhughes@redhat.com> - 3.15.0-1
Richard Hughes da690f8
- Update to 3.15.0
Richard Hughes da690f8
45102c9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14.2-3
45102c9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
45102c9
ad08842
* Wed Dec 05 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.2-2
ad08842
- Revise the summary for consistency with the parallel installable
ad08842
  glade2/glade3 packages (#882557)
ad08842
851d2d1
* Mon Nov 26 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
851d2d1
- Update to 3.14.2
851d2d1
408f9a9
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
408f9a9
- Update to 3.14.1
408f9a9
d1b7880
* Wed Sep 19 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
d1b7880
- Update to 3.14.0
d1b7880
- Remove the unrecognized --disable-scrollkeeper option
d1b7880
6f30544
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.0-2
6f30544
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6f30544
96c9320
* Sun May 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.13.0-1
96c9320
- Update to 3.13.0
96c9320
b11d436
* Sun May 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
b11d436
- Update to 3.12.1
b11d436
f5256c0
* Thu Apr 12 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-3
f5256c0
- Update the spec file comments about licensing and simplify the License tag
f5256c0
- Install the typelib in -libs subpackage
f5256c0
f5256c0
* Fri Apr 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-2
f5256c0
- Review fixes (#806093)
f5256c0
- Use find_lang --with-gnome for including help files
f5256c0
- Include license files also in the main package in addition to -libs
f5256c0
f5256c0
* Wed Apr 04 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-1
f5256c0
- Update to 3.12.0
f5256c0
f5256c0
* Thu Mar 22 2012 Kalev Lember <kalevlember@gmail.com> - 3.11.0-1
f5256c0
- Initial packaging based on Fedora glade3
f5256c0
- Rename the package to glade; added obsoletes for upgrade path
f5256c0
- Spec clean up for review