Changeset 1819 for spec/trunk


Ignore:
Timestamp:
Oct 18, 2022, 9:08:23 PM (3 years ago)
Author:
tellie
Message:

spec: whois: Release version 5.5.14-1.

Location:
spec/trunk/SPECS
Files:
2 edited

Legend:

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

    r1808 r1819  
    11Name:       whois       
    2 Version:    5.5.13
     2Version:    5.5.14
    33Release:    1%{?dist}
    44Summary:    Improved WHOIS client
     
    7272
    7373%changelog
     74* Tue Oct 18 2022 Elbert Pol <elbert.pol@gmail.com> - 5.5.14-1
     75- Updated to latest version
     76
    7477* Sun Apr 10 2022 Elbert Pol <elbert.pol@gmail.com> - 5.5.13-1
    7578- Updated source to latest version
  • spec/trunk/SPECS/xz.spec

    r986 r1819  
    22%{!?_licensedir:%global license %%doc}
    33
    4 Name:           xz
    5 Summary:        LZMA compression utilities
    6 Version:        5.2.3
    7 Release:        2%{?dist}
    8 Group:          Applications/File
     4Summary:        LZMA compression utilities
     5Name:           xz
     6Version:        5.2.7
     7Release:        1%{?dist}
    98
    109# Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are
    1110# GPLv2+, binaries are Public Domain (linked against LGPL getopt_long but its
    1211# OK), documentation is Public Domain.
    13 License:        GPLv2+ and Public Domain
    14 URL:            http://tukaani.org/%{name}/
    15 
    16 Vendor:         bww bitwise works GmbH
    17 %scm_source  svn http://svn.netlabs.org/repos/ports/xz/trunk 1995
    18 
    19 Requires:       %{name}-libs = %{version}-%{release}
    20 Requires:       libcx >= 0.4
     12License:        GPLv2+ and Public Domain
     13%if !0%{?os2_version}
     14# official upstream release
     15Source0:        https://tukaani.org/%{name}/%{name}-%{version}.tar.xz
     16
     17Source100:      colorxzgrep.sh
     18Source101:      colorxzgrep.csh
     19
     20Patch1:   xz-5.2.5-enable_CET.patch
     21%else
     22Vendor:         bww bitwise works GmbH
     23%scm_source     github https://github.com/bitwiseworks/%{name}-os2 v%{version}-os2
     24%endif
     25
     26URL:            https://tukaani.org/%{name}/
     27Requires:       %{name}-libs = %{version}-%{release}
    2128
    2229# For /usr/libexec/grepconf.sh (RHBZ#1189120).
    2330# Unfortunately F21 has a newer version of grep which doesn't
    2431# have grepconf, but we're only concerned with F22 here.
    25 Requires:       grep >= 2.20-5
    26 
    27 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
     32Requires:       grep >= 2.20-5
     33
     34BuildRequires:  make
     35BuildRequires:  gcc
     36%if !0%{?os2_version}
     37BuildRequires:  perl-interpreter
     38%else
     39BuildRequires:  perl
     40%endif
    2841
    2942%description
     
    3750decompression speed fast.
    3851
    39 %package        libs
    40 Summary:        Libraries for decoding LZMA compression
    41 Group:          System Environment/Libraries
    42 License:        Public Domain
    43 Obsoletes:      %{name}-compat-libs < %{version}-%{release}
    44 
    45 %description    libs
     52
     53%package        libs
     54Summary:        Libraries for decoding LZMA compression
     55License:        Public Domain
     56Obsoletes:      %{name}-compat-libs < %{version}-%{release}
     57
     58%description    libs
    4659Libraries for decoding files compressed with LZMA or XZ utils.
    4760
    48 %package        devel
    49 Summary:        Devel libraries & headers for liblzma
    50 Group:          Development/Libraries
    51 License:        Public Domain
    52 Requires:       %{name}-libs = %{version}-%{release}
    53 Requires:       pkgconfig
    54 
    55 %description    devel
     61
     62%package        static
     63Summary:        Statically linked library for decoding LZMA compression
     64License:        Public Domain
     65
     66%description    static
     67Statically linked library for decoding files compressed with LZMA or
     68XZ utils.  Most users should *not* install this.
     69
     70
     71%package        devel
     72Summary:        Devel libraries & headers for liblzma
     73License:        Public Domain
     74Requires:       %{name}-libs = %{version}-%{release}
     75
     76%description    devel
    5677Devel libraries and headers for liblzma.
    5778
    58 %package        lzma-compat
    59 Summary:        Older LZMA format compatibility binaries
    60 Group:          Development/Libraries
     79
     80%package        lzma-compat
     81Summary:        Older LZMA format compatibility binaries
    6182# Just a set of symlinks to 'xz' + two Public Domain binaries.
    62 License:        Public Domain
    63 Requires:       %{name} = %{version}-%{release}
    64 Obsoletes:      lzma < %{version}
    65 Provides:       lzma = %{version}
    66 
    67 %description    lzma-compat
     83License:        Public Domain
     84Requires:       %{name} = %{version}-%{release}
     85Obsoletes:      lzma < %{version}
     86Provides:       lzma = %{version}
     87
     88%description    lzma-compat
    6889The lzma-compat package contains compatibility links for older
    6990commands that deal with the older LZMA format.
    7091
     92%if 0%{?os2_version}
    7193%legacy_runtime_packages
    72 
    7394%debug_package
     95%endif
    7496
    7597%prep
     98%if !0%{?os2_version}
     99%autosetup -p1
     100%else
    76101%scm_setup
    77 
    78102autoreconf -fvi
     103%endif
     104
    79105
    80106%build
    81 
     107%if !0%{?os2_version}
     108export CFLAGS="%optflags"
     109
     110%ifarch %ix86
     111  # rhbz#1630650, annocheck reports the following message because liblzma uses
     112  # crc*_x86.S asm code on i686:
     113  CFLAGS="$CFLAGS -Wa,--generate-missing-build-notes=yes"
     114%endif
     115%else
    82116export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    83117export LIBS="-lcx -lpthread"
    84118export VENDOR="%{vendor}"
    85 %configure --enable-shared --disable-static
    86 
     119%endif
     120
     121%configure
     122%if !0%{?os2_version}
     123sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
     124sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
     125%make_build
     126%else
    87127make %{?_smp_mflags}
     128%endif
     129
    88130
    89131%install
    90 make install DESTDIR=%{buildroot}
     132%make_install
    91133rm -f %{buildroot}%{_libdir}/*.la
    92134
     135%if !0%{?os2_version}
     136# xzgrep colorization
     137%global profiledir %{_sysconfdir}/profile.d
     138mkdir -p %{buildroot}%{profiledir}
     139install -p -m 644 %{SOURCE100} %{buildroot}%{profiledir}
     140install -p -m 644 %{SOURCE101} %{buildroot}%{profiledir}
     141%endif
     142
    93143%find_lang %name
    94144
    95 %clean
    96 rm -fr $RPM_BUILD_ROOT
    97145
    98146%check
    99 #LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
    100 
    101 #%post libs -p /sbin/ldconfig
    102 
    103 #%postun libs -p /sbin/ldconfig
     147%if !0%{?os2_version}
     148LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
     149%endif
     150
     151%if !0%{?os2_version}
     152%ldconfig_scriptlets libs
     153%endif
     154
    104155
    105156%files -f %{name}.lang
    106 %license %{_docdir}/xz/COPYING*
     157%license COPYING*
     158%if !0%{?os2_version}
     159%doc %{_pkgdocdir}
     160%exclude %_pkgdocdir/examples*
     161%else
    107162%doc %{_docdir}/xz
    108 %exclude %{_docdir}/xz/examples*
     163%exclude %_docdir/xz/examples*
     164%endif
    109165%{_bindir}/*xz*
     166%if 0%{?os2_version}
    110167%exclude %{_bindir}/*.dbg
     168%endif
    111169%{_mandir}/man1/*xz*
     170%if !0%{?os2_version}
     171%{_mandir}/de/man1/*xz*
     172%{profiledir}/*
     173%endif
     174
    112175
    113176%files libs
    114 %license %{_docdir}/xz/COPYING
     177%license COPYING
     178%if !0%{?os2_version}
     179%{_libdir}/lib*.so.5*
     180%else
    115181%{_libdir}/*.dll
    116182%exclude %{_libdir}/lzma.dll
     183%endif
     184
     185
     186%files static
     187%license COPYING
     188%if !0%{?os2_version}
     189%{_libdir}/liblzma.a
     190%else
     191%{_libdir}/lzma.a
     192%endif
     193
    117194
    118195%files devel
     
    120197%{_includedir}/lzma/*.h
    121198%{_includedir}/lzma.h
     199%if !0%{?os2_version}
     200%{_libdir}/*.so
     201%else
    122202%{_libdir}/*_dll.a
     203%endif
    123204%{_libdir}/pkgconfig/liblzma.pc
    124 %doc %{_docdir}/xz/examples*
     205%if !0%{?os2_version}
     206%doc %_pkgdocdir/examples*
     207%else
     208%doc %_docdir/xz/examples*
     209%endif
     210
    125211
    126212%files lzma-compat
    127213%{_bindir}/*lz*
     214%if 0%{?os2_version}
    128215%exclude %{_bindir}/*.dbg
     216%endif
    129217%{_mandir}/man1/*lz*
     218%if !0%{?os2_version}
     219%{_mandir}/de/man1/*lz*
     220%endif
     221
    130222
    131223%changelog
     224* Mon Jan 17 2022 Silvan Scherrer <silvan.scherrer@aroa.ch> 5.2.3-3
     225- resync with fedora spec
     226- moved source to github
     227- added static part
     228
    132229* Tue Feb 14 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 5.2.3-2
    133230- rebuild with changed legacy_runtime_packages macro
Note: See TracChangeset for help on using the changeset viewer.