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