Revision 15271,
1.7 KB
checked in by ghudson, 24 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r15270,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | %define version @LIBIDL_LIBRARY_VERSION@ |
---|
2 | %define release SNAP |
---|
3 | |
---|
4 | Summary: IDL parsing library |
---|
5 | Name: libIDL |
---|
6 | Version: %{version} |
---|
7 | Release: %{release} |
---|
8 | Source: libIDL-%PACKAGE_VERSION.tar.gz |
---|
9 | Vendor: Andrew T. Veliath <andrewtv@usa.net> |
---|
10 | Copyright: LGPL |
---|
11 | Group: Libraries |
---|
12 | Prereq: /sbin/install-info |
---|
13 | Prefix: /usr |
---|
14 | Docdir: %prefix/doc |
---|
15 | BuildRoot: /var/tmp/libIDL-%{version}-root |
---|
16 | |
---|
17 | %changelog |
---|
18 | * Fri Nov 28 1998 Andrew T. Veliath <andrewtv@usa.net> |
---|
19 | - Initial version |
---|
20 | |
---|
21 | %description |
---|
22 | libIDL is a small library for creating parse trees of CORBA v2.2 |
---|
23 | compliant Interface Definition Language (IDL) files, which is a |
---|
24 | specification for defining interfaces which can be used between |
---|
25 | different CORBA implementations. |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Header files and libraries needed for libIDL development |
---|
29 | Group: Development/Libraries |
---|
30 | Requires: libIDL = %{version} |
---|
31 | |
---|
32 | %description devel |
---|
33 | This package includes the header files and libraries needed for |
---|
34 | developing programs using libIDL. |
---|
35 | |
---|
36 | %prep |
---|
37 | %setup |
---|
38 | |
---|
39 | %build |
---|
40 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr |
---|
41 | make |
---|
42 | |
---|
43 | %install |
---|
44 | rm -rf $RPM_BUILD_ROOT |
---|
45 | make install prefix=$RPM_BUILD_ROOT/%prefix |
---|
46 | gzip -9 $RPM_BUILD_ROOT/%prefix/info/*.info |
---|
47 | |
---|
48 | %post -p /sbin/ldconfig |
---|
49 | %postun -p /sbin/ldconfig |
---|
50 | |
---|
51 | %post devel |
---|
52 | /sbin/install-info %prefix/info/libIDL.info.gz %prefix/info/dir |
---|
53 | |
---|
54 | %preun devel |
---|
55 | if [ $1 = 0 ]; then |
---|
56 | /sbin/install-info --delete %prefix/info/libIDL.info.gz %prefix/info/dir |
---|
57 | fi |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %files |
---|
63 | %defattr(-,root,root) |
---|
64 | %doc COPYING ChangeLog AUTHORS |
---|
65 | %doc README* NEWS BUGS tstidl.c |
---|
66 | %prefix/lib/lib*.so.*.* |
---|
67 | |
---|
68 | %files devel |
---|
69 | %defattr(-,root,root) |
---|
70 | %prefix/bin/* |
---|
71 | %prefix/lib/*.sh |
---|
72 | %prefix/lib/lib*.a |
---|
73 | %prefix/lib/lib*.so |
---|
74 | %prefix/info/libIDL.info.gz |
---|
75 | %prefix/include/* |
---|
76 | %prefix/share/aclocal/* |
---|
Note: See
TracBrowser
for help on using the repository browser.