kinit/kinit.spec

107 lines
3.0 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kinit
Version: 5.9.0
Release: 1mamba
Summary: Helper library to speed up start of applications on KDE workspaces
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{majver}/kinit-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: kconfig-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libcap-devel
BuildRequires: libgcc
BuildRequires: libkcompletion-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
kdeinit is a process launcher somewhat similar to the famous init used for booting UNIX.
%package -n %{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n %{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang kinit5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f kinit5.lang
%defattr(-,root,root)
%{_bindir}/kdeinit5
%{_bindir}/kdeinit5_shutdown
%{_bindir}/kdeinit5_wrapper
%{_bindir}/kshell5
%{_bindir}/kwrapper5
%{_libdir}/libexec/kf5/klauncher
%{_libdir}/libexec/kf5/start_kdeinit
%{_libdir}/libexec/kf5/start_kdeinit_wrapper
%{_libdir}/libkdeinit5_klauncher.so
%{_datadir}/dbus-1/interfaces/kf5_org.kde.KLauncher.xml
%{_mandir}/de/man8/kdeinit5.8*
%{_mandir}/it/man8/kdeinit5.8*
%{_mandir}/man8/kdeinit5.8*
%{_mandir}/nl/man8/kdeinit5.8*
%{_mandir}/pt_BR/man8/kdeinit5.8*
%{_mandir}/sv/man8/kdeinit5.8*
%{_mandir}/uk/man8/kdeinit5.8*
%doc COPYING.LIB
%files -n %{name}-devel
%defattr(-,root,root)
%dir %{_libdir}/cmake/KF5Init
%{_libdir}/cmake/KF5Init/KF5Init*.cmake
%{_libdir}/cmake/KF5Init/KF5InitMacros.cmake
%{_libdir}/cmake/KF5Init/kde5init_dummy.cpp.in
%doc README.md
%changelog
* Sat Apr 25 2015 Automatic Build System <autodist@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Fri Mar 27 2015 Automatic Build System <autodist@mambasoft.it> 5.8.0-1mamba
- automatic version update by autodist
* Thu Mar 12 2015 Automatic Build System <autodist@mambasoft.it> 5.7.0-1mamba
- automatic version update by autodist
* Mon Feb 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6.0-1mamba
- package created using the webbuild interface