libmal-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. %define version 0.42
  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://jasonday.home.att.net/code/libmal/libmal-%{version}.tar.gz
  9. URL: http://jasonday.home.att.net/code/libmal/libmal.html
  10. Requires: pilot-link
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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 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}/*.a
  44. #%{_libdir}/*.la
  45. %{_libdir}/*.so
  46. %changelog
  47. * Mon Sep 08 2008 Shu KONNO <owa@bg.wakwak.com> 0.42-1vl5
  48. - applied new versioning policy
  49. - added FORCE_PILOT_LIBS to %%configure
  50. - removed *.la
  51. * Sat Dec 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.42-0vl1
  52. - new upstream release
  53. - rebuilt with new pilot-link
  54. - added %post and %postun section
  55. - changed Group to System Environment/Libraries
  56. * Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.31-0vl1
  57. - build for VineSeed
  58. * Tue Jan 21 2003 Jason Day <jasonday@worldnet.att.net>
  59. - Initial version