]> git.pld-linux.org Git - packages/emerald.git/blob - emerald.spec
- update to 0.7.4 (patch by Lukasz Kies in pld-devel-en@ list)
[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.7.4
5 Release:        1
6 Epoch:          1
7 License:        GPL v2+
8 Group:          X11/Applications
9 Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
10 # Source0-md5:  e87486acfc8a7af1aef1353b2dd05aa7
11 Patch0:         %{name}-desktop.patch
12 URL:            http://forum.compiz-fusion.org/
13 BuildRequires:  autoconf >= 2.57
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  compiz-devel >= %{version}
16 BuildRequires:  dbus-glib-devel >= 0.50
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtk+2-devel >= 2:2.8.0
19 BuildRequires:  intltool >= 0.35.0
20 BuildRequires:  libselinux-devel
21 # 2.19.4 (ffu)
22 BuildRequires:  libwnck-devel >= 2.14.1-2
23 BuildRequires:  pango-devel >= 1.10.0
24 BuildRequires:  pkgconfig
25 BuildRequires:  rpmbuild(macros) >= 1.311
26 BuildRequires:  xorg-lib-libXrender-devel >= 0.8.4
27 Requires(post,postun):  desktop-file-utils
28 Requires(post,postun):  gtk+2
29 Requires(post,postun):  hicolor-icon-theme
30 Requires(post,postun):  shared-mime-info
31 Requires:       compiz >= %{version}
32 Obsoletes:      cgwd
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 emerald is window manager and tool to configure window decorations in
37 compiz, it use themes for windows' decorations.
38
39 %description -l pl.UTF-8
40 emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
41 dekoracji okien w compizie.
42
43 %package devel
44 Summary:        Header files for Emerald Engines library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Emerald Engines
46 Group:          X11/Development/Libraries
47 Requires:       %{name} = %{epoch}:%{version}-%{release}
48 Requires:       compiz-devel >= %{version}
49 Requires:       dbus-glib-devel >= 0.50
50 Requires:       gtk+2-devel >= 2:2.8.0
51 Requires:       libwnck-devel >= 2.14.1-2
52 Requires:       pango-devel >= 1.10.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
77 %build
78 %{__glib_gettextize}
79 %{__intltoolize}
80 %{__libtoolize}
81 %{__aclocal}
82 %{__autoconf}
83 %{__autoheader}
84 %{__automake}
85 %configure \
86         --disable-mime-update
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
96 # obsoleted GNOME mime-info stuff
97 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
98
99 %find_lang %{name}
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %post
105 /sbin/ldconfig
106 %update_desktop_database_post
107 %update_mime_database
108 %update_icon_cache hicolor
109
110 %postun
111 /sbin/ldconfig
112 %update_desktop_database_postun
113 %update_mime_database
114 %update_icon_cache hicolor
115
116 %files -f %{name}.lang
117 %defattr(644,root,root,755)
118 %doc AUTHORS README TODO
119 %attr(755,root,root) %{_bindir}/emerald
120 %attr(755,root,root) %{_bindir}/emerald-theme-manager
121 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
122 %attr(755,root,root) %ghost %{_libdir}/libemeraldengine.so.0
123 %dir %{_libdir}/%{name}
124 %dir %{_libdir}/%{name}/engines
125 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
126 %{_datadir}/%{name}
127 %{_datadir}/mime/packages/emerald.xml
128 %{_desktopdir}/emerald-theme-manager.desktop
129 %{_pixmapsdir}/emerald-theme-manager-icon.png
130 %{_iconsdir}/hicolor/*/*/*.png
131 %{_mandir}/man1/emerald.1*
132 %{_mandir}/man1/emerald-theme-manager.1*
133
134 %files devel
135 %defattr(644,root,root,755)
136 %attr(755,root,root) %{_libdir}/libemeraldengine.so
137 %{_libdir}/libemeraldengine.la
138 %dir %{_includedir}/%{name}
139 %{_includedir}/%{name}/*.h
140 %{_pkgconfigdir}/emeraldengine.pc
141
142 %files static
143 %defattr(644,root,root,755)
144 %{_libdir}/libemeraldengine.a
This page took 0.091223 seconds and 4 git commands to generate.