ff22b9
Name:           glade
ff22b9
Version:        3.22.1
ff22b9
Release:        1%{?dist}
ff22b9
Summary:        User Interface Designer for GTK+
ff22b9
ff22b9
# - /usr/bin/glade is GPLv2+
ff22b9
# - /usr/bin/glade-previewer is LGPLv2+
ff22b9
# - libgladeui-2.so, libgladegtk.so, and libgladepython.so all combine
ff22b9
#   GPLv2+ and LGPLv2+ code, so the resulting binaries are GPLv2+
ff22b9
License:        GPLv2+ and LGPLv2+
ff22b9
URL:            http://glade.gnome.org/
ff22b9
Source0:        http://ftp.gnome.org/pub/GNOME/sources/glade/3.22/glade-%{version}.tar.xz
ff22b9
ff22b9
BuildRequires:  chrpath
ff22b9
BuildRequires:  desktop-file-utils
ff22b9
BuildRequires:  docbook-style-xsl
ff22b9
BuildRequires:  gettext
ff22b9
BuildRequires:  gtk3-devel
ff22b9
BuildRequires:  intltool
ff22b9
BuildRequires:  itstool
ff22b9
BuildRequires:  libxml2-devel
ff22b9
BuildRequires:  pygobject3-devel
ff22b9
BuildRequires:  python3-devel
ff22b9
BuildRequires:  webkit2gtk3-devel
ff22b9
BuildRequires:  /usr/bin/appstream-util
ff22b9
BuildRequires:  /usr/bin/xsltproc
ff22b9
ff22b9
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
ff22b9
# The gtk3 version of glade was packaged under the name of 'glade3' for a
ff22b9
# while. However, following upstream naming, 'glade3' package is now the gtk2
ff22b9
# version and 'glade' package is the gtk3 one. The obsoletes are here to
ff22b9
# provide seamless upgrade path from the gtk3 based 'glade3'.
ff22b9
Obsoletes:      glade3 < 1:3.11.0-3
ff22b9
ff22b9
%description
ff22b9
Glade is a RAD tool to enable quick and easy development of user interfaces for
ff22b9
the GTK+ toolkit and the GNOME desktop environment.
ff22b9
ff22b9
The user interfaces designed in Glade are saved as XML, which can be used in
ff22b9
numerous programming languages including C, C++, C#, Vala, Java, Perl, Python,
ff22b9
and others.
ff22b9
ff22b9
ff22b9
%package libs
ff22b9
Summary:        Widget library for Glade UI designer
ff22b9
Obsoletes:      glade3-libgladeui < 1:3.11.0-3
ff22b9
ff22b9
%description    libs
ff22b9
The %{name}-libs package consists of the widgets that compose the Glade GUI as
ff22b9
a separate library to ease the integration of Glade into other applications.
ff22b9
ff22b9
ff22b9
%package devel
ff22b9
Summary:        Development files for %{name}
ff22b9
Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
ff22b9
Obsoletes:      glade3-libgladeui-devel < 1:3.11.0-3
ff22b9
ff22b9
%description    devel
ff22b9
The %{name}-devel package contains libraries and header files for
ff22b9
developing applications that use Glade widget library.
ff22b9
ff22b9
ff22b9
%prep
ff22b9
%setup -q
ff22b9
ff22b9
ff22b9
%build
ff22b9
export PYTHON=%{__python3}
ff22b9
%configure --disable-static
ff22b9
ff22b9
# Omit unused direct shared library dependencies.
ff22b9
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
ff22b9
ff22b9
make %{?_smp_mflags}
ff22b9
ff22b9
ff22b9
%install
ff22b9
%make_install
ff22b9
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
ff22b9
ff22b9
# Remove rpaths.
ff22b9
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade*
ff22b9
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.so
ff22b9
ff22b9
%find_lang glade --with-gnome
ff22b9
ff22b9
ff22b9
%check
ff22b9
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/glade.appdata.xml
ff22b9
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glade.desktop
ff22b9
ff22b9
ff22b9
%files -f glade.lang
ff22b9
%license COPYING*
ff22b9
%doc AUTHORS NEWS README
ff22b9
%{_bindir}/glade
ff22b9
%{_bindir}/glade-previewer
ff22b9
%{_datadir}/applications/glade.desktop
ff22b9
%{_datadir}/icons/hicolor/*/apps/glade.png
ff22b9
%{_datadir}/icons/hicolor/scalable/apps/glade-brand-symbolic.svg
ff22b9
%{_datadir}/icons/hicolor/scalable/apps/glade-symbolic.svg
ff22b9
%{_datadir}/metainfo/glade.appdata.xml
ff22b9
%{_mandir}/man1/glade.1*
ff22b9
%{_mandir}/man1/glade-previewer*
ff22b9
ff22b9
%files libs
ff22b9
%license COPYING*
ff22b9
%dir %{_libdir}/girepository-1.0
ff22b9
%{_libdir}/girepository-1.0/Gladeui-2.0.typelib
ff22b9
%dir %{_libdir}/glade/
ff22b9
%dir %{_libdir}/glade/modules/
ff22b9
%{_libdir}/glade/modules/libgladegtk.so
ff22b9
%{_libdir}/glade/modules/libgladepython.so
ff22b9
%{_libdir}/glade/modules/libgladewebkit2gtk.so
ff22b9
%{_libdir}/libgladeui-2.so.*
ff22b9
%{_datadir}/glade/
ff22b9
ff22b9
%files devel
ff22b9
%{_includedir}/libgladeui-2.0/
ff22b9
%{_libdir}/libgladeui-2.so
ff22b9
%{_libdir}/pkgconfig/gladeui-2.0.pc
ff22b9
%dir %{_datadir}/gir-1.0
ff22b9
%{_datadir}/gir-1.0/Gladeui-2.0.gir
ff22b9
%doc %{_datadir}/gtk-doc/
ff22b9
ff22b9
ff22b9
%changelog
ff22b9
* Tue Apr 03 2018 Kalev Lember <klember@redhat.com> - 3.22.1-1
ff22b9
- Update to 3.22.1
ff22b9
ff22b9
* Mon Mar 12 2018 Kalev Lember <klember@redhat.com> - 3.22.0-1
ff22b9
- Update to 3.22.0
ff22b9
ff22b9
* Mon Mar 05 2018 Kalev Lember <klember@redhat.com> - 3.20.4-1
ff22b9
- Update to 3.20.4
ff22b9
ff22b9
* Sat Feb 24 2018 Kalev Lember <klember@redhat.com> - 3.20.3-1
ff22b9
- Update to 3.20.3
ff22b9
- Remove ldconfig scriptlets
ff22b9
ff22b9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.2-3
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ff22b9
ff22b9
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.20.2-2
ff22b9
- Remove obsolete scriptlets
ff22b9
ff22b9
* Fri Dec 01 2017 Kalev Lember <klember@redhat.com> - 3.20.2-1
ff22b9
- Update to 3.20.2
ff22b9
ff22b9
* Thu Oct 12 2017 Kalev Lember <klember@redhat.com> - 3.20.1-1
ff22b9
- Update to 3.20.1
ff22b9
- Fix gir directory ownership
ff22b9
ff22b9
* Mon Oct 02 2017 Karsten Hopp <karsten@redhat.com> - 3.20.0-6
ff22b9
- apply upstream patch from Jonh Wendell to fix g_ptr_array_find types and make it
ff22b9
  build with latest glib2
ff22b9
ff22b9
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-5
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ff22b9
ff22b9
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-4
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ff22b9
ff22b9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-3
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ff22b9
ff22b9
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 3.20.0-2
ff22b9
- Rebuild for Python 3.6
ff22b9
ff22b9
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1
ff22b9
- Update to 3.20.0
ff22b9
ff22b9
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.19.0-5
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ff22b9
ff22b9
* Thu Nov 05 2015 Robert Kuska <rkuska@redhat.com> - 3.19.0-4
ff22b9
- Rebuilt for Python3.5 rebuild
ff22b9
ff22b9
* Fri Jul 03 2015 Kalev Lember <klember@redhat.com> - 3.19.0-3
ff22b9
- Switch to Python 3 (#1238957)
ff22b9
- Use the make_install macro
ff22b9
- Use upstream screenshots for appdata
ff22b9
- Validate appdata file
ff22b9
- Tighten deps with the _isa macro
ff22b9
ff22b9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.19.0-2
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ff22b9
ff22b9
* Mon Jun 15 2015 Kalev Lember <kalevlember@gmail.com> - 3.19.0-1
ff22b9
- Update to 3.19.0
ff22b9
- Use license macro for COPYING files
ff22b9
ff22b9
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.18.3-5
ff22b9
- Use better AppData screenshots
ff22b9
ff22b9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.3-4
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
ff22b9
ff22b9
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.3-3
ff22b9
- Rebuilt for gobject-introspection 1.41.4
ff22b9
ff22b9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.3-2
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ff22b9
ff22b9
* Thu May 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.3-1
ff22b9
- Update to 3.18.3
ff22b9
ff22b9
* Wed Apr 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.2-1
ff22b9
- Update to 3.18.2
ff22b9
ff22b9
* Wed Mar 26 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.1-1
ff22b9
- Update to 3.18.1
ff22b9
ff22b9
* Mon Mar 24 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.0-1
ff22b9
- Update to 3.18.0
ff22b9
ff22b9
* Wed Jan 08 2014 Richard Hughes <rhughes@redhat.com> - 3.16.1-1
ff22b9
- Update to 3.16.1
ff22b9
ff22b9
* Wed Sep 25 2013 Richard Hughes <rhughes@redhat.com> - 3.16.0-1
ff22b9
- Update to 3.16.0
ff22b9
ff22b9
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.4-1
ff22b9
- Update to 3.15.4
ff22b9
ff22b9
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.3-1
ff22b9
- Update to 3.15.3
ff22b9
ff22b9
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.2-3.git9d3b3b3
ff22b9
- Update to git snapshot to adapt to API changes in GTK+ 3.9.10
ff22b9
- Add man pages
ff22b9
ff22b9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15.2-2
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ff22b9
ff22b9
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.2-1
ff22b9
- Update to 3.15.2
ff22b9
ff22b9
* Fri May 10 2013 Richard Hughes <rhughes@redhat.com> - 3.15.1-1
ff22b9
- Update to 3.15.1
ff22b9
ff22b9
* Mon Mar 18 2013 Richard Hughes <rhughes@redhat.com> - 3.15.0-1
ff22b9
- Update to 3.15.0
ff22b9
ff22b9
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14.2-3
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ff22b9
ff22b9
* Wed Dec 05 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.2-2
ff22b9
- Revise the summary for consistency with the parallel installable
ff22b9
  glade2/glade3 packages (#882557)
ff22b9
ff22b9
* Mon Nov 26 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
ff22b9
- Update to 3.14.2
ff22b9
ff22b9
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
ff22b9
- Update to 3.14.1
ff22b9
ff22b9
* Wed Sep 19 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
ff22b9
- Update to 3.14.0
ff22b9
- Remove the unrecognized --disable-scrollkeeper option
ff22b9
ff22b9
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.0-2
ff22b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ff22b9
ff22b9
* Sun May 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.13.0-1
ff22b9
- Update to 3.13.0
ff22b9
ff22b9
* Sun May 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
ff22b9
- Update to 3.12.1
ff22b9
ff22b9
* Thu Apr 12 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-3
ff22b9
- Update the spec file comments about licensing and simplify the License tag
ff22b9
- Install the typelib in -libs subpackage
ff22b9
ff22b9
* Fri Apr 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-2
ff22b9
- Review fixes (#806093)
ff22b9
- Use find_lang --with-gnome for including help files
ff22b9
- Include license files also in the main package in addition to -libs
ff22b9
ff22b9
* Wed Apr 04 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-1
ff22b9
- Update to 3.12.0
ff22b9
ff22b9
* Thu Mar 22 2012 Kalev Lember <kalevlember@gmail.com> - 3.11.0-1
ff22b9
- Initial packaging based on Fedora glade3
ff22b9
- Rename the package to glade; added obsoletes for upgrade path
ff22b9
- Spec clean up for review