libmal-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. %define version 0.44.1
  2. Summary: MAL (Mobil Application Link) library
  3. Name: libmal
  4. Version: %{version}
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: MPL
  8. URL: http://www.jlogday.com/code/libmal/
  9. Source: http://http://www.jlogday.com/code/libmal/libmal-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: pilot-link-devel
  12. %description
  13. libmal is really just a convenience library of the functions in Tom Whittaker's
  14. malsync distribution, along with a few wrapper functions.
  15. %package devel
  16. Summary: Development files for libmal
  17. Group: Development/Libraries
  18. Requires: %{name} = %{version}-%{release}
  19. %description devel
  20. Development files for libmal
  21. %prep
  22. %setup -q
  23. %build
  24. %configure --disable-static FORCE_PILOT_LIBS=%{_libdir}
  25. make
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make DESTDIR=$RPM_BUILD_ROOT install
  29. ## remove unuse files
  30. rm -rf %{buildroot}%{_libdir}/*.la
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %post -p /sbin/ldconfig
  34. %postun -p /sbin/ldconfig
  35. %files
  36. %defattr(-,root,root)
  37. %doc README ChangeLog MPL-1_0.txt TODO
  38. %{_bindir}/*
  39. %{_libdir}/*.so.*
  40. %files devel
  41. %defattr(-,root,root)
  42. %{_includedir}/libmal/*
  43. %{_libdir}/*.so
  44. %changelog
  45. * Thu Sep 30 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-2
  46. - added BR: pilot-link-devel
  47. * Thu Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-1
  48. - new upstream release
  49. - built with new toolchain
  50. - added --disable-static to %%configure
  51. * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.42-1vl5
  52. - applied new versioning policy
  53. - added FORCE_PILOT_LIBS to %%configure
  54. - removed *.la
  55. * Sat Dec 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1
  56. - new upstream release
  57. - rebuilt with new pilot-link
  58. - added %post and %postun section
  59. - changed Group to System Environment/Libraries
  60. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.31-0vl1
  61. - build for VineSeed
  62. * Tue Jan 21 2003 Jason Day <jasonday@worldnet.att.net>
  63. - Initial version