2012-04-13 19:04:06 +00:00
|
|
|
Name: glade
|
2015-06-15 06:45:08 +00:00
|
|
|
Version: 3.19.0
|
2015-07-03 09:30:52 +00:00
|
|
|
Release: 3%{?dist}
|
2012-12-04 21:35:01 +00:00
|
|
|
Summary: User Interface Designer for GTK+
|
2012-04-13 19:04:06 +00:00
|
|
|
|
|
|
|
# - /usr/bin/glade is GPLv2+
|
|
|
|
# - /usr/bin/glade-previewer is LGPLv2+
|
|
|
|
# - libgladeui-2.so, libgladegtk.so, and libgladepython.so all combine
|
|
|
|
# GPLv2+ and LGPLv2+ code, so the resulting binaries are GPLv2+
|
|
|
|
License: GPLv2+ and LGPLv2+
|
|
|
|
URL: http://glade.gnome.org/
|
2015-06-15 06:45:08 +00:00
|
|
|
Source0: http://ftp.gnome.org/pub/GNOME/sources/glade/3.19/glade-%{version}.tar.xz
|
|
|
|
Patch0: 0001-Fix-a-syntax-error-in-desktop-file-keywords-Bosnian-.patch
|
2012-04-13 19:04:06 +00:00
|
|
|
|
|
|
|
BuildRequires: chrpath
|
|
|
|
BuildRequires: desktop-file-utils
|
2013-08-10 10:43:29 +00:00
|
|
|
BuildRequires: docbook-style-xsl
|
2012-04-13 19:04:06 +00:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
BuildRequires: intltool
|
2012-09-19 21:32:45 +00:00
|
|
|
BuildRequires: itstool
|
2012-04-13 19:04:06 +00:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: pygobject3-devel
|
2015-07-03 09:30:52 +00:00
|
|
|
BuildRequires: python3-devel
|
2015-07-03 09:41:52 +00:00
|
|
|
BuildRequires: /usr/bin/appstream-util
|
2013-08-10 10:43:29 +00:00
|
|
|
BuildRequires: /usr/bin/xsltproc
|
2012-04-13 19:04:06 +00:00
|
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
# The gtk3 version of glade was packaged under the name of 'glade3' for a
|
|
|
|
# while. However, following upstream naming, 'glade3' package is now the gtk2
|
|
|
|
# version and 'glade' package is the gtk3 one. The obsoletes are here to
|
|
|
|
# provide seamless upgrade path from the gtk3 based 'glade3'.
|
|
|
|
Obsoletes: glade3 < 1:3.11.0-3
|
|
|
|
|
|
|
|
%description
|
|
|
|
Glade is a RAD tool to enable quick and easy development of user interfaces for
|
|
|
|
the GTK+ toolkit and the GNOME desktop environment.
|
|
|
|
|
|
|
|
The user interfaces designed in Glade are saved as XML, which can be used in
|
|
|
|
numerous programming languages including C, C++, C#, Vala, Java, Perl, Python,
|
|
|
|
and others.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: Widget library for Glade UI designer
|
|
|
|
Obsoletes: glade3-libgladeui < 1:3.11.0-3
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
The %{name}-libs package consists of the widgets that compose the Glade GUI as
|
|
|
|
a separate library to ease the integration of Glade into other applications.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Obsoletes: glade3-libgladeui-devel < 1:3.11.0-3
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use Glade widget library.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2015-06-15 06:45:08 +00:00
|
|
|
%patch0 -p1
|
2013-09-18 12:28:00 +00:00
|
|
|
|
2012-04-13 19:04:06 +00:00
|
|
|
|
|
|
|
%build
|
2015-07-03 09:30:52 +00:00
|
|
|
export PYTHON=%{__python3}
|
2012-09-19 20:26:33 +00:00
|
|
|
%configure --disable-static
|
2012-04-13 19:04:06 +00:00
|
|
|
|
|
|
|
# Omit unused direct shared library dependencies.
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2015-07-03 09:33:23 +00:00
|
|
|
%make_install
|
2012-04-13 19:04:06 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
# Remove rpaths.
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/glade*
|
|
|
|
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.so
|
|
|
|
|
|
|
|
%find_lang glade --with-gnome
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
2015-07-03 09:41:52 +00:00
|
|
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/glade.appdata.xml
|
2012-04-13 19:04:06 +00:00
|
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/glade.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files -f glade.lang
|
2015-06-15 06:45:19 +00:00
|
|
|
%license COPYING*
|
|
|
|
%doc AUTHORS NEWS README
|
2012-04-13 19:04:06 +00:00
|
|
|
%{_bindir}/glade
|
|
|
|
%{_bindir}/glade-previewer
|
|
|
|
%{_datadir}/applications/glade.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/glade.png
|
2015-06-15 06:45:08 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/glade-symbolic.svg
|
2013-09-25 10:19:27 +00:00
|
|
|
%{_datadir}/appdata/glade.appdata.xml
|
2013-08-10 10:43:29 +00:00
|
|
|
%{_mandir}/man1/glade.1*
|
|
|
|
%{_mandir}/man1/glade-previewer*
|
2012-04-13 19:04:06 +00:00
|
|
|
|
|
|
|
%files libs
|
2015-06-15 06:45:19 +00:00
|
|
|
%license COPYING*
|
2012-04-13 19:04:06 +00:00
|
|
|
%{_libdir}/girepository-1.0/Gladeui-2.0.typelib
|
|
|
|
%dir %{_libdir}/glade/
|
|
|
|
%dir %{_libdir}/glade/modules/
|
|
|
|
%{_libdir}/glade/modules/libgladegtk.so
|
|
|
|
%{_libdir}/glade/modules/libgladepython.so
|
|
|
|
%{_libdir}/libgladeui-2.so.*
|
|
|
|
%{_datadir}/glade/
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/libgladeui-2.0/
|
|
|
|
%{_libdir}/libgladeui-2.so
|
|
|
|
%{_libdir}/pkgconfig/gladeui-2.0.pc
|
|
|
|
%{_datadir}/gir-1.0/Gladeui-2.0.gir
|
|
|
|
%doc %{_datadir}/gtk-doc/
|
|
|
|
|
|
|
|
%changelog
|
2015-07-03 09:30:52 +00:00
|
|
|
* Fri Jul 03 2015 Kalev Lember <klember@redhat.com> - 3.19.0-3
|
|
|
|
- Switch to Python 3 (#1238957)
|
2015-07-03 09:33:23 +00:00
|
|
|
- Use the make_install macro
|
2015-07-03 09:39:08 +00:00
|
|
|
- Use upstream screenshots for appdata
|
2015-07-03 09:41:52 +00:00
|
|
|
- Validate appdata file
|
2015-07-03 09:30:52 +00:00
|
|
|
|
2015-06-17 08:20:50 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.19.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-15 06:45:08 +00:00
|
|
|
* Mon Jun 15 2015 Kalev Lember <kalevlember@gmail.com> - 3.19.0-1
|
|
|
|
- Update to 3.19.0
|
2015-06-15 06:45:19 +00:00
|
|
|
- Use license macro for COPYING files
|
2015-06-15 06:45:08 +00:00
|
|
|
|
2015-03-30 16:42:19 +00:00
|
|
|
* Mon Mar 30 2015 Richard Hughes <rhughes@redhat.com> - 3.18.3-5
|
|
|
|
- Use better AppData screenshots
|
|
|
|
|
2014-08-16 16:39:57 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.3-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-22 16:54:43 +00:00
|
|
|
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.3-3
|
|
|
|
- Rebuilt for gobject-introspection 1.41.4
|
|
|
|
|
2014-06-07 16:01:30 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.18.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-15 18:51:03 +00:00
|
|
|
* Thu May 15 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.3-1
|
|
|
|
- Update to 3.18.3
|
|
|
|
|
2014-04-15 22:17:32 +00:00
|
|
|
* Wed Apr 16 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.2-1
|
|
|
|
- Update to 3.18.2
|
|
|
|
|
2014-03-26 21:10:07 +00:00
|
|
|
* Wed Mar 26 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.1-1
|
|
|
|
- Update to 3.18.1
|
|
|
|
|
2014-03-24 22:57:39 +00:00
|
|
|
* Mon Mar 24 2014 Kalev Lember <kalevlember@gmail.com> - 3.18.0-1
|
|
|
|
- Update to 3.18.0
|
|
|
|
|
2014-01-08 14:18:23 +00:00
|
|
|
* Wed Jan 08 2014 Richard Hughes <rhughes@redhat.com> - 3.16.1-1
|
|
|
|
- Update to 3.16.1
|
|
|
|
|
2013-09-25 09:59:23 +00:00
|
|
|
* Wed Sep 25 2013 Richard Hughes <rhughes@redhat.com> - 3.16.0-1
|
|
|
|
- Update to 3.16.0
|
|
|
|
|
2013-09-18 12:28:00 +00:00
|
|
|
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.4-1
|
|
|
|
- Update to 3.15.4
|
|
|
|
|
2013-09-03 22:32:00 +00:00
|
|
|
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.3-1
|
|
|
|
- Update to 3.15.3
|
|
|
|
|
2013-08-10 09:31:48 +00:00
|
|
|
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.2-3.git9d3b3b3
|
|
|
|
- Update to git snapshot to adapt to API changes in GTK+ 3.9.10
|
|
|
|
- Add man pages
|
|
|
|
|
2013-08-03 14:35:39 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.15.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-20 20:06:48 +00:00
|
|
|
* Fri Jun 21 2013 Kalev Lember <kalevlember@gmail.com> - 3.15.2-1
|
|
|
|
- Update to 3.15.2
|
|
|
|
|
2013-05-10 11:28:52 +00:00
|
|
|
* Fri May 10 2013 Richard Hughes <rhughes@redhat.com> - 3.15.1-1
|
|
|
|
- Update to 3.15.1
|
|
|
|
|
2013-03-18 16:46:01 +00:00
|
|
|
* Mon Mar 18 2013 Richard Hughes <rhughes@redhat.com> - 3.15.0-1
|
|
|
|
- Update to 3.15.0
|
|
|
|
|
2013-02-13 23:34:04 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.14.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-04 21:35:01 +00:00
|
|
|
* Wed Dec 05 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.2-2
|
|
|
|
- Revise the summary for consistency with the parallel installable
|
|
|
|
glade2/glade3 packages (#882557)
|
|
|
|
|
2012-11-26 18:00:14 +00:00
|
|
|
* Mon Nov 26 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.2-1
|
|
|
|
- Update to 3.14.2
|
|
|
|
|
2012-10-16 14:25:00 +00:00
|
|
|
* Tue Oct 16 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.1-1
|
|
|
|
- Update to 3.14.1
|
|
|
|
|
2012-09-19 20:26:33 +00:00
|
|
|
* Wed Sep 19 2012 Kalev Lember <kalevlember@gmail.com> - 3.14.0-1
|
|
|
|
- Update to 3.14.0
|
|
|
|
- Remove the unrecognized --disable-scrollkeeper option
|
|
|
|
|
2012-07-19 06:47:36 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.13.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-06 17:53:45 +00:00
|
|
|
* Sun May 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.13.0-1
|
|
|
|
- Update to 3.13.0
|
|
|
|
|
2012-05-06 17:01:27 +00:00
|
|
|
* Sun May 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.1-1
|
|
|
|
- Update to 3.12.1
|
|
|
|
|
2012-04-13 19:04:06 +00:00
|
|
|
* Thu Apr 12 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-3
|
|
|
|
- Update the spec file comments about licensing and simplify the License tag
|
|
|
|
- Install the typelib in -libs subpackage
|
|
|
|
|
|
|
|
* Fri Apr 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-2
|
|
|
|
- Review fixes (#806093)
|
|
|
|
- Use find_lang --with-gnome for including help files
|
|
|
|
- Include license files also in the main package in addition to -libs
|
|
|
|
|
|
|
|
* Wed Apr 04 2012 Kalev Lember <kalevlember@gmail.com> - 3.12.0-1
|
|
|
|
- Update to 3.12.0
|
|
|
|
|
|
|
|
* Thu Mar 22 2012 Kalev Lember <kalevlember@gmail.com> - 3.11.0-1
|
|
|
|
- Initial packaging based on Fedora glade3
|
|
|
|
- Rename the package to glade; added obsoletes for upgrade path
|
|
|
|
- Spec clean up for review
|