Line | |
---|
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 | #
|
---|
10 | # $Id: kdeutils-cmd.spec 935 2010-12-06 10:23:57Z joergs $
|
---|
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
|
---|
18 | License: GPL
|
---|
19 | Group: Applications/Communications
|
---|
20 | Summary: KDE%{KDE_VER}: commandline utilities
|
---|
21 | Version: 0.1
|
---|
22 | Release: 0
|
---|
23 | Autoreqprov: on
|
---|
24 | # libqt4 includes qdbus (openSUSE 11.2)
|
---|
25 | Requires: libqt4
|
---|
26 | Requires: python-kde4
|
---|
27 | Source: %{name}-%{version}.orig.tar.gz
|
---|
28 | BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
---|
29 | BuildArch: noarch
|
---|
30 | #BuildRequires: kdebase4-openSUSE
|
---|
31 |
|
---|
32 |
|
---|
33 |
|
---|
34 |
|
---|
35 | %description
|
---|
36 | some KDE and dbus commandline utilities
|
---|
37 |
|
---|
38 | Authors:
|
---|
39 | --------
|
---|
40 | Joerg Steffens, dass IT
|
---|
41 |
|
---|
42 |
|
---|
43 |
|
---|
44 |
|
---|
45 | %prep
|
---|
46 | %setup -c
|
---|
47 |
|
---|
48 |
|
---|
49 |
|
---|
50 | %build
|
---|
51 |
|
---|
52 |
|
---|
53 |
|
---|
54 | %install
|
---|
55 | mkdir -p $RPM_BUILD_ROOT/usr/bin
|
---|
56 | INSTALL="install"
|
---|
57 | $INSTALL -m 755 kreadconfig/*.py $RPM_BUILD_ROOT/usr/bin/
|
---|
58 | ln -s kreadconfig.py $RPM_BUILD_ROOT/usr/bin/kread-config.py
|
---|
59 | $INSTALL -m 755 dbus/*.sh $RPM_BUILD_ROOT/usr/bin/
|
---|
60 | $INSTALL -m 755 dbus/knotify-client $RPM_BUILD_ROOT/usr/bin/
|
---|
61 |
|
---|
62 | %clean
|
---|
63 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
|
---|
64 |
|
---|
65 | %files
|
---|
66 | %defattr(-,root,root)
|
---|
67 | %doc Changes
|
---|
68 | #doc kreadconfig/kreadconfig-test.sh
|
---|
69 | #doc kreadconfig/kread-desktopfile-test.sh
|
---|
70 | #doc kreadconfig/test/
|
---|
71 | /usr/bin/*
|
---|
Note:
See
TracBrowser
for help on using the repository browser.