blob: 7fab40d0127d9307c6dc6e27be473beaeb3e3954 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
#
# spec file for package twin-decor-suse (Version 0.2)
#
# Copyright (c) 2005 Gerd Fleischer
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
%define DIST %(if [ -r /etc/SuSE-release ]; then echo "SuSE"; else echo "Unknown"; fi)
Name: twin-decor-suse2
URL: http://www.gerdfleischer.de/twin-decor-suse2/
License: GPL
Group: System/GUI/KDE
Summary: The KDE window decoration from SUSE 9.3 - 10.2
Version: 0.4.1
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: %name-%version.tar.bz2
%description
The KDE window decoration from SUSE 9.3 - 10.2 extracted from the tdebase3-SUSE package.
Authors:
--------
Adrian Schroeter <[email protected]>
Sandro Giessl <[email protected]>
Rik Hemsley (rikkus) <[email protected]>
Gerd Fleischer <[email protected]>
%prep
%setup -q
%if %{DIST} == SuSE
cp extra/kroete.png src/titlebar_decor.png
. /etc/opt/kde3/common_options
update_admin --no-unsermake
%endif
%build
%if %{DIST} == SuSE
. /etc/opt/kde3/common_options
./configure $configkde
%else
./configure --enable-final
%endif
make
%install
make DESTDIR=$RPM_BUILD_ROOT install-strip
install -d -m 755 $RPM_BUILD_ROOT%{_docdir}/twin-decor-suse2
install -m 644 ChangeLog README COPYING INSTALL AUTHORS NEWS $RPM_BUILD_ROOT%{_docdir}/twin-decor-suse2/
%files
%defattr(-,root,root)
%if %{DIST} == SuSE
/opt/kde3/%{_lib}
/opt/kde3/share/
%else
/usr/%{_lib}
/usr/share/
%endif
%{_docdir}/twin-decor-suse2/
%changelog -n twin-decor-suse2
* Sun Nov 20 2005 - [email protected]
- use _lib
* Sun May 01 2005 - [email protected]
- initial spec
|