[909] | 1 | #
|
---|
| 2 | # spec file for KDE command line admin utilities
|
---|
| 3 | #
|
---|
| 4 | # Copyright (c) 2009-2010 dass IT GmbH Cologne, Germany.
|
---|
| 5 | # This file and all modifications and additions to the pristine
|
---|
| 6 | # package are under the same license as the package itself.
|
---|
| 7 | #
|
---|
| 8 |
|
---|
| 9 | #
|
---|
[913] | 10 | # $Id: kdeutils-cmd.spec 1253 2020-09-09 10:13:56Z joergs $
|
---|
[909] | 11 | #
|
---|
| 12 |
|
---|
| 13 | %define KDE_VER 4
|
---|
| 14 | #define KDE_ENV_DIR /opt/kde3/env
|
---|
| 15 | %define KDE_ENV_DIR /usr/share/kde4/env/
|
---|
| 16 |
|
---|
| 17 | Name: kdeutils-cmd
|
---|
[1252] | 18 | License: GPL-2.0-or-later
|
---|
| 19 | Group: System/X11/Utilities
|
---|
[911] | 20 | Summary: KDE%{KDE_VER}: commandline utilities
|
---|
[1252] | 21 | URL: https://trac.dass-it.de/pub/browser/kde
|
---|
[909] | 22 | Version: 0.1
|
---|
| 23 | Release: 0
|
---|
| 24 | Autoreqprov: on
|
---|
| 25 | # libqt4 includes qdbus (openSUSE 11.2)
|
---|
| 26 | Requires: libqt4
|
---|
| 27 | Requires: python-kde4
|
---|
| 28 | Source: %{name}-%{version}.orig.tar.gz
|
---|
| 29 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
| 30 | BuildArch: noarch
|
---|
| 31 | #BuildRequires: kdebase4-openSUSE
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 |
|
---|
| 36 | %description
|
---|
[911] | 37 | some KDE and dbus commandline utilities
|
---|
[909] | 38 |
|
---|
| 39 | Authors:
|
---|
| 40 | --------
|
---|
| 41 | Joerg Steffens, dass IT
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 | %prep
|
---|
| 47 | %setup -c
|
---|
| 48 |
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | %build
|
---|
| 52 |
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | %install
|
---|
| 56 | mkdir -p $RPM_BUILD_ROOT/usr/bin
|
---|
| 57 | INSTALL="install"
|
---|
| 58 | $INSTALL -m 755 kreadconfig/*.py $RPM_BUILD_ROOT/usr/bin/
|
---|
[912] | 59 | ln -s kreadconfig.py $RPM_BUILD_ROOT/usr/bin/kread-config.py
|
---|
[909] | 60 | $INSTALL -m 755 dbus/*.sh $RPM_BUILD_ROOT/usr/bin/
|
---|
[942] | 61 | $INSTALL -m 755 dbus/*.py $RPM_BUILD_ROOT/usr/bin/
|
---|
[935] | 62 | $INSTALL -m 755 dbus/knotify-client $RPM_BUILD_ROOT/usr/bin/
|
---|
[909] | 63 |
|
---|
| 64 | %clean
|
---|
| 65 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
---|
| 66 |
|
---|
| 67 | %files
|
---|
| 68 | %defattr(-,root,root)
|
---|
[911] | 69 | #doc kreadconfig/kreadconfig-test.sh
|
---|
| 70 | #doc kreadconfig/kread-desktopfile-test.sh
|
---|
| 71 | #doc kreadconfig/test/
|
---|
[909] | 72 | /usr/bin/*
|
---|