-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrurlib.spec.in
95 lines (73 loc) · 2.04 KB
/
trurlib.spec.in
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# $Revision$, $Date$
Summary: C library with some useful data structures and routines
Name: trurlib
Version: @VERSION@
Release: 1
License: LGPL
Group: Development/Libraries
Group(pl): Programowanie/Biblioteki
Source: %{name}-%{version}.tar.gz
BuildRoot: /tmp/%{name}-%{version}-root-%(id -u -n)
%description
TRURL library contains some useful data structures and routines:
- dynamic array
- linked list
(both with Perl-like interface)
- hash table
- some string functions
- xmalloc()s
and some other n stuff.
%package devel
Summary: trurlib headers and documentation
Group: Development/Libraries
Group(pl): Programowanie/Biblioteki
Requires: %{name} = %{version}
%description devel
trurlib headers and documentation
%package static
Summary: Static trurl library
Group: Development/Libraries
Group(pl): Programowanie/Biblioteki
Requires: %{name} = %{version}
%description static
Static trurl library
%prep
%setup -q
%build
%configure --enable-shared
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_prefix}
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/lib*.so.*
%files devel
%defattr(644,root,root,755)
%attr(644,root,root) %{_libdir}/lib*.la
%attr(644,root,root) %{_libdir}/lib*.so
%{_includedir}/trurl
%files static
%defattr(644,root,root,755)
%attr(644,root,root) %{_libdir}/lib*.a
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <[email protected]>
All persons listed below can be reached at <cvs_login>@pld.org.pl
$Log$
Revision 1.1 2000/10/29 21:12:22 mis
- automake/autoconf support
Revision 1.5 2000/09/20 18:33:51 mis
- %{tmpdir} -> /tmp, distribution spec shouldn't be PLD dependent
Revision 1.4 2000/09/20 16:30:26 mis
- current working version is v0.42
Revision 1.3 2000/07/20 15:33:05 mis
- version 0.41
Revision 1.2 2000/07/15 12:39:00 mis
- modularized narray, nhash and nlist modules
Revision 1.1 2000/06/09 16:37:19 mis
- spec