Browse Source

Apply second set of changes from review by Robert-André Mauchin

Ref.:

    https://bugzilla.redhat.com/show_bug.cgi?id=1586291#c7
Alois Mahdal 5 years ago
parent
commit
4738a63c86
1 changed files with 9 additions and 4 deletions
  1. 9
    4
      slop.spec.in

+ 9
- 4
slop.spec.in View File

@@ -1,7 +1,7 @@
1 1
 Name:       slop
2 2
 Version:    __APP_VERSION__
3 3
 Release:    __APP_RELEASE__%{?dist}
4
-Summary:    Select Operation
4
+Summary:    Command line tool to perform region SeLect OPeration with mouse
5 5
 URL:        https://github.com/naelstrof/slop
6 6
 
7 7
 License:    GPLv3
@@ -20,7 +20,7 @@ slop (Select Operation) is an application that queries for a selection
20 20
 from the user and prints the region to stdout.
21 21
 
22 22
 %package -n libslopy
23
-Summary: Select Operation
23
+Summary: Library to perform region SeLect OPeration with mouse
24 24
 %description -n libslopy
25 25
 slop (Select Operation) is an application that queries for a selection
26 26
 from the user and prints the region to stdout.
@@ -28,7 +28,8 @@ from the user and prints the region to stdout.
28 28
 This sub-package contains libslopy library.
29 29
 
30 30
 %package -n libslopy-devel
31
-Summary:    Select Operation
31
+Summary: Library to perform region SeLect OPeration with mouse
32
+Requires: %{name}%{?_isa} = %{version}-%{release}
32 33
 %description -n libslopy-devel
33 34
 slop (Select Operation) is an application that queries for a selection
34 35
 from the user and prints the region to stdout.
@@ -44,12 +45,16 @@ This sub-package contains development files for libslopy library.
44 45
 %install
45 46
 %make_install
46 47
 
48
+%ldconfig_scriptlets -n libslopy
49
+
47 50
 %check
48 51
 ctest -V %{?_smp_mflags}
49 52
 
50 53
 %files
54
+%doc README.md
55
+%license COPYING license.txt
51 56
 %{_bindir}/slop
52
-%{_mandir}/man1/slop.1.gz
57
+%{_mandir}/man1/slop.1.*
53 58
 
54 59
 %files -n libslopy
55 60
 %{_libdir}/libslopy.so.%{version}