standardize the specfile and add some missing build requirements [release 5.9.0-3mamba;Sun Apr 26 2015]
This commit is contained in:
parent
e4de760c61
commit
7e680f52bc
@ -1,8 +1,9 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
Name: kwindowsystem
|
Name: kwindowsystem
|
||||||
Version: 5.9.0
|
Version: 5.9.0
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Access to the windowing system framework
|
Summary: KDE Frameworks 5 access to the windowing system framework
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
@ -25,6 +26,13 @@ BuildRequires: libxcb-devel
|
|||||||
BuildRequires: libxcb-keysyms-devel
|
BuildRequires: libxcb-keysyms-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
BuildRequires: rpm-macros-kde5
|
||||||
|
BuildRequires: libQt5Core
|
||||||
|
BuildRequires: libQt5Gui
|
||||||
|
BuildRequires: libQt5Widgets
|
||||||
|
BuildRequires: libQt5X11Extras
|
||||||
|
BuildRequires: libQt5Test
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
@ -33,7 +41,7 @@ Convenience access to certain properties and features of the windowing system.
|
|||||||
|
|
||||||
%package -n lib%{name}
|
%package -n lib%{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Access to the windowing system framework
|
Summary: KDE Frameworks 5 access to the windowing system framework
|
||||||
|
|
||||||
%description -n lib%{name}
|
%description -n lib%{name}
|
||||||
Convenience access to certain properties and features of the windowing system.
|
Convenience access to certain properties and features of the windowing system.
|
||||||
@ -42,6 +50,8 @@ Convenience access to certain properties and features of the windowing system.
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: libxcb-devel
|
||||||
|
Requires: libxcb-keysyms-devel
|
||||||
|
|
||||||
%description -n lib%{name}-devel
|
%description -n lib%{name}-devel
|
||||||
This package contains libraries and header files for developing applications that use %{name}.
|
This package contains libraries and header files for developing applications that use %{name}.
|
||||||
@ -52,14 +62,14 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build
|
%cmake_kde5 -d build
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall -C build
|
%makeinstall -C build
|
||||||
|
|
||||||
%find_lang %{name} || touch %{name}.lang
|
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -67,24 +77,25 @@ This package contains libraries and header files for developing applications tha
|
|||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name} -f %{name}5_qt.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libKF5WindowSystem.so.*
|
%{_kde5_libdir}/libKF5WindowSystem.so.*
|
||||||
%{_datadir}/locale/*/LC_MESSAGES/kwindowsystem5_qt.qm
|
|
||||||
%doc COPYING.LIB
|
%doc COPYING.LIB
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/KF5/KWindowSystem
|
%{_kde5_includedir}/KWindowSystem
|
||||||
%{_includedir}/KF5/KWindowSystem/*
|
%{_kde5_includedir}/kwindowsystem_version.h
|
||||||
%{_includedir}/KF5/kwindowsystem_version.h
|
%{_kde5_libdir}/cmake/KF5WindowSystem
|
||||||
%dir %{_libdir}/cmake/KF5WindowSystem
|
%{_kde5_libdir}/libKF5WindowSystem.so
|
||||||
%{_libdir}/cmake/KF5WindowSystem/KF5WindowSystem*.cmake
|
%{_kde5_mkspecsdir}/qt_KWindowSystem.pri
|
||||||
%{_libdir}/libKF5WindowSystem.so
|
|
||||||
/usr/mkspecs/modules/qt_KWindowSystem.pri
|
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 26 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-3mamba
|
||||||
|
- standardize the specfile and add some missing build requirements
|
||||||
|
|
||||||
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-2mamba
|
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-2mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user