libofx-vl.spec 2.7 KB

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