]> git.pld-linux.org Git - packages/aquamarine.git/blob - aquamarine.spec
c690ab4d3b1907cbe9176095bb142162965f66af
[packages/aquamarine.git] / aquamarine.spec
1 Summary:        Themeable window decorator and compositing manager for beryl
2 Summary(pl):    Dekorator okien dla beryla u¿ywaj±cy motywów
3 Name:           aquamarine
4 Version:        0.1.4
5 Release:        0.1
6 License:        GPL v2+
7 Group:          Themes
8 Source0:        http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  6b0009bb7af2d37654d8001b1aecfdbe
10 Patch0:         %{name}-ac260-lt.patch
11 Patch1:         %{name}-nodeps_am.patch
12 Patch2:         %{name}-include.patch
13 URL:            http://www.beryl-project.org/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake >= 1.5
16 BuildRequires:  beryl-core-devel >= 1:0.1.3
17 BuildRequires:  boost-filesystem-devel
18 BuildRequires:  boost-regex-devel
19 BuildRequires:  gtk+2-devel >= 2:2.8.0
20 BuildRequires:  kdebase-devel >= 9:3.5.0
21 BuildRequires:  kdelibs-devel >= 9:3.5.0
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(macros) >= 1.129
24 BuildRequires:  startup-notification-devel
25 BuildRequires:  xorg-lib-libXcomposite-devel
26 Requires:       beryl-core >= 1:0.1.3
27 Obsoletes:      compiz-quinnstorm-kde-decorator
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 Aquamarine is themeable window decorator and compositing manager for
32 beryl. Aquamarine is intended for use with KDE.
33
34 %description -l pl
35 Aquamarine jest dekoratorem okien dla beryla u¿ywaj±cym motywów. Jest
36 przeznaczony do u¿ywania wraz z KDE.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 #%patch1 -p0
42 #%patch2 -p0
43
44 mv -f po/{ca_ES,ca}.po
45 mv -f po/{es_ES,es}.po
46 mv -f po/{hu_HU,hu}.po
47 mv -f po/{it_IT,it}.po
48 mv -f po/{ko_KR,ko}.po
49 mv -f po/{pt_PT,pt}.po
50 mv -f po/{ru_RU,ru}.po
51 mv -f po/{uk_UA,uk}.po
52 rm -r po/ru_UA.po # I dont know whot's that
53
54 # NOTE: check the list after any upgrade!
55 cat > po/LINGUAS <<EOF
56 ca
57 es
58 es_AR
59 fr
60 hu
61 it
62 ko
63 pt_BR
64 pt
65 ru
66 uk
67 zh_CN
68 zh_HK
69 zh_TW
70 EOF
71
72 %build
73 # can't libtoolize with KDE mess
74 #%{__aclocal}
75 #%{__autoconf}
76 #%{__autoheader}
77 #%{__automake}
78 %configure \
79 %if "%{_lib}" == "lib64"
80         --enable-libsuffix=64 \
81 %endif
82         --%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
83         --with-qt-libraries=%{_libdir}
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %find_lang %{name}
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %files -f %{name}.lang
97 %defattr(644,root,root,755)
98 %doc AUTHORS
99 %attr(755,root,root) %{_bindir}/aquamarine
100 %{_prefix}/lib/beryl/backends/libkconfig.la
101 %attr(755,root,root) %{_prefix}/lib/beryl/backends/libkconfig.so
102 %{_prefix}/lib/kde3/kcm_beryl.la
103 %attr(755,root,root) %{_prefix}/lib/kde3/kcm_beryl.so
104 %{_desktopdir}/kde/beryl.desktop
105 %{_datadir}/config.kcfg/aquamarine.kcfg
This page took 0.022732 seconds and 2 git commands to generate.