Trivial spec file style adjustments

i9ce
Benjamin A. Beasley 3 years ago
parent 6ec2aa158b
commit 7edafd3885

@ -4,12 +4,12 @@ Version: 0.8.14
%global so_version 0 %global so_version 0
Release: %autorelease Release: %autorelease
License: LGPLv2+
%global minorversion %(echo '%{version}' | cut -d . -f 1-2) %global minorversion %(echo '%{version}' | cut -d . -f 1-2)
URL: https://download.gnome.org/sources/libIDL/%{minorversion}/ URL: https://download.gnome.org/sources/libIDL/%{minorversion}/
Source0: %{url}/libIDL-%{version}.tar.bz2 Source0: %{url}/libIDL-%{version}.tar.bz2
# Hand-written man page: # Hand-written man page:
Source1: libIDL-config-2.1 Source1: libIDL-config-2.1
License: LGPLv2+
# Note that upstream is dead; GNOME still offers just a download page, and the # Note that upstream is dead; GNOME still offers just a download page, and the
# VCS was migrated to https://gitlab.gnome.org/Archive/libidl, but the project # VCS was migrated to https://gitlab.gnome.org/Archive/libidl, but the project
@ -56,19 +56,22 @@ BuildRequires: texinfo
BuildRequires: texinfo-tex BuildRequires: texinfo-tex
BuildRequires: tex(latex) BuildRequires: tex(latex)
%global common_description %{expand: %global common_description %{expand: \
libIDL is a library for parsing IDL (Interface Definition Language). It can be libIDL is a library for parsing IDL (Interface Definition Language). It can be
used for both COM-style and CORBA-style IDL.} used for both COM-style and CORBA-style IDL.}
%description %{common_description} %description
%{common_description}
%package devel %package devel
Summary: Development libraries and header files for libIDL Summary: Development libraries and header files for libIDL
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: glib2-devel%{?_isa} Requires: glib2-devel%{?_isa}
%description devel %{common_description} %description devel
%{common_description}
This package contains the header files and libraries needed to write or compile This package contains the header files and libraries needed to write or compile
programs that use libIDL. programs that use libIDL.
@ -76,9 +79,11 @@ programs that use libIDL.
%package doc %package doc
Summary: Documentation for libIDL Summary: Documentation for libIDL
BuildArch: noarch BuildArch: noarch
%description doc %{common_description} %description doc
%{common_description}
This page contains info pages and HTML and PDF documentation for libIDL. This page contains info pages and HTML and PDF documentation for libIDL.
@ -110,8 +115,7 @@ install -t '%{buildroot}%{_mandir}/man1' -D -p -m 0644 '%{SOURCE1}'
%files %files
%license COPYING %license COPYING
%{_libdir}/libIDL-2.so.%{so_version} %{_libdir}/libIDL-2.so.%{so_version}{,.*}
%{_libdir}/libIDL-2.so.%{so_version}.*
%files devel %files devel

Loading…
Cancel
Save