]> git.pld-linux.org Git - packages/libPropList.git/blob - libPropList.spec
8c32998c58ead5bd5387cbdcf7ffd04d3cd480a8
[packages/libPropList.git] / libPropList.spec
1 Summary:        library for reading/writing GNUstep-style defaults databases
2 Summary(pl):    Biblioteka libPropList
3 Name:           libPropList
4 Version:        0.10.1
5 Release:        3
6 License:        GPL
7 Group:          X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source0:        ftp://ftp.windowmaker.org/pub/libs/%{name}-%{version}.tar.gz
10 URL:            http://www.windowmaker.org/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define         _prefix         /usr
14
15 %description
16 The libPropList library, hereafter referred to as PL, uses an opaque
17 data type to represent a tree structure made of strings, data blocks,
18 arrays and dictionaries (key-value pair lists). This structure can be
19 manipulated, written out to and read in from a file, and synchronized
20 with the contents of a file. The purpose of PL is to closely mimick
21 the behaviour of the property lists used in GNUstep/OPENSTEP (there
22 formed with the NSString, NSData, NSArray and NSDictionary classes)
23 and to be compatible with it. PL enables programs that use
24 configuration or preference files to make these compatible with
25 GNUstep/OPENSTEP's user defaults handling mechanism, without needing
26 to use Objective-C or GNUstep/OPENSTEP themselves.
27
28 %description -l pl
29 libPropList jest bibliotek± wymagan± przez Window Maker'a.
30
31 %package devel
32 Summary:        libPropList libraries
33 Summary(pl):    Biblioteki libPropList
34 Group:          Development/Libraries
35 Group(fr):      Development/Librairies
36 Group(pl):      Programowanie/Biblioteki
37 Requires:       %{name} = %{version}
38
39 %description devel
40 libPropList headers files
41
42 %description devel -l pl
43 Ten pakiet zawiera pliki nag³ówkowe i biblioteki niezbêdne do
44 tworzenia aplikacji korzystaj±cych z biblioteki libPropList.
45
46 %package static
47 Summary:        libPropList static libraries
48 Summary(pl):    Biblioteki statyczne libPropList
49 Group:          Development/Libraries
50 Group(fr):      Development/Librairies
51 Group(pl):      Programowanie/Biblioteki
52 Requires:       %{name}-devel = %{version}
53
54 %description static
55 This package contains static libraries for building libPropList
56 applications.
57
58 %description static -l pl
59 Ten pakiet zawiera statyczne biblioteki niezbêdne do tworzenia
60 aplikacji korzystaj±cych z biblioteki libPropList.
61
62 %prep
63 %setup -q 
64
65 %build
66 LDFLAGS="-s"; export LDFLAGS
67 %configure
68
69 %{__make} 
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73 %{__make} install DESTDIR=$RPM_BUILD_ROOT 
74
75 strip $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
76
77 gzip -9nf AUTHORS ChangeLog NEWS README
78
79 %post   -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
81
82 %clean
83 rm -r $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %doc {AUTHORS,ChangeLog,NEWS,README}.gz
92 %attr(755,root,root) %{_libdir}/lib*.so
93 %attr(755,root,root) %{_libdir}/lib*.la
94 %{_includedir}/*.h
95
96 %files static
97 %defattr(644,root,root,755)
98 %{_libdir}/lib*.a
This page took 0.064595 seconds and 3 git commands to generate.