libole2-vl.spec 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. %define ver 2.2.8
  2. %define rel 1%{?_dist_release}
  3. Summary: Structured Storage OLE2 library
  4. Name: libole2
  5. Version: %{ver}
  6. Release: %{rel}
  7. Group: System Environment/Libraries
  8. License: GPL
  9. Buildroot: %{_tmppath}/%{name}-%{version}-root
  10. Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.2/%{name}-%{ver}.tar.bz2
  11. %description
  12. A library containing functionality to manipulate OLE2 Structured Storage files. It is used by Gnumeric from Gnome, AbiWord from AbiSuite and by other programs.
  13. %package devel
  14. Summary: Libraries, includes, etc to develop libole2 applications
  15. Group: Development/Libraries
  16. Requires: libole2 = %{version}
  17. %description devel
  18. Libraries, include files, etc you can use to develop libole2 applications.
  19. %prep
  20. %setup -q
  21. %build
  22. %configure --with-gnomevfs
  23. make
  24. %install
  25. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  26. %makeinstall
  27. # %find_lang %{name}
  28. ## remove unuse files
  29. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  30. %clean
  31. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root)
  34. %doc README
  35. %{_libdir}/lib*.so.*
  36. %files devel
  37. %defattr(-,root,root)
  38. %{_libdir}/lib*.so
  39. %{_libdir}/*.a
  40. #%{_libdir}/*.la
  41. %{_libdir}/pkgconfig/*.pc
  42. %{_includedir}/*
  43. %changelog
  44. * Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.2.8-1vl5
  45. - applied new versioning policy
  46. - removed *.la
  47. * Sat Jul 22 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.8-0vl1
  48. - updated to 2.2.8
  49. - changed devel Group to Development/Libraries
  50. * Mon Jul 28 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.4-0vl2
  51. - rebuild with new toolchains
  52. - s/Copyright/License/
  53. * Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.2.4-0vl1
  54. - New upstream release.
  55. * Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.2.0-0vl1
  56. - New upstream release.
  57. - Use rpmmacros.
  58. * Wed Jun 28 2000 Arturo Tena <arturo@directmail.org>
  59. - Updated summary and description.
  60. * Sun May 23 2000 John Gotts <jgotts@linuxsavvy.com>
  61. - New SPEC file.