]> git.pld-linux.org Git - SPECS.git/blob - kde-decoration-nvidia.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / kde-decoration-nvidia.spec
1 #
2 # Conditional build:
3 %bcond_without  xmms    # disable xmms-skin
4 #
5 %define         _decoration     nvidia
6 #
7 Summary:        Kwin decoration - %{_decoration}
8 Summary(pl.UTF-8):      Dekoracja kwin - %{_decoration}
9 Name:           kde-decoration-%{_decoration}
10 Version:        1.0b
11 Release:        1
12 License:        LGPL
13 Group:          Themes
14 Source0:        %{_decoration}-%{version}-3.2.0.tar.bz2
15 # Source0-md5:  556a523933a1094ffa971d928551fd1b
16 Patch0:         %{_decoration}-unsermake.patch
17 URL:            http://www.kde-look.org/content/show.php?content=12330
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  kdebase-devel >= 9:3.2.0
21 BuildRequires:  kdebase-desktop-libs >= 9:3.2.0
22 BuildRequires:  rpmbuild(macros) >= 1.129
23 BuildRequires:  unsermake
24 Requires:       kdebase-desktop-libs >= 9:3.2.0
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 A clone of the nvidia Windows XP decoration. It features concave
29 window title alongside with rounded window corners.
30
31 %description -l pl.UTF-8
32 Klon dekoracji nvidia z Windows XP. Oferuje między innymi wklęsłe pole
33 z tytułem okna oraz zaokrąglone brzegi okna.
34
35 %package -n xmms-skin-%{_decoration}
36 Summary:        An XMMS skin %{_decoration} theme
37 Summary(pl.UTF-8):      Skórka dla XMMS-a z motywu %{_decoration}
38 Group:          Themes
39 Requires:       xmms
40
41 # These could use better usability but i have no xmms.
42 %description -n xmms-skin-%{_decoration}
43 An XMMS skin %{_decoration} theme.
44
45 %description -n xmms-skin-%{_decoration} -l pl.UTF-8
46 Skórka dla XMMS-a z motywu %{_decoration}.
47
48 %package -n kde-colorscheme-%{_decoration}
49 Summary:        Color scheme for KDE style - %{_decoration}
50 Summary(pl.UTF-8):      Schemat kolorów do stylu KDE - %{_decoration}
51 Group:          Themes
52 Requires:       kdebase-core
53
54 %description -n kde-colorscheme-%{_decoration}
55 A grey colorscheme with lime link and selection background.
56
57 %description -n kde-colorscheme-%{_decoration} -l pl.UTF-8
58 Szary schemat kolorów z odnośnikami i tłem zaznaczenia w kolorze
59 limonki.
60
61 %prep
62 %setup -q -n %{_decoration}-%{version}-3.2.0
63 %patch0 -p1
64
65 %build
66 cp -f /usr/share/automake/config.sub admin
67 export UNSERMAKE=/usr/share/unsermake/unsermake
68 %{__make} -f Makefile.cvs
69
70 %configure \
71         --with-qt-libraries=%{_libdir}
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT \
80         kde_htmldir="%{_kdedocdir}"
81
82 install -d $RPM_BUILD_ROOT%{_datadir}/apps/kdisplay/color-schemes
83 install other/nvidia.kcsrc $RPM_BUILD_ROOT%{_datadir}/apps/kdisplay/color-schemes
84
85 %if %{with xmms}
86 install -d $RPM_BUILD_ROOT%{xmms_datadir}/Skins
87 install other/SoftshapeAmp_Release_II_Color_1.wsz $RPM_BUILD_ROOT%{xmms_datadir}/Skins
88 %endif
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %{_libdir}/kde3/kwin*.la
96 %attr(755,root,root) %{_libdir}/kde3/kwin*.so
97 %{_datadir}/apps/kwin/*.desktop
98
99 %if %{with xmms}
100 %files -n xmms-skin-%{_decoration}
101 %defattr(644,root,root,755)
102 %{xmms_datadir}/Skins/*
103 %endif
104
105 %files -n kde-colorscheme-%{_decoration}
106 %defattr(644,root,root,755)
107 %{_datadir}/apps/kdisplay/color-schemes/*.kcsrc
This page took 0.303746 seconds and 3 git commands to generate.