]> git.pld-linux.org Git - packages/emerald.git/blob - emerald.spec
- s/temat/motyw/
[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.5.2
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:  149c17b0a1bddf29e1cd66d29777d96e
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:  gtk+2-devel >= 2:2.8.0
18 BuildRequires:  intltool >= 0.35.0
19 BuildRequires:  libwnck-devel >= 2.14.1-2
20 BuildRequires:  pango-devel >= 1.10.0
21 BuildRequires:  pkgconfig
22 BuildRequires:  rpmbuild(macros) >= 1.311
23 BuildRequires:  xorg-lib-libXrender-devel >= 0.8.4
24 BuildRequires:  xorg-lib-libXres-devel >= 1.0
25 Requires(post,postun):  desktop-file-utils
26 Requires(post,postun):  gtk+2
27 Requires(post,postun):  hicolor-icon-theme
28 Requires(post,postun):  shared-mime-info
29 Requires:       compiz >= %{version}
30 Obsoletes:      cgwd
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 emerald is window manager and tool to configure window decorations in
35 compiz, it use themes for windows' decorations.
36
37 %description -l pl.UTF-8
38 emerald to zarządca okien oraz narzędzie GTK+ do konfiguracji
39 dekoracji okien w compizie.
40
41 %package devel
42 Summary:        Header files for Emerald Engines library
43 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Emerald Engines
44 Group:          X11/Development/Libraries
45 Requires:       %{name} = %{epoch}:%{version}-%{release}
46 Requires:       compiz-devel >= %{version}
47 Requires:       dbus-glib-devel >= 0.50
48 Requires:       gtk+2-devel >= 2:2.8.0
49 Requires:       libwnck-devel >= 2.14.1-2
50 Requires:       pango-devel >= 1.10.0
51 Requires:       xorg-lib-libXrender-devel >= 0.8.4
52
53 %description devel
54 Header files for Emerald Engines library.
55
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki Emerald Engines.
58
59 %package static
60 Summary:        Static Emerald Engines library
61 Summary(pl.UTF-8):      Statyczna biblioteka Emerald Engines
62 Group:          X11/Development/Libraries
63 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
64
65 %description static
66 Static Emerald Engines library.
67
68 %description static -l pl.UTF-8
69 Statyczna biblioteka Emerald Engines.
70
71 %prep
72 %setup -q
73 %patch0 -p1
74
75 %build
76 %{__glib_gettextize}
77 %{__intltoolize}
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__autoheader}
82 %{__automake}
83 %configure \
84         --disable-mime-update
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89
90 %{__make} install \
91         DESTDIR=$RPM_BUILD_ROOT
92
93 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
94 # obsoleted GNOME mime-info stuff
95 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
96
97 %find_lang %{name}
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post
103 /sbin/ldconfig
104 %update_desktop_database_post
105 %update_mime_database
106 %update_icon_cache hicolor
107
108 %postun
109 /sbin/ldconfig
110 %update_desktop_database_postun
111 %update_mime_database
112 %update_icon_cache hicolor
113
114 %files -f %{name}.lang
115 %defattr(644,root,root,755)
116 %doc README TODO
117 %attr(755,root,root) %{_bindir}/*
118 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
119 %dir %{_libdir}/%{name}
120 %dir %{_libdir}/%{name}/engines
121 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
122 %{_datadir}/%{name}
123 %{_datadir}/mime/packages/emerald.xml
124 %{_desktopdir}/emerald-theme-manager.desktop
125 %{_pixmapsdir}/emerald-theme-manager-icon.png
126 %{_iconsdir}/hicolor/*/*/*.png
127 %{_mandir}/man1/*.1*
128
129 %files devel
130 %defattr(644,root,root,755)
131 %attr(755,root,root) %{_libdir}/libemeraldengine.so
132 %{_libdir}/libemeraldengine.la
133 %dir %{_includedir}/%{name}
134 %{_includedir}/%{name}/*.h
135 %{_pkgconfigdir}/emeraldengine.pc
136
137 %files static
138 %defattr(644,root,root,755)
139 %{_libdir}/libemeraldengine.a
This page took 0.035602 seconds and 3 git commands to generate.