|
@@ -15,10 +15,30 @@ BuildRequires: libicu-devel
|
15
|
15
|
BuildRequires: libXrender-devel
|
16
|
16
|
BuildRequires: mesa-libEGL-devel
|
17
|
17
|
|
|
18
|
+Requires: libslopy = %{version}-%{release}
|
18
|
19
|
%description
|
19
|
20
|
slop (Select Operation) is an application that queries for a selection
|
20
|
21
|
from the user and prints the region to stdout.
|
21
|
22
|
|
|
23
|
+%package -n libslopy
|
|
24
|
+Summary: Select Operation
|
|
25
|
+Group: System Environment/Libraries
|
|
26
|
+%description -n libslopy
|
|
27
|
+slop (Select Operation) is an application that queries for a selection
|
|
28
|
+from the user and prints the region to stdout.
|
|
29
|
+
|
|
30
|
+This sub-package contains libslopy library.
|
|
31
|
+
|
|
32
|
+%package -n libslopy-devel
|
|
33
|
+Summary: Select Operation
|
|
34
|
+Group: Development/Libraries
|
|
35
|
+Requires: libslopy = %{version}-%{release}
|
|
36
|
+%description -n libslopy-devel
|
|
37
|
+slop (Select Operation) is an application that queries for a selection
|
|
38
|
+from the user and prints the region to stdout.
|
|
39
|
+
|
|
40
|
+This sub-package contains development files for libslopy library.
|
|
41
|
+
|
22
|
42
|
%prep
|
23
|
43
|
%autosetup -n %{name}-%{version}
|
24
|
44
|
|
|
@@ -28,15 +48,24 @@ cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
|
28
|
48
|
|
29
|
49
|
%install
|
30
|
50
|
%make_install
|
31
|
|
-mkdir -p "%{buildroot}%{_libdir}"
|
32
|
|
-mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}"
|
33
|
|
-rm %{buildroot}/usr/include/slop.hpp
|
|
51
|
+
|
|
52
|
+%post -n libslopy
|
|
53
|
+/sbin/ldconfig
|
|
54
|
+
|
|
55
|
+%postun -n libslopy
|
|
56
|
+/sbin/ldconfig
|
34
|
57
|
|
35
|
58
|
%files
|
36
|
59
|
%{_bindir}/slop
|
37
|
|
-%{_libdir}/libslopy.so
|
38
|
60
|
%{_mandir}/man1/slop.1.gz
|
39
|
61
|
|
|
62
|
+%files -n libslopy
|
|
63
|
+%{_libdir}/libslopy.so.%{version}
|
|
64
|
+
|
|
65
|
+%files -n libslopy-devel
|
|
66
|
+%{_libdir}/libslopy.so
|
|
67
|
+%{_includedir}/slop.hpp
|
|
68
|
+
|
40
|
69
|
%changelog
|
41
|
70
|
* __APP_DATE__ Alois Mahdal <netvor+slop@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
|
42
|
71
|
- Unofficial experimental RPM pseudo-release
|