fix some packaging trivia

epel9
Matthias Clasen 17 years ago
parent 91b816913e
commit 4d3b0005ce

@ -4,7 +4,7 @@
Summary: A high-performance CORBA Object Request Broker Summary: A high-performance CORBA Object Request Broker
Name: ORBit2 Name: ORBit2
Version: 2.14.12 Version: 2.14.12
Release: 2%{?dist} Release: 3%{?dist}
Source: http://download.gnome.org/sources/ORBit2/2.14/%{name}-%{version}.tar.bz2 Source: http://download.gnome.org/sources/ORBit2/2.14/%{name}-%{version}.tar.bz2
Group: System Environment/Daemons Group: System Environment/Daemons
License: LGPLv2 and GPLv2 License: LGPLv2 and GPLv2
@ -37,10 +37,9 @@ write programs that use CORBA technology.
%package devel %package devel
Summary: Development libraries, header files and utilities for ORBit Summary: Development libraries, header files and utilities for ORBit
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: indent Requires: indent
Requires: glib2-devel
Requires: libIDL-devel >= %{libidl_version} Requires: libIDL-devel >= %{libidl_version}
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel >= %{glib2_version} Requires: glib2-devel >= %{glib2_version}
# we install a pc file # we install a pc file
Requires: pkgconfig Requires: pkgconfig
@ -73,8 +72,8 @@ autoconf
make make
%install %install
rm -rf %{buildroot} rm -rf $RPM_BUILD_ROOT
%makeinstall make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/ORBit-2.0/*.*a rm -f $RPM_BUILD_ROOT%{_libdir}/ORBit-2.0/*.*a
@ -110,19 +109,20 @@ EOF
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%clean %clean
rm -rf %{buildroot} rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root) %defattr(-,root,root,-)
%doc AUTHORS COPYING NEWS README TODO %doc AUTHORS COPYING README TODO
%{_libdir}/*.so.* %{_libdir}/*.so.*
%dir %{_libdir}/orbit-2.0
%{_libdir}/orbit-2.0/*.so* %{_libdir}/orbit-2.0/*.so*
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root,-)
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/orbit-2.0
# this is needed by libbonobo # this is needed by libbonobo
%{_libdir}/libname-server-2.a %{_libdir}/libname-server-2.a
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
@ -132,11 +132,15 @@ rm -rf %{buildroot}
%{_bindir}/ior-decode-2 %{_bindir}/ior-decode-2
%{_includedir}/* %{_includedir}/*
%{_datadir}/aclocal/* %{_datadir}/aclocal/*
%dir %{_datadir}/idl
%{_datadir}/idl/orbit-2.0 %{_datadir}/idl/orbit-2.0
%{_bindir}/linc-cleanup-sockets %{_bindir}/linc-cleanup-sockets
%{_datadir}/gtk-doc/html/* %{_datadir}/gtk-doc/html/*
%changelog %changelog
* Sat Mar 15 2008 Matthias Clasen <mclasen@redhat.com> - 2.14.12-3
- Fix some packaging trivia
* Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.14.12-2 * Fri Feb 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.14.12-2
- Rebuild for gcc 4.3 - Rebuild for gcc 4.3

Loading…
Cancel
Save