Ignore:
Timestamp:
Jan 15, 2023, 7:44:27 PM (3 years ago)
Author:
tellie
Message:

spec: libzip: Release version 1.9.2-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/libzip.spec

    r1813 r1826  
     1%if !0%{?os2_version}
    12%bcond_without tests
     3%else
     4%bcond_with tests
     5%endif
    26
    37Name:    libzip
    4 Version: 1.9.0
     8Version: 1.9.2
    59Release: 1%{?dist}
    610Summary: C library for reading, creating, and modifying zip archives
     
    1317%scm_source github https://github.com/TeLLie/%{name}-os2 %{version}-os2
    1418%endif
     19
    1520
    1621BuildRequires:  gcc
     
    98103  -DBUILD_EXAMPLES:BOOL=OFF \
    99104  -DBUILD_DOC:BOOL=ON
     105
     106%cmake_build
    100107%else
    101108mkdir builder
     
    117124  -DBUILD_EXAMPLES:BOOL=OFF \
    118125  -DBUILD_DOC:BOOL=ON ..
    119 %endif
    120 
    121 %if !0%{?os2_version}
    122 %cmake_build
    123 %else
     126
    124127make %{?_smp_mflags}
    125128%endif
     
    127130%install
    128131%if !0%{?os2_version}
    129 %cmake_build
     132%cmake_install
    130133%else
    131134%make_install INSTALL_ROOT=%{buildroot} -C builder
    132135%endif
    133136
    134 
    135137%check
    136 %if !0%{?os2_version}
    137138%if %{with tests}
    138139%ctest
    139140%else
    140141: Test suite disabled
    141 %endif
    142142%endif
    143143
     
    160160%{_bindir}/ziptool
    161161%else
     162%{_mandir}/man1/zip*
    162163%{_bindir}/zipcmp.exe
    163164%{_bindir}/zipmerge.exe
    164165%{_bindir}/ziptool.exe
    165166%endif
    166 %{_mandir}/man1/zip*
    167167
    168168%files devel
     
    175175%{_libdir}/*.a
    176176%endif
     177
    177178%{_libdir}/pkgconfig/libzip.pc
    178179%{_libdir}/cmake/libzip
     
    182183
    183184%changelog
     185* Sun Jan 15 2023 Elbert Pol <elbert.pol@gmail.com> - 1.9.2 - 1
     186- Updated to latest version
     187
    184188* Sun Jun 19 2022 Elbert Pol <elbert.pol@gmail.com> - 1.9.0 - 1
    185189- Updated to latest version
Note: See TracChangeset for help on using the changeset viewer.