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