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