Changeset 47 for trunk

Show
Ignore:
Timestamp:
09/04/07 14:05:27 (7 years ago)
Author:
wez
Message:

packaging tweaks from Rich

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/umem.spec.in

    r46 r47  
    11Name:           @PACKAGE_NAME@ 
    22Version:        @PACKAGE_VERSION@ 
    3 Release:        1%{?dist} 
     3Release:        2%{?dist} 
    44Summary:        Port of Solaris's slab allocator. 
    55 
    66Group:          System Environment/Libraries 
    77License:        CDDL 
    8 URL:            http://sourceforge.net/projects/umem/ 
     8URL:            https://labs.omniti.com/trac/portableumem/ 
    99Source0:        %{name}-%{version}.tar.bz2 
    1010BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
     
    5151rm -fv $RPM_BUILD_ROOT%{_libdir}/*.so.[0-9] 
    5252 
     53# Build the pkgconfig configurations. 
     54mkdir -p $RPM_BUILD_ROOT%{_libdir}/pkgconfig 
     55 
     56cat<<EOT >$RPM_BUILD_ROOT%{_libdir}/pkgconfig/%{name}-%{version}.pc 
     57prefix=%{_prefix} 
     58exec_prefix=%{_exec_prefix} 
     59libdir=%{_libdir} 
     60includedir=%{_includedir} 
     61 
     62Name: %{name} 
     63Version: %{version} 
     64Description: Port of Solaris's slab allocator. 
     65URL: https://labs.omniti.com/trac/portableumem/ 
     66Requires: 
     67Libs: -L\${libdir} -lumem 
     68Cflags: 
     69EOT 
     70 
     71cat<<EOT >$RPM_BUILD_ROOT%{_libdir}/pkgconfig/%{name}-malloc-%{version}.pc 
     72prefix=%{_prefix} 
     73exec_prefix=%{_exec_prefix} 
     74libdir=%{_libdir} 
     75includedir=%{_includedir} 
     76 
     77Name: %{name} 
     78Version: %{version} 
     79Description: Port of Solaris's slab allocator. Libc malloc replacement. 
     80URL: https://labs.omniti.com/trac/portableumem/ 
     81Requires: 
     82Libs: -L\${libdir} -lumem_malloc 
     83Cflags: 
     84EOT 
     85 
    5386 
    5487%clean 
     
    76109Group: Development/Libraries 
    77110 
     111Requires: pkgconfig 
     112 
    78113 
    79114%description devel 
     
    92127%{_libdir}/*.a 
    93128%{_mandir}/man*/* 
     129%{_libdir}/pkgconfig/*.pc