libmal-vl.spec 2.2 KB

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