knotifyconfig/knotifyconfig.spec

89 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: knotifyconfig
Version: 5.9.0
Release: 1mamba
Summary: Configuration dialog for desktop notifications
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/5.9/knotifyconfig-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libphonon-qt5-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Configuration dialog for desktop notifications.
%package -n lib%{name}
Group: System/Libraries
Summary: Configuration dialog for desktop notifications
%description -n lib%{name}
Configuration dialog for desktop notifications.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang knotifyconfig5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name} -f knotifyconfig5.lang
%defattr(-,root,root)
%{_libdir}/libKF5NotifyConfig.so.*
%doc COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/KNotifyConfig
%{_kde5_includedir}/KNotifyConfig/*
%{_kde5_includedir}/knotifyconfig_version.h
%dir %{_libdir}/cmake/KF5NotifyConfig
%{_libdir}/cmake/KF5NotifyConfig/KF5NotifyConfig*.cmake
%{_libdir}/libKF5NotifyConfig.so
%{_libdir}/qt5/mkspecs/modules/qt_KNotifyConfig.pri
%doc README.md
%changelog
* Thu Apr 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-1mamba
- package created using the webbuild interface