88 lines
2.4 KiB
RPMSpec
88 lines
2.4 KiB
RPMSpec
|
Name: kosd
|
||
|
Version: 0.8.1
|
||
|
Release: 1mamba
|
||
|
Summary: A KDE application that responds to button presses by showing a little OSD
|
||
|
Group: Graphical Desktop/Applications/Utilities
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: http://www.kde-apps.org/content/show.php/KOSD?content=81457
|
||
|
Source: http://www.kde-apps.org/CONTENT/content-files/81457-kosd-%{version}.tar.bz2
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: kdelibs-devel
|
||
|
BuildRequires: libalsa-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libqt4-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
KOSD is a simple KDE application that runs in the background and responds to button presses by showing a little OSD. It delegates the job of changing the volume to KMix.
|
||
|
|
||
|
Currently following actions are supported:
|
||
|
- Raise volume
|
||
|
- Lower volume
|
||
|
- Mute/Unmute volume
|
||
|
- Show volume
|
||
|
- Show brightness
|
||
|
- Show battery charge
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake_kde4
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%find_lang %{name}
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files -f %{name}.lang
|
||
|
%defattr(-,root,root)
|
||
|
%{_kde4_libdir}/libkosd.so.*
|
||
|
%{_kde4_libdir}/kde4/kcm_kosd.so
|
||
|
%{_kde4_libdir}/kde4/kded_kosd.so
|
||
|
%{_kde4_libdir}/kde4/kded_kosd_keys.so
|
||
|
%{_kde4_kcfgdir}/kosd.kcfg
|
||
|
%{_kde4_servicesdir}/kcm_kosd.desktop
|
||
|
%{_kde4_servicesdir}/kded/kosd.desktop
|
||
|
%{_kde4_servicesdir}/kded/kosd_keys.desktop
|
||
|
%{_datadir}/dbus-1/interfaces/org.kde.kosd.xml
|
||
|
%doc LICENSE
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_kde4_includedir}/kosd
|
||
|
%{_kde4_includedir}/kosd/*.h
|
||
|
%{_kde4_libdir}/libkosd.so
|
||
|
%doc CHANGELOG
|
||
|
|
||
|
%changelog
|
||
|
* Thu Aug 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.1-1mamba
|
||
|
- update to 0.8.1
|
||
|
|
||
|
* Mon Jun 29 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.1-1mamba
|
||
|
- update to 0.4.1
|
||
|
|
||
|
* Tue Jun 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2-1mamba
|
||
|
- package created by autospec
|