]> git.pld-linux.org Git - packages/emerald.git/blob - emerald.spec
011607b32cff1e319f9d0adb930fe8d143d209a9
[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.6
5 Release:        2
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:  340f4dafde5d6c55bd05c0033aa7d6fe
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 BuildRequires:  libtool
22 # 2.19.4 (ffu)
23 BuildRequires:  libwnck-devel >= 2.14.1-2
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+2
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.14.1-2
53 Requires:       pango-devel >= 1.10.0
54 Requires:       xorg-lib-libXrender-devel >= 0.8.4
55
56 %description devel
57 Header files for Emerald Engines library.
58
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe biblioteki Emerald Engines.
61
62 %package static
63 Summary:        Static Emerald Engines library
64 Summary(pl.UTF-8):      Statyczna biblioteka Emerald Engines
65 Group:          X11/Development/Libraries
66 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
67
68 %description static
69 Static Emerald Engines library.
70
71 %description static -l pl.UTF-8
72 Statyczna biblioteka Emerald Engines.
73
74 %prep
75 %setup -q
76 %patch0 -p1
77
78 %build
79 %{__glib_gettextize}
80 %{__intltoolize}
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure \
87         --disable-mime-update
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/engines/*.{la,a}
97 # obsoleted GNOME mime-info stuff
98 rm -rf $RPM_BUILD_ROOT%{_datadir}/mime-info
99
100 %find_lang %{name}
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %post
106 /sbin/ldconfig
107 %update_desktop_database_post
108 %update_mime_database
109 %update_icon_cache hicolor
110
111 %postun
112 /sbin/ldconfig
113 %update_desktop_database_postun
114 %update_mime_database
115 %update_icon_cache hicolor
116
117 %files -f %{name}.lang
118 %defattr(644,root,root,755)
119 %doc AUTHORS README TODO
120 %attr(755,root,root) %{_bindir}/emerald
121 %attr(755,root,root) %{_bindir}/emerald-theme-manager
122 %attr(755,root,root) %{_libdir}/libemeraldengine.so.*.*.*
123 %attr(755,root,root) %ghost %{_libdir}/libemeraldengine.so.0
124 %dir %{_libdir}/%{name}
125 %dir %{_libdir}/%{name}/engines
126 %attr(755,root,root) %{_libdir}/%{name}/engines/*.so
127 %{_datadir}/%{name}
128 %{_datadir}/mime/packages/emerald.xml
129 %{_desktopdir}/emerald-theme-manager.desktop
130 %{_pixmapsdir}/emerald-theme-manager-icon.png
131 %{_iconsdir}/hicolor/*/*/*.png
132 %{_mandir}/man1/emerald.1*
133 %{_mandir}/man1/emerald-theme-manager.1*
134
135 %files devel
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_libdir}/libemeraldengine.so
138 %{_libdir}/libemeraldengine.la
139 %dir %{_includedir}/%{name}
140 %{_includedir}/%{name}/*.h
141 %{_pkgconfigdir}/emeraldengine.pc
142
143 %files static
144 %defattr(644,root,root,755)
145 %{_libdir}/libemeraldengine.a
This page took 0.078048 seconds and 2 git commands to generate.