7d05ba3
Name:           gtkdatabox
cb259d0
Version:        0.9.2.0
cb259d0
Release:        1%{?dist}
7d05ba3
Summary:        GTK+ widget for fast data display
7d05ba3
Group:          System Environment/Libraries
72fd739
License:        LGPLv2+
eca920d
URL:            http://sourceforge.net/projects/gtkdatabox
eca920d
Source:         http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
c15d089
Patch0:         gtkdatabox-0.8.2.0-userpmoptflags.patch
7d05ba3
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
eca920d
BuildRequires:  gtk2-devel, pkgconfig
Eric Work b5aea8b
BuildRequires:  libglade2-devel
7d05ba3
7d05ba3
%description
7d05ba3
GtkDatabox is a widget for the GTK+ library designed to display
7d05ba3
large amounts of numerical data fast and easy.
7d05ba3
7d05ba3
%package        devel
7d05ba3
Summary:        Development files for %{name}
7d05ba3
Group:          Development/Libraries
7d05ba3
Requires:       %{name} = %{version}-%{release}
eca920d
Requires:       gtk2-devel, pkgconfig
7d05ba3
7d05ba3
%description    devel
eca920d
The %{name}-devel package contains libraries, header files, and
eca920d
documentation for developing applications that use %{name}.
eca920d
eca920d
%package        libglade
eca920d
Summary:        Glade 2 support files for %{name}
eca920d
Group:          System Environment/Libraries
eca920d
Requires:       %{name} = %{version}-%{release}
eca920d
eca920d
%description    libglade
eca920d
The %{name}-libglade package contains support files for libglade.
eca920d
7d05ba3
%prep
7d05ba3
%setup -q
72fd739
%patch0 -p1 -b .optflags
7d05ba3
7d05ba3
%build
cb259d0
# need reconfig to support aarch64
cb259d0
autoconf
cb259d0
%configure --disable-static --enable-libglade LIBS="-lm"
eca920d
# fix rpath libtool issues
eca920d
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
eca920d
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
eca920d
# fix ChangeLog encoding issues
eca920d
iconv -f iso8859-1 -t utf-8 ChangeLog > ChangeLog.tmp && mv -f ChangeLog.tmp ChangeLog
7d05ba3
make %{?_smp_mflags}
7d05ba3
7d05ba3
%install
eca920d
rm -rf %{buildroot}
eca920d
make install DESTDIR=%{buildroot}
eca920d
find %{buildroot} -name '*.la' -exec rm -f {} ';'
7d05ba3
7d05ba3
%clean
eca920d
rm -rf %{buildroot}
7d05ba3
7d05ba3
%post -p /sbin/ldconfig
7d05ba3
%postun -p /sbin/ldconfig
7d05ba3
7d05ba3
%files
7d05ba3
%defattr(-,root,root,-)
7d05ba3
%doc AUTHORS ChangeLog COPYING NEWS README TODO
7d05ba3
%{_libdir}/libgtkdatabox-*.so.*
7d05ba3
7d05ba3
%files devel
7d05ba3
%defattr(-,root,root,-)
7d05ba3
%doc examples/*.c
7d05ba3
%{_includedir}/gtkdatabox*.h
7d05ba3
%{_libdir}/libgtkdatabox.so
7d05ba3
%{_libdir}/pkgconfig/gtkdatabox.pc
eca920d
eca920d
%files libglade
eca920d
%defattr(-,root,root,-)
eca920d
%{_libdir}/libglade/2.0/libdatabox.so
eca920d
7d05ba3
%changelog
cb259d0
* Sun Mar 24 2013 Eric Work <work.eric@gmail.com> - 0.9.2.0-1
cb259d0
- new upstream version
cb259d0
- drop deprecated GTK feature patches
cb259d0
bf9da2b
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1.1-10
bf9da2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
bf9da2b
ffec581
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1.1-9
ffec581
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ffec581
7ec4229
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1.1-8
7ec4229
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7ec4229
c2f093c
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.9.1.1-7
c2f093c
- Rebuild for new libpng
c2f093c
Eric Work b5aea8b
* Sat Jun 25 2011 Eric Work <work.eric@gmail.com> - 0.9.1.1-6
Eric Work b5aea8b
- Allow deprecated GDK functions
Eric Work b5aea8b
- Disable glade subpackage requires gtk-3.0
Eric Work b5aea8b
7ba8aaf
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1.1-5
7ba8aaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7ba8aaf
7514567
* Fri Sep  3 2010 Dan HorĂ¡k <dan[at]danny.cz> 0.9.1.1-4
7514567
- fix deprecated GTK 2.22 features
7514567
1b407f5
* Thu May 20 2010 Eric Work <work.eric@gmail.com> 0.9.1.1-3
b7c33f0
- fix deprecated GTK 2.20 features
b7c33f0
98883b1
* Thu May 20 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 0.9.1.1-2
98883b1
- Updated to consume new libgladeui-1.so.9
98883b1
eca920d
* Tue Feb 09 2010 Eric Work <work.eric@gmail.com> 0.9.1.1-1
eca920d
- new upstream version
eca920d
- enable glade support
eca920d
- fix new linker problems
eca920d
d7bddde
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0.1-3
d7bddde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d7bddde
7ea3166
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0.1-2
7ea3166
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7ea3166
e9fbe70
* Mon Sep 08 2008 Eric Work <work.eric@gmail.com> 0.9.0.1-1
e9fbe70
- new upstream version
e9fbe70
- drop patch gcallback
e9fbe70
d8621c8
* Mon Sep 01 2008 Eric Work <work.eric@gmail.com> 0.9.0.0-1
d8621c8
- new upstream version
d8621c8
- new gtk-doc documentation
d8621c8
- fix deprecated GTK_SIGNAL_FUNC
d8621c8
2131363
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.2.2-2
2131363
- Autorebuild for GCC 4.3
2131363
fef97e9
* Sat Jan 26 2008 Eric Work <work.eric@gmail.com> 0.8.2.2-1
fef97e9
- new upstream version
fef97e9
c15d089
* Tue Dec 18 2007 Eric Work <work.eric@gmail.com> 0.8.2.0-1
c15d089
- new upstream version
c15d089
- drop patch compilefix
c15d089
- enable libglade support
c15d089
72fd739
* Mon Nov 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.8.0.1-2
72fd739
- fix license tag
72fd739
- use rpm optflags
72fd739
78fd208
* Mon Nov 26 2007 Eric Work <work.eric@gmail.com> 0.8.0.1-1
78fd208
- new upstream version
78fd208
ab185ec
* Tue Mar 20 2007 Eric Work <work.eric@gmail.com> 0.7.0.1-1
ab185ec
- new upstream version
ab185ec
c8f1427
* Sat Nov 11 2006 Eric Work <work.eric@gmail.com> 0.7.0.0-4
c8f1427
- bumped EVR to assure devel replaces FC6
c8f1427
a6e38b7
* Fri Sep 15 2006 Eric Work <work.eric@gmail.com> 0.7.0.0-3
a6e38b7
- bumped version to prepare for FC6
a6e38b7
091c323
* Thu Aug 17 2006 Eric Work <work.eric@gmail.com> 0.7.0.0-2
091c323
- removed devel post/postun scripts
091c323
3606082
* Fri Aug 11 2006 Eric Work <work.eric@gmail.com> 0.7.0.0-1
3606082
- updated to 0.7.0.0
3606082
7d05ba3
* Tue Aug 08 2006 Eric Work <work.eric@gmail.com> 0.6.0.0-1
7d05ba3
- updated to 0.6.0.0
7d05ba3
7d05ba3
* Fri Jun 23 2006 Eric Work <work.eric@gmail.com> 0.5.3.0-1
7d05ba3
- initial release