Package xfsprogs: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 | %{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects} %def_disable static %ifarch armh %add_optflags -DUATOMIC_NO_LINK_ERROR %endif Name: xfsprogs Version: 6.7.0 Release: alt1 Summary: Utilities for managing the XFS filesystem License: LGPL-2.1 and GPL-2.0 Group: System/Kernel and hardware Url: http://xfs.org Source: %name-%version-%release.tar Patch0: %name-%version-alt.patch Requires: libxfs = %EVR # makefiles are buggy BuildConflicts: libxfs-devel BuildRequires: libuuid-devel libblkid-devel BuildRequires: libsystemd-devel rpm-build-python3 BuildRequires: libinih-devel libuserspace-rcu-devel BuildRequires: libedit-devel %description XFS is a high performance journaling filesystem which originated on the SGI IRIX platform. It is completely multi-threaded, can support large files and large filesystems, extended attributes, variable block sizes, is extent based, and makes extensive use of Btrees (directories, extents, free space) to aid both performance and scalability. Refer to the documentation at http://oss.sgi.com/projects/xfs/ for complete details. This implementation is on-disk compatible with the IRIX version of XFS. This package contains a set of commands to use the XFS filesystem, including mkfs.xfs. %package -n libxfs Summary: XFS filesystem-specific libraries Group: System/Libraries %description -n libxfs This package contains the library needed to run programs dynamically linked with libxfs. %package -n libxfs-devel Summary: XFS filesystem-specific devel libraries and headers Group: Development/C Requires: libxfs = %version-%release %description -n libxfs-devel libxfs-devel contains the libraries and header files needed to develop XFS filesystem-specific programs. You should install libxfs-devel if you want to develop XFS filesystem-specific programs, If you install libxfs-devel, you'll also want to install xfsprogs. %if_enabled static %package -n libxfs-devel-static Summary: XFS filesystem-specific static libraries Group: Development/C Requires: libxfs-devel = %version-%release %description -n libxfs-devel-static libxfs-devel-static contains the static libraries needed to develop XFS filesystem-specific programs. You should install libxfs-devel-static if you want to develop XFS filesystem-specific programs. If you install libxfs-devel-static, you'll also want to install xfsprogs. %endif %prep %setup %patch0 -p1 %build export tagname=CC make configure %configure \ --libexecdir=%_libdir \ --enable-lto=no \ --enable-blkid=yes \ --enable-editline=yes %make_build DEBUG=-DNDEBUG %install %make DIST_ROOT=%buildroot PKG_INC_DIR=%_includedir/xfs PKG_ROOT_SBIN_DIR=%_sbindir PKG_ROOT_LIB_DIR=%_libdir install install-dev mkdir -p %buildroot%_libdir # don't use crontab rm -f %buildroot/%_lib/xfsprogs/xfs_scrub_all.cron # Workaround bug in makefiles rm -rf %buildroot%_datadir/doc/%name %find_lang %name %pre %_sbindir/groupadd -r -f _xfsscrub ||: %_sbindir/useradd -M -r -d / -s /bin/false -c "Special User for the XFS Scrub service" -g _xfsscrub _xfsscrub >/dev/null 2>&1 ||: %files -f %name.lang %_sbindir/* %_unitdir/*.service %_unitdir/*.timer %dir %_datadir/xfsprogs %dir %_datadir/xfsprogs/mkfs %dir %_libdir/xfsprogs %_libdir/xfsprogs/xfs_scrub_fail %_datadir/xfsprogs/xfs_scrub_all.cron %_datadir/xfsprogs/mkfs/*.conf %_mandir/man[85]/* %doc doc/CHANGES.gz doc/CREDITS README %files -n libxfs %_libdir/*.so.* %files -n libxfs-devel %_libdir/*.so %dir %_includedir/xfs %_includedir/xfs/handle.h %_includedir/xfs/jdm.h %_includedir/xfs/linux.h %_includedir/xfs/xfs.h %_includedir/xfs/xfs_fs.h %_includedir/xfs/xfs_arch.h %_includedir/xfs/xfs_da_format.h %_includedir/xfs/xfs_format.h %_includedir/xfs/xfs_log_format.h %_includedir/xfs/xfs_fs_compat.h %_includedir/xfs/xfs_types.h %_includedir/xfs/xqm.h %_man2dir/* %_man3dir/* %if_enabled static %files -n libxfs-devel-static %_libdir/*.a %endif %changelog * Sat Apr 27 2024 Anton Farygin <rider@altlinux.ru> 6.7.0-alt1 - 6.6.0 -> 6.7.0 - built with libedit - cleanup spec * Tue Apr 02 2024 Anton Midyukov <antohami@altlinux.org> 6.6.0-alt2 - NMU: xfs_scrub_fail.in: hide systemctl, systemd-escape program in variables (Closes: 49860) * Sat Mar 30 2024 Anton Farygin <rider@altlinux.ru> 6.6.0-alt1 - 6.3.0 -> 6.6.0 - use _xfsscrub user in th online scrub unit instead of the nobody user * Sun Jun 04 2023 Anton Farygin <rider@altlinux.ru> 6.3.0-alt1 - 6.2.0 -> 6.3.0 * Thu May 04 2023 Anton Farygin <rider@altlinux.ru> 6.2.0-alt1 - 6.1.1 -> 6.2.0 * Sun Jan 29 2023 Anton Farygin <rider@altlinux.ru> 6.1.1-alt1 - 6.1.0 -> 6.1.1 * Fri Dec 30 2022 Anton Farygin <rider@altlinux.ru> 6.1.0-alt1 - 6.0.0 -> 6.1.0 * Mon Nov 28 2022 Anton Farygin <rider@altlinux.ru> 6.0.0-alt1 - 5.19.0 -> 6.0.0 * Tue Oct 04 2022 Anton Farygin <rider@altlinux.ru> 5.19.0-alt1 - 5.16.0 -> 5.19.0 * Tue May 17 2022 Anton Farygin <rider@altlinux.ru> 5.16.0-alt1 - 5.15.0 -> 5.16.0 * Mon Apr 11 2022 Anton Farygin <rider@altlinux.ru> 5.15.0-alt1 - 5.14.2 -> 5.15.0 * Wed Dec 08 2021 Anton Farygin <rider@altlinux.ru> 5.14.2-alt1 - 5.14.2 * Sun Dec 05 2021 Anton Farygin <rider@altlinux.ru> 5.14.1-alt1 - 5.14.1 * Thu Nov 25 2021 Anton Farygin <rider@altlinux.ru> 5.14.0-alt1 - 5.14.0 * Fri Sep 03 2021 Anton Farygin <rider@altlinux.ru> 5.13.0-alt1 - 5.13.0 * Thu May 27 2021 Anton Farygin <rider@altlinux.ru> 5.12.0-alt1 - 5.12.0 * Tue Mar 16 2021 Anton Farygin <rider@altlinux.org> 5.11.0-alt1 - 5.11.0 * Fri Dec 25 2020 Anton Farygin <rider@altlinux.ru> 5.10.0-alt2 - removed libtool_1.5 build dependency * Mon Dec 14 2020 Anton Farygin <rider@altlinux.ru> 5.10.0-alt1 - 5.10.0 * Thu Nov 05 2020 Anton Farygin <rider@altlinux.ru> 5.9.0-alt1 - 5.9.0 * Mon Sep 07 2020 Anton Farygin <rider@altlinux.ru> 5.8.0-alt1 - 5.8.0 * Wed Aug 05 2020 Anton Farygin <rider@altlinux.ru> 5.7.0-alt1 - 5.7.0 - hid dependency on systemd-utils (closes: #38712) * Fri Apr 24 2020 Anton Farygin <rider@altlinux.ru> 5.6.0-alt1 - 5.6.0 * Mon Mar 23 2020 Anton Farygin <rider@altlinux.ru> 5.5.0-alt1 - 5.5.0 * Thu Dec 26 2019 Anton Farygin <rider@altlinux.ru> 5.4.0-alt1 - 5.4.0 * Thu Nov 21 2019 Anton Farygin <rider@altlinux.ru> 5.3.0-alt1 - 5.3.0 - packaged tool, systemd units and timer for scrubbing xfs partitions * Thu Oct 10 2019 Anton Farygin <rider@altlinux.ru> 5.2.1-alt1 - 5.2.1 * Tue Oct 08 2019 Anton Farygin <rider@altlinux.ru> 5.2.0-alt1 - 5.2.0 * Sat Mar 23 2019 Anton Farygin <rider@altlinux.ru> 4.20.0-alt1 - 4.20.0 (closes: #36348) * Wed Oct 03 2018 Michael Shigorin <mike@altlinux.org> 4.18.0-alt1 - 4.18.0 * Fri Jan 19 2018 Michael Shigorin <mike@altlinux.org> 4.14.0-alt1 - 4.14.0 * Sat Apr 1 2017 Terechkov Evgenii <evg@altlinux.org> 4.10.0-alt1 - 4.10.0 (ALT#33290) - Drop libxfs-qa-devel subpackage (all header now in libxfs-devel) * Thu Nov 26 2015 Michael Shigorin <mike@altlinux.org> 3.1.11-alt1 - 3.1.11 + reset to pristine source, effectively reverting all patches - applied patch series extracted from opensuse 13.1 updates' 3.1.11-2.3.1 package to fix CVE-2012-2150 * Fri Apr 12 2013 Andrey Cherepanov <cas@altlinux.org> 3.1.8-alt2 - Create new package libxfs-qa-devel with full pack of includes * Sun Apr 22 2012 Michael Shigorin <mike@altlinux.org> 3.1.8-alt1 - 3.1.8 * Wed Sep 07 2011 Michael Shigorin <mike@altlinux.org> 3.1.5-alt1 - 3.1.5 * Sat Sep 25 2010 Michael Shigorin <mike@altlinux.org> 3.1.3-alt1 - 3.1.3 - fixed installation with PLD patch from Gentoo over sbolshakov@'s partial fixups for 3.0.0 - disabled static subpackage by default (would need fixing) * Mon Apr 12 2010 Michael Shigorin <mike@altlinux.org> 3.1.1-alt1.1 - fix symlink installation * Tue Feb 23 2010 Michael Shigorin <mike@altlinux.org> 3.1.1-alt1 - 3.1.1 + includes enhanced 4kb sector support (fixes: #23017) * Wed May 27 2009 Michael Shigorin <mike@altlinux.org> 3.0.1-alt1 - 3.0.1 - built with libtool-1.5; notified upstream of FTBFS with 2.2 - clarified License: (thanks PLD spec) - buildreq * Wed Apr 15 2009 Michael Shigorin <mike@altlinux.org> 3.0.0-alt2.1 - built for Sisyphus * Wed Apr 1 2009 Sergey Bolshakov <sbolshakov@altlinux.ru> 3.0.0-alt2 - reflect binary transition between xfsprogs & xfsdump packages * Wed Mar 25 2009 Sergey Bolshakov <sbolshakov@altlinux.ru> 3.0.0-alt1 - 3.0.0 released * Sat Dec 6 2008 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.10.1-alt1 - 2.10.1 released * Wed Mar 12 2008 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.9.7-alt1 - 2.9.7 released * Tue Sep 11 2007 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.9.4-alt1 - 2.9.4 released * Thu Nov 2 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.8.16-alt1 - 2.8.16 released - patches rediffed/applied: + xfsprogs-2.8.11-alt-quiet-fsck.patch + xfsprogs-2.8.11-alt-shlib.patch * Thu Sep 14 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.8.11-alt1 - 2.8.11 * Tue Mar 28 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.7.11-alt1 - 2.7.11 released * Mon Jan 16 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.6.13-alt1 - 2.6.13 (thanks to rider@) * Sat May 15 2004 Alexander Bokovoy <ab@altlinux.ru> 2.6.4-alt1 - 2.6.4 * Thu Dec 11 2003 Alexander Bokovoy <ab@altlinux.ru> 2.6.0-alt1 - 2.6.0 - Build everything dynamically * Thu Aug 21 2003 Dmitry V. Levin <ldv@altlinux.org> 2.3.9-alt3 - Explicitly use old libtool for build. * Wed Aug 13 2003 Dmitry V. Levin <ldv@altlinux.org> 2.3.9-alt2 - Removed explicit kernel dependencies. - Corrected interpackage dependencies. - Updated build dependencies. - Fixed -devel packaging. - Specfile cleanup. * Tue May 20 2003 Alexander Bokovoy <ab@altlinux.ru> 2.3.9-alt1 - 2.3.9, changed maintainer - Updated buildrequires - Removed outdated patches - Spec clean up * Fri Dec 27 2002 Konstantin Volckov <goldhead@altlinux.ru> 2.0.6-alt1 - 2.0.6 - Fixed buildrequires * Wed Apr 10 2002 Konstantin Volckov <goldhead@altlinux.ru> 2.0.1-alt0.1cvs - CVS version * Wed Nov 21 2001 Konstantin Volckov <goldhead@altlinux.ru> 1.3.13-alt1 - 1.3.13 * Wed Oct 31 2001 Konstantin Volckov <goldhead@altlinux.ru> 1.3.7-alt1 - 1.3.7 * Thu Sep 20 2001 Konstantin Volckov <goldhead@altlinux.ru> 1.3.5-alt1 - First build for Sisyphus * Fri Sep 7 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3.5-2mdk - Fix provides. * Fri Sep 7 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.3.5-1mdk - 1.3.5. - Split lib in subpackage. - Rework the spec. * Wed May 2 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.2.0-1mdk - Fist attempt based on the SGI spec. |