system-storage-manager-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
  2. Summary: A single tool to manage your storage
  3. Name: system-storage-manager
  4. Version: 1.4
  5. Release: 1%{?_dist_release}
  6. Group: admin-tools
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv2+
  10. URL: https://system-storage-manager.github.io/
  11. Source0: https://github.com/system-storage-manager/ssm/archive/%{name}-%{version}.tar.gz
  12. Patch1: python3-sphinx.patch
  13. BuildArch: noarch
  14. BuildRequires: python-rpm-macros
  15. BuildRequires: python3-rpm-macros
  16. BuildRequires: python3-devel
  17. BuildRequires: python3-setuptools
  18. BuildRequires: python3-sphinx
  19. BuildRequires: python3-pwquality
  20. Requires: util-linux
  21. Requires: which
  22. Requires: xfsprogs
  23. Requires: e2fsprogs
  24. Requires: python3-pwquality
  25. %description
  26. System Storage Manager provides an easy to use command line interface to manage
  27. your storage using various technologies like lvm, btrfs, encrypted volumes and
  28. more.
  29. In more sophisticated enterprise storage environments, management with Device
  30. Mapper (dm), Logical Volume Manager (LVM), or Multiple Devices (md) is becoming
  31. increasingly more difficult. With file systems added to the mix, the number of
  32. tools needed to configure and manage storage has grown so large that it is
  33. simply not user friendly. With so many options for a system administrator to
  34. consider, the opportunity for errors and problems is large.
  35. The btrfs administration tools have shown us that storage management can be
  36. simplified, and we are working to bring that ease of use to Linux file systems
  37. in general.
  38. You should install the ssm if you need to manage your storage with various
  39. technologies via a single unified interface.
  40. %prep
  41. %setup -q -n ssm-%{name}-%{version}
  42. # fedora-specific issue with the name of python3-sphinx binaries
  43. %patch1 -p1
  44. %build
  45. make docs
  46. %install
  47. rm -rf ${RPM_BUILD_ROOT}
  48. %{__python3} setup.py install --root=${RPM_BUILD_ROOT}
  49. #if [ "%{_pkgdocdir}" != "%{_docdir}/%{name}-%{version}" ]; then
  50. # mv ${RPM_BUILD_ROOT}/{%{_docdir}/%{name}-%{version},%{_pkgdocdir}}
  51. #fi
  52. %check
  53. %{__python3} test.py || :
  54. %files
  55. %doc AUTHORS CHANGES COPYING README TODO
  56. %{_bindir}/ssm
  57. #{_pkgdocdir}/
  58. %{_mandir}/man8/ssm.8*
  59. %{python3_sitelib}/ssmlib/
  60. %{python3_sitelib}/*.egg-info
  61. %changelog
  62. * Tue Aug 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.4-1
  63. - new upstream release.
  64. * Wed Nov 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2-1
  65. - new upstream release.
  66. * Sat Jan 13 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.5-1
  67. - initial build for Vine Linux.
  68. * Mon Oct 30 2017 Jan Tulak <jtulak@redhat.com> - 0.5-0
  69. - New upstream stable version 0.5
  70. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-14
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  72. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-13
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  74. * Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4-12
  75. - Rebuild for Python 3.6
  76. * Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-11
  77. - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
  78. * Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4-10
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  80. * Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-9
  81. - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
  82. * Mon Jul 27 2015 Lukas Czerner <lczerner@redhat.com> 0.4-7
  83. - Big upstream update
  84. - Python3 support (#1239016)
  85. - Error out if file system is not supported (#1196428)
  86. * Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-6
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  88. * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-5
  89. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  90. * Mon Jan 20 2014 Lukas Czerner <lczerner@redhat.com> 0.4-4
  91. - Update to a new upstream release v0.4
  92. - Remove btrfs resize support
  93. - Unmount all btrfs subvolumes when removing a filesystem
  94. - Fix size argument parsing for create and snapshot command
  95. - Fix list output for some cases
  96. - Add support to create encrypted volumes with crypt backend
  97. - Add dry-run option
  98. - Fix removing volumes with crypt backend
  99. - Add raid1 and raid10 support for lvm backend
  100. - Allow to check btrfs volumes
  101. - Fix error handling when trying to resize btrfs subvolume
  102. - Fix ssm mount command so it detects directory properly
  103. - Suppress backtrace when a command fails
  104. - Fix ssm to recognize units in new btrfs output properly
  105. - Use correct sysfs file to get size for a partition
  106. - Fix ssm to be able add a device with signature to btrfs file system
  107. - Resognize btrfs devices from new btrfs output properly
  108. * Mon Dec 16 2013 Ville Skyttä <ville.skytta@iki.fi> - 0.2-4
  109. - Install docs to %%{_pkgdocdir} where available (#994122).
  110. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
  111. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  112. * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  114. * Fri Jun 1 2012 Lukas Czerner <lczerner@redhat.com> 0.2-1
  115. - Initial version of the package