Changeset 1819 for spec/trunk
- Timestamp:
- Oct 18, 2022, 9:08:23 PM (3 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 2 edited
-
whois.spec (modified) (2 diffs)
-
xz.spec (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/whois.spec
r1808 r1819 1 1 Name: whois 2 Version: 5.5.1 32 Version: 5.5.14 3 3 Release: 1%{?dist} 4 4 Summary: Improved WHOIS client … … 72 72 73 73 %changelog 74 * Tue Oct 18 2022 Elbert Pol <elbert.pol@gmail.com> - 5.5.14-1 75 - Updated to latest version 76 74 77 * Sun Apr 10 2022 Elbert Pol <elbert.pol@gmail.com> - 5.5.13-1 75 78 - Updated source to latest version -
spec/trunk/SPECS/xz.spec
r986 r1819 2 2 %{!?_licensedir:%global license %%doc} 3 3 4 Name: xz 5 Summary: LZMA compression utilities 6 Version: 5.2.3 7 Release: 2%{?dist} 8 Group: Applications/File 4 Summary: LZMA compression utilities 5 Name: xz 6 Version: 5.2.7 7 Release: 1%{?dist} 9 8 10 9 # Scripts xz{grep,diff,less,more} and symlinks (copied from gzip) are 11 10 # GPLv2+, binaries are Public Domain (linked against LGPL getopt_long but its 12 11 # 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 12 License: GPLv2+ and Public Domain 13 %if !0%{?os2_version} 14 # official upstream release 15 Source0: https://tukaani.org/%{name}/%{name}-%{version}.tar.xz 16 17 Source100: colorxzgrep.sh 18 Source101: colorxzgrep.csh 19 20 Patch1: xz-5.2.5-enable_CET.patch 21 %else 22 Vendor: bww bitwise works GmbH 23 %scm_source github https://github.com/bitwiseworks/%{name}-os2 v%{version}-os2 24 %endif 25 26 URL: https://tukaani.org/%{name}/ 27 Requires: %{name}-libs = %{version}-%{release} 21 28 22 29 # For /usr/libexec/grepconf.sh (RHBZ#1189120). 23 30 # Unfortunately F21 has a newer version of grep which doesn't 24 31 # have grepconf, but we're only concerned with F22 here. 25 Requires: grep >= 2.20-5 26 27 BuildRoot: %{_tmppath}/%{name}-%{version}-build 32 Requires: grep >= 2.20-5 33 34 BuildRequires: make 35 BuildRequires: gcc 36 %if !0%{?os2_version} 37 BuildRequires: perl-interpreter 38 %else 39 BuildRequires: perl 40 %endif 28 41 29 42 %description … … 37 50 decompression speed fast. 38 51 39 %package libs 40 Summary: Libraries for decoding LZMA compression 41 Group: System Environment/Libraries 42 License: Public Domain43 Obsoletes: %{name}-compat-libs < %{version}-%{release}44 45 %description libs52 53 %package libs 54 Summary: Libraries for decoding LZMA compression 55 License: Public Domain 56 Obsoletes: %{name}-compat-libs < %{version}-%{release} 57 58 %description libs 46 59 Libraries for decoding files compressed with LZMA or XZ utils. 47 60 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 63 Summary: Statically linked library for decoding LZMA compression 64 License: Public Domain 65 66 %description static 67 Statically linked library for decoding files compressed with LZMA or 68 XZ utils. Most users should *not* install this. 69 70 71 %package devel 72 Summary: Devel libraries & headers for liblzma 73 License: Public Domain 74 Requires: %{name}-libs = %{version}-%{release} 75 76 %description devel 56 77 Devel libraries and headers for liblzma. 57 78 58 %package lzma-compat 59 Summary: Older LZMA format compatibility binaries 60 Group: Development/Libraries79 80 %package lzma-compat 81 Summary: Older LZMA format compatibility binaries 61 82 # Just a set of symlinks to 'xz' + two Public Domain binaries. 62 License: Public Domain63 Requires: %{name} = %{version}-%{release}64 Obsoletes: lzma < %{version}65 Provides: lzma = %{version}66 67 %description lzma-compat83 License: Public Domain 84 Requires: %{name} = %{version}-%{release} 85 Obsoletes: lzma < %{version} 86 Provides: lzma = %{version} 87 88 %description lzma-compat 68 89 The lzma-compat package contains compatibility links for older 69 90 commands that deal with the older LZMA format. 70 91 92 %if 0%{?os2_version} 71 93 %legacy_runtime_packages 72 73 94 %debug_package 95 %endif 74 96 75 97 %prep 98 %if !0%{?os2_version} 99 %autosetup -p1 100 %else 76 101 %scm_setup 77 78 102 autoreconf -fvi 103 %endif 104 79 105 80 106 %build 81 107 %if !0%{?os2_version} 108 export 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 82 116 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 83 117 export LIBS="-lcx -lpthread" 84 118 export VENDOR="%{vendor}" 85 %configure --enable-shared --disable-static 86 119 %endif 120 121 %configure 122 %if !0%{?os2_version} 123 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 124 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool 125 %make_build 126 %else 87 127 make %{?_smp_mflags} 128 %endif 129 88 130 89 131 %install 90 make install DESTDIR=%{buildroot} 132 %make_install 91 133 rm -f %{buildroot}%{_libdir}/*.la 92 134 135 %if !0%{?os2_version} 136 # xzgrep colorization 137 %global profiledir %{_sysconfdir}/profile.d 138 mkdir -p %{buildroot}%{profiledir} 139 install -p -m 644 %{SOURCE100} %{buildroot}%{profiledir} 140 install -p -m 644 %{SOURCE101} %{buildroot}%{profiledir} 141 %endif 142 93 143 %find_lang %name 94 144 95 %clean96 rm -fr $RPM_BUILD_ROOT97 145 98 146 %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} 148 LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check 149 %endif 150 151 %if !0%{?os2_version} 152 %ldconfig_scriptlets libs 153 %endif 154 104 155 105 156 %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 107 162 %doc %{_docdir}/xz 108 %exclude %{_docdir}/xz/examples* 163 %exclude %_docdir/xz/examples* 164 %endif 109 165 %{_bindir}/*xz* 166 %if 0%{?os2_version} 110 167 %exclude %{_bindir}/*.dbg 168 %endif 111 169 %{_mandir}/man1/*xz* 170 %if !0%{?os2_version} 171 %{_mandir}/de/man1/*xz* 172 %{profiledir}/* 173 %endif 174 112 175 113 176 %files libs 114 %license %{_docdir}/xz/COPYING 177 %license COPYING 178 %if !0%{?os2_version} 179 %{_libdir}/lib*.so.5* 180 %else 115 181 %{_libdir}/*.dll 116 182 %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 117 194 118 195 %files devel … … 120 197 %{_includedir}/lzma/*.h 121 198 %{_includedir}/lzma.h 199 %if !0%{?os2_version} 200 %{_libdir}/*.so 201 %else 122 202 %{_libdir}/*_dll.a 203 %endif 123 204 %{_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 125 211 126 212 %files lzma-compat 127 213 %{_bindir}/*lz* 214 %if 0%{?os2_version} 128 215 %exclude %{_bindir}/*.dbg 216 %endif 129 217 %{_mandir}/man1/*lz* 218 %if !0%{?os2_version} 219 %{_mandir}/de/man1/*lz* 220 %endif 221 130 222 131 223 %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 132 229 * Tue Feb 14 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 5.2.3-2 133 230 - rebuild with changed legacy_runtime_packages macro
Note:
See TracChangeset
for help on using the changeset viewer.
