|
@@ -15,14 +15,12 @@ BuildRequires: libicu-devel
|
15
|
15
|
BuildRequires: libXrender-devel
|
16
|
16
|
BuildRequires: mesa-libEGL-devel
|
17
|
17
|
|
18
|
|
-Requires: libslopy = %{version}-%{release}
|
19
|
18
|
%description
|
20
|
19
|
slop (Select Operation) is an application that queries for a selection
|
21
|
20
|
from the user and prints the region to stdout.
|
22
|
21
|
|
23
|
22
|
%package -n libslopy
|
24
|
23
|
Summary: Select Operation
|
25
|
|
-Group: System Environment/Libraries
|
26
|
24
|
%description -n libslopy
|
27
|
25
|
slop (Select Operation) is an application that queries for a selection
|
28
|
26
|
from the user and prints the region to stdout.
|
|
@@ -31,8 +29,6 @@ This sub-package contains libslopy library.
|
31
|
29
|
|
32
|
30
|
%package -n libslopy-devel
|
33
|
31
|
Summary: Select Operation
|
34
|
|
-Group: Development/Libraries
|
35
|
|
-Requires: libslopy = %{version}-%{release}
|
36
|
32
|
%description -n libslopy-devel
|
37
|
33
|
slop (Select Operation) is an application that queries for a selection
|
38
|
34
|
from the user and prints the region to stdout.
|
|
@@ -43,17 +39,13 @@ This sub-package contains development files for libslopy library.
|
43
|
39
|
%autosetup -n %{name}-%{version}
|
44
|
40
|
|
45
|
41
|
%build
|
46
|
|
-CXXFLAGS="${CXXFLAGS:-%{optflags}}"; export CXXFLAGS
|
47
|
|
-cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
|
|
42
|
+%cmake .
|
48
|
43
|
|
49
|
44
|
%install
|
50
|
45
|
%make_install
|
51
|
46
|
|
52
|
|
-%post -n libslopy
|
53
|
|
-/sbin/ldconfig
|
54
|
|
-
|
55
|
|
-%postun -n libslopy
|
56
|
|
-/sbin/ldconfig
|
|
47
|
+%check
|
|
48
|
+ctest -V %{?_smp_mflags}
|
57
|
49
|
|
58
|
50
|
%files
|
59
|
51
|
%{_bindir}/slop
|