2003-05-27 Glynn Foster <
[email protected]>
* libIDL: Fix up.
--- a/ChangeLog Tue May 27 15:56:25 2003 +0000
+++ b/ChangeLog Tue May 27 16:02:34 2003 +0000
@@ -1,3 +1,7 @@
+2003-05-27 Glynn Foster <[email protected]>
+
+ * libIDL: Fix up.
+
2003-05-27 Niall Power <[email protected]>
* scrollkeeper.spec: Template conformance changes.
--- a/libIDL.spec Tue May 27 15:56:25 2003 +0000
+++ b/libIDL.spec Tue May 27 16:02:34 2003 +0000
@@ -1,9 +1,3 @@
-#
-# Copyright (c) 2003 Sun Microsystems Inc.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
-#
-
Name: libIDL
License: LGPL
Group: System/Libraries
@@ -13,7 +7,8 @@
Vendor: Sun Microsystems Inc.
Summary: IDL parsing library
Source: http://ftp.gnome.org/pub/GNOME/sources/libIDL/libIDL-%version.tar.bz2
-URL: www.gnome.org
+URL: http://www.gnome.org
+Docdir: %{_defaultdocdir}/doc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
@@ -30,7 +25,7 @@
%package devel
Summary: IDL parsing library development libraries and header files.
Group: Development/Languages/Other
-Requires: libIDL = %{version}
+Requires: %{name} = %{version}
Requires: pkgconfig >= 0.15
Requires: glib2-devel >= 2.2.1
@@ -44,21 +39,22 @@
%setup -q
%build
-./configure \
- --prefix=%{_prefix} \
- --sysconfdir=%{_sysconfdir}
+CFLAGS="$RPM_OPT_FLAGS" \
+./configure --prefix=%{_prefix} \
+ --sysconfdir=%{_sysconfdir}
make
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
%files
%defattr(-,root,root)