]> git.pld-linux.org Git - packages/emerald.git/blob - emerald.spec
- updated langs
[packages/emerald.git] / emerald.spec
1 Summary:        A GTK+ tool to configure window decorations in beryl
2 Summary(pl):    Narzêdzie GTK+ do konfiguracji dekoracji okien w berylu
3 Name:           emerald
4 Version:        0.1.99.2
5 Release:        1
6 Epoch:          1
7 License:        GPL v2+
8 Group:          X11
9 Source0:        http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  fdcc88cd8e75e144a07138525e342370
11 URL:            http://beryl-project.org/
12 BuildRequires:  autoconf >= 2.57
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  beryl-core-devel >= 1:0.1.99.2
15 BuildRequires:  dbus-glib-devel >= 0.50
16 BuildRequires:  gtk+2-devel >= 2:2.8.0
17 BuildRequires:  intltool >= 0.35.0
18 BuildRequires:  libwnck-devel >= 2.14.1-2
19 BuildRequires:  pango-devel >= 1.10.0
20 BuildRequires:  pkgconfig
21 BuildRequires:  xorg-lib-libXrender-devel >= 0.8.4
22 Requires:       beryl-core >= 1:0.1.99.2
23 Obsoletes:      cgwd
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 emerald is window manager and tool to configure window decorations in
28 beryl, it use themes for windows' decorations.
29
30 %description -l pl
31 emerald to zarz±dca okien oraz narzêdzie GTK+ do konfiguracji
32 dekoracji okien w berylu.
33
34 %package devel
35 Summary:        Header files for Emerald Engines library
36 Summary(pl):    Pliki nag³ówkowe biblioteki Emerald Engines
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{epoch}:%{version}-%{release}
39 Requires:       beryl-core-devel >= 1:0.1.3
40 Requires:       dbus-glib-devel >= 0.50
41 Requires:       gtk+2-devel >= 2:2.8.0
42 Requires:       libwnck-devel >= 2.14.1-2
43 Requires:       pango-devel >= 1.10.0
44 Requires:       xorg-lib-libXrender-devel >= 0.8.4
45
46 %description devel
47 Header files for Emerald Engines library.
48
49 %description devel -l pl
50 Pliki nag³ówkowe biblioteki Emerald Engines.
51
52 %package static
53 Summary:        Static Emerald Engines library
54 Summary(pl):    Statyczna biblioteka Emerald Engines
55 Group:          X11/Development/Libraries
56 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
57
58 %description static
59 Static Emerald Engines library.
60
61 %description static -l pl
62 Statyczna biblioteka Emerald Engines.
63
64 %prep
65 %setup -q
66
67 mv -f po/{ca_ES,ca}.po
68 mv -f po/{de_DE,de}.po
69 mv -f po/{es_ES,es}.po
70 mv -f po/{fr_FR,fr}.po
71 mv -f po/{gu_IN,gu}.po
72 mv -f po/{hu_HU,hu}.po
73 mv -f po/{it_IT,it}.po
74 mv -f po/{ja_JP,ja}.po
75 mv -f po/{ko_KR,ko}.po
76 mv -f po/{nb_NO,nb}.po
77 mv -f po/{pt_PT,pt}.po
78 mv -f po/{sv_SE,sv}.po
79 mv -f po/{tr_TR,tr}.po
80 # sv_FI is identical to sv_SE
81
82 # NOTE: check the list after any upgrade!
83 cat > po/LINGUAS <<EOF
84 ca
85 de
86 en_GB
87 es
88 es_AR
89 fr
90 gu
91 hu
92 it
93 ja
94 ko
95 nb
96 nl
97 pt
98 PT_BR
99 sv
100 tr
101 zh_CN
102 zh_HK
103 zh_TW
104 EOF
105
106 %build
107 %{__intltoolize}
108 %{__glib_gettextize}
109 %{__libtoolize}
110 %{__aclocal}
111 %{__autoconf}
112 %{__autoheader}
113 %{__automake}
114 %configure \
115         --disable-mime-update
116 %{__make}
117
118 %install
119 rm -rf $RPM_BUILD_ROOT
120
121 %{__make} install \
122         DESTDIR=$RPM_BUILD_ROOT
123
124 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %post   -p /sbin/ldconfig
130 %postun -p /sbin/ldconfig
131
132 %files
133 %defattr(644,root,root,755)
134 %doc README TODO
135 %attr(755,root,root) %{_bindir}/*
136 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
137 %dir %{_libdir}/%{name}
138 %dir %{_libdir}/%{name}/engines
139 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
140 %{_datadir}/%{name}
141 %{_datadir}/mime-info/emerald.mime
142 %{_datadir}/mime/packages/emerald.xml
143 %{_desktopdir}/emerald-theme-manager.desktop
144 %{_pixmapsdir}/emerald-theme-manager-icon.png
145 %{_iconsdir}/hicolor/*/*/*.png
146 %{_mandir}/man1/*.1*
147
148 %files devel
149 %defattr(644,root,root,755)
150 %attr(755,root,root) %{_libdir}/libemeraldengine.so
151 %{_libdir}/libemeraldengine.la
152 %dir %{_includedir}/%{name}
153 %{_includedir}/%{name}/*.h
154 %{_pkgconfigdir}/emeraldengine.pc
155
156 %files static
157 %defattr(644,root,root,755)
158 %{_libdir}/libemeraldengine.a
This page took 0.082565 seconds and 3 git commands to generate.