Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mlocale] Have license file as %license. JB#55991 #1

Merged
merged 1 commit into from Nov 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 4 additions & 9 deletions rpm/libmlocale-qt5.spec
Expand Up @@ -2,9 +2,8 @@ Name: libmlocale-qt5
Summary: Contains classes MLocale and friends originally from libmeegotouch
Version: 0.5.0
Release: 1
Group: System/Libraries
License: LGPLv2
URL: https://git.sailfishos.org/mer-core/libmlocale
URL: https://github.com/sailfishos/libmlocale
Source0: %{name}-%{version}.tar.bz2
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Expand All @@ -23,23 +22,20 @@ having to bring on board also the MeeGo Touch GUI toolkit.

%package devel
Summary: Devel files for limlocale
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
%{summary}.

%package tests
Summary: Tests for limlocale
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description tests
%{summary}.

%package benchmarks
Summary: Benchmarks files for limlocale
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description benchmarks
Expand All @@ -52,20 +48,19 @@ Requires: %{name} = %{version}-%{release}
export QT_SELECT=5

%configure --disable-static -icu
make %{?_smp_mflags}
%make_build

%install
rm -rf %{buildroot}
export QT_SELECT=5
%make_install INSTALL_ROOT=%{buildroot}
%make_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%doc LICENSE.LGPL
%license LICENSE.LGPL
%{_libdir}/*.so.*

%files devel
Expand Down