]> git.pld-linux.org Git - packages/emerald.git/blob - emerald.spec
- updated gettext BR
[packages/emerald.git] / emerald.spec
1 Summary:        An alternative themeable window decorator
2 Summary(pl.UTF-8):      Alternatywny dekorator okien z obsługą motywów
3 Name:           emerald
4 Version:        0.8.4
5 Release:        4
6 Epoch:          1
7 License:        GPL v2+
8 Group:          X11/Applications
9 Source0:        http://releases.compiz.org/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  e92fbe8252ea393206d98ed6ae9af4ec
11 Patch0:         %{name}-desktop.patch
12 Patch1:         %{name}-gtk+2_2_20.patch
13 Patch2:         %{name}-no-gdk_display.patch
14 URL:            http://www.compiz.org/
15 BuildRequires:  autoconf >= 2.57
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  compiz-devel >= %{version}
18 BuildRequires:  dbus-glib-devel >= 0.50
19 BuildRequires:  gettext-tools
20 BuildRequires:  gtk+2-devel >= 2:2.8.0
21 BuildRequires:  intltool >= 0.35.0
22 BuildRequires:  libtool
23 BuildRequires:  libwnck-devel >= 2.20.0
24 BuildRequires:  pango-devel >= 1.10.0
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpmbuild(macros) >= 1.311
27 BuildRequires:  xorg-lib-libXrender-devel >= 0.8.4
28 Requires(post,postun):  desktop-file-utils
29 Requires(post,postun):  gtk-update-icon-cache
30 Requires(post,postun):  hicolor-icon-theme
31 Requires(post,postun):  shared-mime-info
32 Requires:       compiz >= %{version}
33 Obsoletes:      cgwd
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 emerald is window manager and tool to configure window decorations in
38 compiz, it use themes for windows' decorations.
39
40 %description -l pl.UTF-8
41 emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
42 dekoracji okien w compizie.
43
44 %package devel
45 Summary:        Header files for Emerald Engines library
46 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Emerald Engines
47 Group:          X11/Development/Libraries
48 Requires:       %{name} = %{epoch}:%{version}-%{release}
49 Requires:       compiz-devel >= %{version}
50 Requires:       dbus-glib-devel >= 0.50
51 Requires:       gtk+2-devel >= 2:2.8.0
52 Requires:       libwnck-devel >= 2.20.0
53 Requires:       xorg-lib-libXrender-devel >= 0.8.4
54
55 %description devel
56 Header files for Emerald Engines library.
57
58 %description devel -l pl.UTF-8
59 Pliki nagłówkowe biblioteki Emerald Engines.
60
61 %package static
62 Summary:        Static Emerald Engines library
63 Summary(pl.UTF-8):      Statyczna biblioteka Emerald Engines
64 Group:          X11/Development/Libraries
65 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
66
67 %description static
68 Static Emerald Engines library.
69
70 %description static -l pl.UTF-8
71 Statyczna biblioteka Emerald Engines.
72
73 %prep
74 %setup -q
75 %patch0 -p1
76 %patch1 -p1
77 %patch2 -p1
78
79 %build
80 %{__glib_gettextize}
81 %{__intltoolize}
82 %{__libtoolize}
83 %{__aclocal}
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure \
88         --disable-mime-update
89 %{__make}
90
91 %install
92 rm -rf $RPM_BUILD_ROOT
93
94 %{__make} install \
95         DESTDIR=$RPM_BUILD_ROOT
96
97 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
98 # obsoleted GNOME mime-info stuff
99 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
100
101 %find_lang %{name}
102
103 %clean
104 rm -rf $RPM_BUILD_ROOT
105
106 %post
107 /sbin/ldconfig
108 %update_desktop_database_post
109 %update_mime_database
110 %update_icon_cache hicolor
111
112 %postun
113 /sbin/ldconfig
114 %update_desktop_database_postun
115 %update_mime_database
116 %update_icon_cache hicolor
117
118 %files -f %{name}.lang
119 %defattr(644,root,root,755)
120 %doc AUTHORS README TODO
121 %attr(755,root,root) %{_bindir}/emerald
122 %attr(755,root,root) %{_bindir}/emerald-theme-manager
123 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
124 %attr(755,root,root) %ghost %{_libdir}/libemeraldengine.so.0
125 %dir %{_libdir}/%{name}
126 %dir %{_libdir}/%{name}/engines
127 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
128 %{_datadir}/%{name}
129 %{_datadir}/mime/packages/emerald.xml
130 %{_desktopdir}/emerald-theme-manager.desktop
131 %{_pixmapsdir}/emerald-theme-manager-icon.png
132 %{_iconsdir}/hicolor/*/*/*.png
133 %{_mandir}/man1/emerald.1*
134 %{_mandir}/man1/emerald-theme-manager.1*
135
136 %files devel
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/libemeraldengine.so
139 %{_libdir}/libemeraldengine.la
140 %{_includedir}/%{name}
141 %{_pkgconfigdir}/emeraldengine.pc
142
143 %files static
144 %defattr(644,root,root,755)
145 %{_libdir}/libemeraldengine.a
This page took 0.039107 seconds and 3 git commands to generate.