This commit is contained in:
parent
f45560e08d
commit
6a5429a875
2
kfilemetadata5-rpmlintrc
Normal file
2
kfilemetadata5-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
||||
# we don't use find_lang macro as it doesn't searches in subdirectories
|
||||
addFilter("file-not-in-%lang .*")
|
@ -25,6 +25,7 @@ Group: Development/Libraries/KDE
|
||||
Url: http://www.kde.org/
|
||||
Source: kfilemetadata-%{version}.tar.xz
|
||||
Source1: baselibs.conf
|
||||
Source99: kfilemetadata5-rpmlintrc
|
||||
BuildRequires: extra-cmake-modules >= 1.0.0
|
||||
BuildRequires: karchive-devel >= 5.0.0
|
||||
BuildRequires: kf5-filesystem
|
||||
@ -35,6 +36,7 @@ BuildRequires: taglib-devel
|
||||
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Xml) >= 5.2.0
|
||||
BuildRequires: pkgconfig(poppler-qt5)
|
||||
Recommends: %{name}-lang
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -50,11 +52,12 @@ Requires: pkgconfig(Qt5Core) >= 5.2.0
|
||||
%description devel
|
||||
A library for extracting file metadata. Development files
|
||||
|
||||
%lang_package
|
||||
%prep
|
||||
%setup -q -n kfilemetadata-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
@ -77,4 +80,9 @@ A library for extracting file metadata. Development files
|
||||
%{_kf5_includedir}/KFileMetaData/
|
||||
%{_kf5_libdir}/cmake/KF5FileMetaData/
|
||||
|
||||
%files lang
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING*
|
||||
%{_kf5_localedir}/
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user