libmal-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. %define version 0.44.1
  2. Summary: MAL (Mobil Application Link) library
  3. Name: libmal
  4. Version: %{version}
  5. Release: 1%{?_dist_release}
  6. License: MPL
  7. Group: System Environment/Libraries
  8. Source: http://http://www.jlogday.com/code/libmal/libmal-%{version}.tar.gz
  9. URL: http://www.jlogday.com/code/libmal/
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Requires: pilot-link
  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 Apr 29 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.44.1-1
  46. - new upstream release
  47. - built with new toolchain
  48. - added --disable-static to %%configure
  49. * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.42-1vl5
  50. - applied new versioning policy
  51. - added FORCE_PILOT_LIBS to %%configure
  52. - removed *.la
  53. * Sat Dec 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1
  54. - new upstream release
  55. - rebuilt with new pilot-link
  56. - added %post and %postun section
  57. - changed Group to System Environment/Libraries
  58. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.31-0vl1
  59. - build for VineSeed
  60. * Tue Jan 21 2003 Jason Day <jasonday@worldnet.att.net>
  61. - Initial version