]> git.pld-linux.org Git - packages/emerald.git/blob - emerald.spec
- updated deps
[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/{es_ES,es}.po
69 mv -f po/{fr_FR,fr}.po
70 mv -f po/{gu_IN,gu}.po
71 mv -f po/{hu_HU,hu}.po
72 mv -f po/{it_IT,it}.po
73 mv -f po/{ja_JP,ja}.po
74 mv -f po/{ko_KR,ko}.po
75 mv -f po/{pt_PT,pt}.po
76 mv -f po/{sv_SE,sv}.po
77 mv -f po/{tr_TR,tr}.po
78 # sv_FI is identical to sv_SE
79
80 # NOTE: check the list after any upgrade!
81 cat > po/LINGUAS <<EOF
82 ca
83 en_GB
84 es
85 es_AR
86 fr
87 gu
88 hu
89 it
90 ja
91 ko
92 pt
93 PT_BR
94 sv
95 tr
96 zh_CN
97 zh_HK
98 zh_TW
99 EOF
100
101 %build
102 %{__intltoolize}
103 %{__glib_gettextize}
104 %{__libtoolize}
105 %{__aclocal}
106 %{__autoconf}
107 %{__autoheader}
108 %{__automake}
109 %configure \
110         --disable-mime-update
111 %{__make}
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115
116 %{__make} install \
117         DESTDIR=$RPM_BUILD_ROOT
118
119 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %post   -p /sbin/ldconfig
125 %postun -p /sbin/ldconfig
126
127 %files
128 %defattr(644,root,root,755)
129 %doc README TODO
130 %attr(755,root,root) %{_bindir}/*
131 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
132 %dir %{_libdir}/%{name}
133 %dir %{_libdir}/%{name}/engines
134 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
135 %{_datadir}/%{name}
136 %{_datadir}/mime-info/emerald.mime
137 %{_datadir}/mime/packages/emerald.xml
138 %{_desktopdir}/emerald-theme-manager.desktop
139 %{_pixmapsdir}/emerald-theme-manager-icon.png
140 %{_iconsdir}/hicolor/*/*/*.png
141 %{_mandir}/man1/*.1*
142
143 %files devel
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/libemeraldengine.so
146 %{_libdir}/libemeraldengine.la
147 %dir %{_includedir}/%{name}
148 %{_includedir}/%{name}/*.h
149 %{_pkgconfigdir}/emeraldengine.pc
150
151 %files static
152 %defattr(644,root,root,755)
153 %{_libdir}/libemeraldengine.a
This page took 0.260824 seconds and 3 git commands to generate.