56 lines
1.7 KiB
RPMSpec
56 lines
1.7 KiB
RPMSpec
Name: kalternatives
|
|
Version: 0.13
|
|
Release: 2mamba
|
|
Summary: A tool to graphically manage the alternatives system of some GNU/Linux distributions
|
|
Group: Graphical Desktop/Applications/Administration
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://kde-apps.org/content/show.php/Kalternatives?content=16016
|
|
Source: http://kde-apps.org/CONTENT/content-files/16016-kalternatives_%{version}.tar.gz
|
|
Source1: %{name}-desktop
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: kdelibs-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Kalternatives is a little tool to graphically manage the alternatives system of some GNU/Linux distributions.
|
|
|
|
%prep
|
|
%setup -q
|
|
cp %{SOURCE1} src/kalternatives.desktop
|
|
|
|
%build
|
|
%cmake_kde4 -d build \
|
|
-DKALTERNATIVES_DISTRO=rpm_2
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%find_lang %{name}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
%{_kde4_libdir}/kde4/kcm_kalternatives.so
|
|
%{_kde4_datadir}/kalternatives/icons/hicolor/*/actions/alternative-broken.png
|
|
%{_kde4_servicesdir}/kalternatives.desktop
|
|
%doc AUTHORS COPYING NEWS README TODO
|
|
|
|
%changelog
|
|
* Tue Apr 05 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-2mamba
|
|
- use kdesu instead of kdesudo to launch kalternatives
|
|
|
|
* Thu Mar 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.13-1mamba
|
|
- package created by autospec
|