@@ -4,21 +4,24 @@ Summary(pt_BR.UTF-8): Este pacote contém os utilitários para manipulação do
4
4
Summary(uk.UTF-8): Утиліти для роботы з файловою системою ReiserFS
5
5
Summary(ru.UTF-8): Утилиты для работы с файловой системой ReiserFS
6
6
Name: reiserfsprogs
7
- Version: 3.6.24
7
+ Version: 3.6.27
8
8
Release: 1
9
9
Epoch: 1
10
10
License: GPL v2
11
11
Group: Applications/System
12
12
#Source0: http://www.kernel.org/pub/linux/utils/fs/reiserfs/%{name}-%{version}.tar.gz
13
13
Source0: https://www.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v%{version }/%{name }-%{version }.tar.xz
14
- # Source0-md5: 66787380fb418ff7d88a23e47cda7af6
14
+ # Source0-md5: 90c139542725efc6da3a6b1709695395
15
15
Patch0: %{name }-am.patch
16
16
URL: https://reiser4.wiki.kernel.org/index.php/Reiserfsprogs
17
17
BuildRequires: autoconf >= 2.50
18
18
BuildRequires: automake >= 1:1.11.1
19
+ BuildRequires: libcom_err-devel
20
+ BuildRequires: libtool
19
21
BuildRequires: libuuid-devel
20
22
BuildRequires: tar >= 1:1.22
21
23
BuildRequires: xz
24
+ Requires: %{name }-libs = %{version }-%{release }
22
25
Obsoletes: reiserfs-utils
23
26
Conflicts: progsreiserfs < 0.3.1-1.rc8.5
24
27
BuildRoot: %{tmpdir }/%{name }-%{version }-root-%(id -u -n)
@@ -59,13 +62,51 @@ arquivos ReiserFS.
59
62
%description -l uk.UTF-8
60
63
Набір утиліт для роботи з файловою системою ReiserFS.
61
64
65
+ %package libs
66
+ Summary: ReiserFS Core library
67
+ Summary(pl.UTF-8): Biblioteka ReiserFS Core
68
+ Group: Libraries
69
+
70
+ %description libs
71
+ ReiserFS Core library.
72
+
73
+ %description libs -l pl.UTF-8
74
+ Biblioteka ReiserFS Core.
75
+
76
+ %package devel
77
+ Summary: Header files for ReiserFS Core library
78
+ Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ReiserFS Core
79
+ Group: Development/Libraries
80
+ Requires: %{name }-libs = %{version }-%{release }
81
+ Requires: libcom_err-devel
82
+
83
+ %description devel
84
+ Header files for ReiserFS Core library.
85
+
86
+ %description devel -l pl.UTF-8
87
+ Pliki nagłówkowe biblioteki ReiserFS Core.
88
+
89
+ %package static
90
+ Summary: Static ReiserFS Core library
91
+ Summary(pl.UTF-8): Biblioteka statyczna ReiserFS Core
92
+ Group: Development/Libraries
93
+ Requires: %{name }-devel = %{version }-%{release }
94
+
95
+ %description static
96
+ Static ReiserFS Core library.
97
+
98
+ %description static -l pl.UTF-8
99
+ Biblioteka statyczna ReiserFS Core.
100
+
62
101
%prep
63
102
%setup -q
64
103
%patch0 -p1
65
104
66
105
%build
106
+ %{__libtoolize}
67
107
%{__aclocal}
68
108
%{__autoconf}
109
+ %{__autoheader}
69
110
%{__automake}
70
111
%configure \
71
112
--disable-silent-rules
@@ -74,14 +115,20 @@ arquivos ReiserFS.
74
115
75
116
%install
76
117
rm -rf $RPM_BUILD_ROOT
77
- install -d $RPM_BUILD_ROOT {%{_sbindir },%{_mandir }/man8}
118
+ # install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
78
119
79
120
%{__make} -j1 install \
80
121
DESTDIR= $RPM_BUILD_ROOT
81
122
123
+ # obsoleted by pkg-config
124
+ %{__rm} $RPM_BUILD_ROOT%{_libdir }/libreiserfscore.la
125
+
82
126
%clean
83
127
rm -rf $RPM_BUILD_ROOT
84
128
129
+ %post libs -p /sbin/ldconfig
130
+ %postun libs -p /sbin/ldconfig
131
+
85
132
%files
86
133
%defattr(644,root,root,755)
87
134
%doc CREDITS ChangeLog README
@@ -103,3 +150,18 @@ rm -rf $RPM_BUILD_ROOT
103
150
%{_mandir }/man8/reiserfstune.8*
104
151
%{_mandir }/man8/resize_reiserfs.8*
105
152
%{_mandir }/man8/tunefs.reiserfs.8*
153
+
154
+ %files libs
155
+ %defattr(644,root,root,755)
156
+ %attr(755,root,root) %{_libdir }/libreiserfscore.so.* .* .*
157
+ %attr(755,root,root) %ghost %{_libdir }/libreiserfscore.so.0
158
+
159
+ %files devel
160
+ %defattr(644,root,root,755)
161
+ %attr(755,root,root) %{_libdir }/libreiserfscore.so
162
+ %{_includedir }/reiserfs
163
+ %{_pkgconfigdir }/reiserfscore.pc
164
+
165
+ %files static
166
+ %defattr(644,root,root,755)
167
+ %{_libdir }/libreiserfscore.a
0 commit comments