]> git.pld-linux.org Git - SPECS.git/blob - kalsamix.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / kalsamix.spec
1 %define         _rel            beta2
2 Summary:        An ALSA mixer for KDE
3 Summary(pl.UTF-8):      Mikser ALSA dla KDE
4 Name:           kalsamix
5 Version:        1.0.0
6 Release:        0.%{_rel}.1
7 License:        GPL
8 Group:          X11/Applications/Sound
9 Source0:        http://dl.sourceforge.net/kalsamix/%{name}-%{version}%{_rel}.tar.gz
10 # Source0-md5:  f81ba7798ce887b92c3a07ecfc879df4
11 Patch0:         %{name}-desktop.patch
12 URL:            http://kamix.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  kdelibs-devel
16 BuildRequires:  rpmbuild(macros) >= 1.129
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 A KDE mixer application for KDE 3 and ALSA, just to provide some
21 support for what official kmix lacks.
22
23 %description -l pl.UTF-8
24 Mikser dżwięku dla KDE 3 i ALSY, posiadający możliwości, w które kmix
25 jest ubogi.
26
27 %prep
28 %setup -q -n %{name}-%{version}%{_rel}
29 %patch0 -p1
30
31 %build
32 cp -f /usr/share/automake/config.* admin
33
34 %configure \
35 %if "%{_lib}" == "lib64"
36         --enable-libsuffix=64 \
37 %endif
38         --disable-rpath \
39         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
40         --with-qt-libraries=%{_libdir}
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT \
48         kde_htmldir=%{_kdedocdir}
49
50 install -d $RPM_BUILD_ROOT%{_desktopdir}
51 mv -f $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities/*.desktop \
52         $RPM_BUILD_ROOT%{_desktopdir}
53
54 %find_lang %{name} --with-kde
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc README AUTHORS ChangeLog TODO
62 %attr(755,root,root) %{_bindir}/%{name}
63 %{_datadir}/apps/%{name}
64 %{_iconsdir}/hicolor/*/*/*
65 %{_desktopdir}/*.desktop
This page took 0.166408 seconds and 3 git commands to generate.