File: stringlist.spec

package info (click to toggle)
stringlist 0.2.1-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 456 kB
  • ctags: 96
  • sloc: sh: 4,710; ansic: 1,280; makefile: 89
file content (79 lines) | stat: -rw-r--r-- 1,652 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Note that this is NOT a relocatable package
%define ver      0.1
%define rel      SNAP
%define prefix   /usr

Summary:   Miscellaneous Memory and Configuration Function Library
Name:      stringlist
Version:   %ver
Release:   %rel
Copyright: GPL
Group:     X11/Libraries
Source0:   stringlist_DR-%{PACKAGE_VERSION}.tar.gz
URL:       http://mandrake.net/
BuildRoot: /tmp/stringlist-%{PACKAGE_VERSION}-root
Packager: Term <term@dfw.net>

%description
The StringList library provides several miscellaneous sets of functions
for tracking memory usage, Enlightenment's configuration language, file
and string manipulations.

%package devel
Summary: Libraries and includes necessary for building other applications.
Group: X11/Libraries
Requires: stringlist

%description devel
Libraries and includes required for building other applications with
StringList.
 
%prep
%setup

%build
./autogen.sh --prefix=/usr
# Needed for snapshot releases.
if [ ! -f configure ]; then
  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix
else
  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
fi

if [ "$SMP" != "" ]; then
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi

%install
rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{prefix} install

%post
/sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{prefix}/lib/lib*.so.*

%files devel
%defattr(-, root, root)

%{prefix}/lib/lib*.so
%{prefix}/lib/*a
%{prefix}/include/*


%changelog
* Tue Aug 18 1998 Term <term@dfw.net>

- First try at an RPM for StringList, hacked from esound's. :)