libofx-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Summary: A library for supporting Open Financial Exchange (OFX)
  2. Name: libofx
  3. Version: 0.9.0
  4. Release: 2%{?_dist_release}
  5. Source: http://download.sourceforge.net/libofx/%{name}-%{version}.tar.gz
  6. Patch0: libofx-0.9.0-glibc-headers.patch
  7. Group: System Environment/Libraries
  8. License: GPL
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: openjade >= 1.3.1
  11. BuildRequires: opensp-devel
  12. Requires: openjade >= 1.3.1
  13. Requires(post,postun): /sbin/ldconfig
  14. %description
  15. This is the LibOFX library. It is a API designed to allow applications to
  16. very easily support OFX command responses, usually provided by financial
  17. institutions. See http://www.ofx.net/ofx/default.asp for details and
  18. specification.
  19. %package devel
  20. Summary: Development files needed for accessing OFX data.
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. The libofx-devel contains the header files and libraries necessary
  25. for building applications that use libofx.
  26. %prep
  27. %setup -q
  28. %patch0 -p0 -b .glibc-headers
  29. %build
  30. %configure --with-opensp-libs=%{_libdir}
  31. #make %{?_smp_mflags}
  32. make
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. %makeinstall
  36. rm -rf $RPM_BUILD_ROOT/%{_libdir}/*a $RPM_BUILD_ROOT/%{_datadir}/doc
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post -p /sbin/ldconfig
  40. %postun -p /sbin/ldconfig
  41. %files
  42. %defattr(-,root,root)
  43. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README totest.txt
  44. %{_bindir}/*
  45. %{_libdir}/*.so.*
  46. %{_datadir}/libofx/dtd
  47. %files devel
  48. %defattr(-,root,root)
  49. %doc doc/html doc/ofx_sample_files
  50. %{_includedir}/*
  51. %{_libdir}/*.so
  52. %{_libdir}/pkgconfig/*.pc
  53. %changelog
  54. * Mon Oct 04 2010 Shu KONNO <owa@bg.wakwak.com> 0.9.0-2
  55. - rebuilt with rpm-4.8.1 for pkg-config
  56. - added libofx-0.9.0-glibc-headers.patch
  57. * Thu Sep 25 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.0-1
  58. - new upstream release
  59. * Sat Dec 29 2007 NAKAMURA Kenta <kenta@vinelinux.org> 0.8.3-0vl1
  60. - new upstream release
  61. - dropped Patch: libofx-0.7.0-gcc4.patch
  62. * Sun May 20 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.8.0-0vl3
  63. - add BuildRequires: opensp-devel
  64. * Sat May 19 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.8.0-0vl2
  65. - rebuild with new environment
  66. * Sun Oct 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.0-0vl1
  67. - new upstream release
  68. * Mon May 23 2005 Bill Nottingham <notting@redhat.com> 0.7.0-3
  69. - remove static libs
  70. * Tue Mar 8 2005 Bill Nottingham <notting@redhat.com> 0.7.0-2
  71. - fix build with gcc4
  72. * Wed Feb 9 2005 Bill Nottingham <notting@redhat.com> 0.7.0-1
  73. - update to 0.7.0
  74. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> 0.6.6-2
  75. - rebuilt
  76. - Add gcc 3.4 patch
  77. * Fri Mar 12 2004 Bill Nottingham <notting@redhat.com> 0.6.6-1
  78. - split off from gnucash, adapt upstream spec, add -devel package