|
|
@ -1,23 +1,16 @@
|
|
|
|
%define libxml2_version 2.4.12-0.7
|
|
|
|
|
|
|
|
%define gtk2_version 2.5.0
|
|
|
|
|
|
|
|
%define pango_version 1.3.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: The libglade library for loading user interfaces
|
|
|
|
Summary: The libglade library for loading user interfaces
|
|
|
|
Name: libglade2
|
|
|
|
Name: libglade2
|
|
|
|
Version: 2.6.4
|
|
|
|
Version: 2.6.4
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Source: http://download.gnome.org/sources/libglade/2.6/libglade-%{version}.tar.bz2
|
|
|
|
Source: http://download.gnome.org/sources/libglade/2.6/libglade-%{version}.tar.bz2
|
|
|
|
URL: http://www.gnome.org
|
|
|
|
URL: http://www.gnome.org
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
Requires: libxml2 >= %{libxml2_version}
|
|
|
|
|
|
|
|
Requires: gtk2 >= %{gtk2_version}
|
|
|
|
|
|
|
|
Requires: xml-common
|
|
|
|
Requires: xml-common
|
|
|
|
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
|
|
BuildRequires: gtk2-devel
|
|
|
|
BuildRequires: fontconfig
|
|
|
|
BuildRequires: fontconfig
|
|
|
|
BuildRequires: pango-devel >= %{pango_version}
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
|
|
|
|
|
|
|
@ -41,11 +34,7 @@ initial interface loading time, there is no performance tradeoff.
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: The files needed for libglade application development
|
|
|
|
Summary: The files needed for libglade application development
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %name = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: libxml2-devel >= %{libxml2_version}
|
|
|
|
|
|
|
|
Requires: gtk2-devel >= %{gtk2_version}
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
Conflicts: libglade < 0.17
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
The libglade-devel package contains the libraries and include files
|
|
|
|
The libglade-devel package contains the libraries and include files
|
|
|
@ -58,25 +47,20 @@ that you can use to develop libglade applications.
|
|
|
|
%patch2 -p1 -b .secondary
|
|
|
|
%patch2 -p1 -b .secondary
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --disable-gtk-doc
|
|
|
|
%configure --disable-gtk-doc --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/libglade/2.0
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/libglade/2.0
|
|
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%defattr(-, root, root,-)
|
|
|
|
%doc AUTHORS NEWS README COPYING
|
|
|
|
%doc AUTHORS NEWS README COPYING
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%dir %{_libdir}/libglade
|
|
|
|
%dir %{_libdir}/libglade
|
|
|
@ -84,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_datadir}/xml/libglade
|
|
|
|
%{_datadir}/xml/libglade
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%defattr(-, root, root,-)
|
|
|
|
%doc test-libglade.c
|
|
|
|
%doc test-libglade.c
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/lib*.so
|
|
|
@ -93,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_datadir}/gtk-doc/html/libglade
|
|
|
|
%{_datadir}/gtk-doc/html/libglade
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Oct 06 2010 Parag Nemade <paragn AT fedoraproject.org> - 2.6.4-4
|
|
|
|
|
|
|
|
- Merge-review cleanup (#226010)
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.4-3
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|