libPropList-vl.spec 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. Summary: Ensures program compatibility with GNUstep/OPENSTEP.
  2. Summary(ja): GNUstep/OPENSTEP のプログラム互換性を保つライブラリ
  3. Name: libPropList
  4. Version: 0.10.1
  5. Release: 14%{?_dist_release}
  6. License: LGPLv2
  7. Group: System Environment/Libraries
  8. Source: ftp://ftp.windowmaker.org/pub/libs/%{name}-%{version}.tar.gz
  9. Patch0: libPropList-0.10.1-config64.patch
  10. Patch1: libPropList-0.10.1-ltconfig.patch
  11. Buildroot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: flex
  13. %description
  14. The libPropList library uses an opaque data type to represent a tree
  15. structure made of strings, data blocks, arrays and dictionaries
  16. (key-value pair lists). The tree structure can be manipulated, written
  17. out to or read in from a file, and synchronized with the contents of a
  18. file. LibPropList imitates the behavior of and is compatible with the
  19. property lists used in GNUstep/OPENSTEP, which are formed with the
  20. NSString, NSData, NSArray and NSDictionary classes.
  21. LibPropList enables programs that use configuration or preference
  22. files to make them compatible with GNUstep/OPENSTEP's user defaults
  23. handling mechanism, without using Objective-C or GNUstep/OPENSTEP.
  24. #'
  25. %package devel
  26. Summary: Development files for %{name}
  27. Summary(ja): %{name} の開発用ファイル
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. The %{name}-devel package contains libraries and header files for
  32. developing applications that use %{name}.
  33. %prep
  34. %setup -q
  35. %patch0 -p1 -b .config64
  36. %patch1 -p1 -b .ltconfig
  37. %configure --disable-static
  38. %build
  39. make
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. ## remove unuse files
  44. rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root)
  51. %doc AUTHORS COPYING* ChangeLog NEWS README
  52. %{_libdir}/libPropList.so.*
  53. %files devel
  54. %defattr(-,root,root)
  55. %{_includedir}/proplist.h
  56. %{_libdir}/libPropList.so
  57. %changelog
  58. * Tue Feb 10 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.10.1-14
  59. - rebuilt on current Vine Seed
  60. - added %%post and %%postun section
  61. - split development files into devel subpackage
  62. * Sat Apr 23 2011 Shu KONNO <owa@bg.wakwak.com> 0.10.1-13
  63. - rebuilt with rpm-4.8.1-3
  64. * Sun Feb 21 2010 Shu KONNO <owa@bg.wakwak.com> 0.10.1-12
  65. - rebuilt with new toolchain
  66. - updated libPropList-0.10.1-ltconfig.patch
  67. * Wed Apr 29 2009 Shu KONNO <owa@bg.wakwak.com> 0.10.1-11vl5
  68. - added libPropList-0.10.1-config64.patch
  69. - added libPropList-0.10.1-ltconfig.patch
  70. - added --disable-static in %%configure
  71. - added BuildRequires: flex
  72. * Wed Apr 29 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.1-10vl5
  73. - changed Group to Development/Libraries
  74. - removed %%post and %%postun section
  75. * Sat Sep 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.1-9vl5
  76. - removed *.la
  77. * Sun Jun 01 2008 Shu KONNO <owa@bg.wakwak.com> 0.10.1-8vl5
  78. - applied new versioning policy and utf-8
  79. * Sun Jun 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.10.1-7vl3
  80. - rebuild with new toolchains
  81. - to use License instead of Copyright
  82. * Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  83. - 0.10.1-7vl2
  84. - Oops, the spec file was in Shift-JIS. Fixed.
  85. * Wed Dec 27 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  86. - 0.10.1-7vl1
  87. - based on 0.10.1-7 from Rawhide
  88. - added Japanese summary
  89. - use better macros
  90. * Mon Dec 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
  91. - rebuild
  92. * Mon Jul 31 2000 Trond Eivind Glomsr <teg@redhat.com>
  93. - run ldconfig in post scripts
  94. * Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
  95. - automatic rebuild
  96. * Tue Jul 11 2000 Trond Eivind Glomsr <teg@redhat.com>
  97. - rebuild
  98. * Sat Jun 17 2000 Trond Eivind Glomsr <teg@redhat.com>
  99. - use %%{_tmppath}
  100. - specify ownership
  101. * Thu Jun 08 2000 Trond Eivind Glomsr <teg@redhat.com>
  102. - use %%makeinstall and %%configure
  103. * Tue Apr 04 2000 Trond Eivind Glomsr <teg@redhat.com>
  104. - version 0.10.1
  105. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  106. - version 0.9.1
  107. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  108. - auto rebuild in the new build environment (release 2)
  109. * Tue Feb 02 1999 Cristian Gafton <gafton@redhat.com>
  110. - packaged independently