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