summaryrefslogtreecommitdiffstats
path: root/kwin-decor-suse2.spec
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-06-25 18:57:35 +0300
committerMavridis Philippe <[email protected]>2021-06-25 18:57:35 +0300
commitb3fe3eb6c8fa5162f94ef57c260e109089efac10 (patch)
tree55373edf138a39d1822165b8925962c67587fc3e /kwin-decor-suse2.spec
downloadtwin-style-suse2-b3fe3eb6c8fa5162f94ef57c260e109089efac10.tar.gz
twin-style-suse2-b3fe3eb6c8fa5162f94ef57c260e109089efac10.zip
Initial commit: imported from https://store.kde.org/p/1100399
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kwin-decor-suse2.spec')
-rw-r--r--kwin-decor-suse2.spec70
1 files changed, 70 insertions, 0 deletions
diff --git a/kwin-decor-suse2.spec b/kwin-decor-suse2.spec
new file mode 100644
index 0000000..80835d2
--- /dev/null
+++ b/kwin-decor-suse2.spec
@@ -0,0 +1,70 @@
+#
+# spec file for package kwin-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: kwin-decor-suse2
+URL: http://www.gerdfleischer.de/kwin-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 kdebase3-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}/kwin-decor-suse2
+install -m 644 ChangeLog README COPYING INSTALL AUTHORS NEWS $RPM_BUILD_ROOT%{_docdir}/kwin-decor-suse2/
+
+%files
+%defattr(-,root,root)
+%if %{DIST} == SuSE
+/opt/kde3/%{_lib}
+/opt/kde3/share/
+%else
+/usr/%{_lib}
+/usr/share/
+%endif
+%{_docdir}/kwin-decor-suse2/
+
+%changelog -n kwin-decor-suse2
+* Sun Nov 20 2005 - [email protected]
+- use _lib
+* Sun May 01 2005 - [email protected]
+- initial spec