]>
Commit | Line | Data |
---|---|---|
9d63ec50 JB |
1 | Summary: GNOME compiz manager |
2 | Summary(pl.UTF-8): Zarządca compiza dla GNOME | |
bb00f864 MWP |
3 | Name: gnome-compiz-manager |
4 | Version: 0.10.4 | |
1a06a256 | 5 | Release: 8 |
9d9246d3 | 6 | License: LGPL v2.1+ (library), GPL v2+ (the rest) |
9d63ec50 | 7 | Group: X11/Applications |
bb00f864 MWP |
8 | Source0: http://download.gna.org/gcm/gnome-compiz-manager/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 654041b7bf9869e7d1724cb90739cdef | |
10 | URL: http://gandalfn.wordpress.com/ | |
0935ca50 | 11 | BuildRequires: gettext-tools |
9d63ec50 | 12 | BuildRequires: gnome-desktop-devel >= 2.0 |
9d9246d3 JB |
13 | BuildRequires: gob2 >= 2.0.14 |
14 | BuildRequires: gtk+2-devel >= 2:2.10 | |
bb00f864 MWP |
15 | BuildRequires: libgnomeui-devel >= 2.0 |
16 | BuildRequires: librsvg-devel >= 2.0 | |
17 | BuildRequires: libwnck-devel >= 1.0 | |
0d9845c1 | 18 | BuildRequires: perl-XML-Parser |
bb00f864 MWP |
19 | BuildRequires: pkgconfig |
20 | BuildRequires: rpmbuild(macros) >= 1.197 | |
21 | Requires(post,preun): GConf2 | |
22 | Requires: %{name}-libs = %{version}-%{release} | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
9d63ec50 JB |
26 | GNOME compiz manager is small utility, which manage GL Desktop |
27 | configuration on XGL/AIGLX. | |
bb00f864 | 28 | |
332ceb58 | 29 | %description -l pl.UTF-8 |
9d63ec50 JB |
30 | GNOME compiz manager jest małym narzędziem zarządzającym konfiguracją |
31 | pulpitu GL na XGL/AIGLX. | |
32 | ||
33 | %package libs | |
34 | Summary: Libraries for GNOME Compiz manager | |
35 | Summary(pl.UTF-8): Pliki bibliotek dla GNOME Compiz managera | |
9d9246d3 | 36 | License: LGPL v2.1+ (library), GPL v2+ (plugins) |
9d63ec50 | 37 | Group: Libraries |
9d9246d3 | 38 | Requires: gtk+2 >= 2:2.10 |
9d63ec50 JB |
39 | |
40 | %description libs | |
41 | Libraries for GNOME Compiz manager. | |
42 | ||
43 | %description libs -l pl.UTF-8 | |
44 | Pliki bibliotek dla GNOME Compiz managera. | |
332ceb58 | 45 | |
bb00f864 MWP |
46 | %package devel |
47 | Summary: Header files for GNOME Compiz manager library | |
9d63ec50 | 48 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME Compiz managera |
9d9246d3 | 49 | License: LGPL v2.1+ |
bb00f864 MWP |
50 | Group: Development/Libraries |
51 | Requires: %{name}-libs = %{version}-%{release} | |
9d9246d3 JB |
52 | Requires: gnome-desktop-devel >= 2.0 |
53 | Requires: gtk+2-devel >= 2:2.10 | |
54 | Requires: libgnomeui-devel >= 2.0 | |
55 | Requires: librsvg-devel >= 2.0 | |
56 | Requires: libwnck-devel >= 1.0 | |
bb00f864 MWP |
57 | |
58 | %description devel | |
59 | Header files for GNOME Compiz manager library. | |
60 | ||
61 | %description devel -l pl.UTF-8 | |
9d63ec50 | 62 | Pliki nagłówkowe biblioteki GNOME Compiz managera. |
bb00f864 | 63 | |
332ceb58 | 64 | %package static |
65 | Summary: Static library for GNOME Compiz manager | |
9d63ec50 | 66 | Summary(pl.UTF-8): Plik biblioteki statycznej GNOME Compiz managera |
9d9246d3 | 67 | License: LGPL v2.1+ |
9d63ec50 JB |
68 | Group: Development/Libraries |
69 | Requires: %{name}-devel = %{version}-%{release} | |
332ceb58 | 70 | |
71 | %description static | |
9d63ec50 | 72 | Static library for GNOME Compiz managera. |
332ceb58 | 73 | |
74 | %description static -l pl.UTF-8 | |
75 | Plik biblioteki statycznej dla GNOME Compiz manager. | |
76 | ||
bb00f864 MWP |
77 | %prep |
78 | %setup -q | |
79 | ||
80 | %build | |
332ceb58 | 81 | %configure \ |
82 | --disable-schemas-install | |
bb00f864 MWP |
83 | %{__make} |
84 | ||
85 | %install | |
86 | rm -rf $RPM_BUILD_ROOT | |
87 | ||
88 | %{__make} install \ | |
89 | DESTDIR=$RPM_BUILD_ROOT | |
332ceb58 | 90 | |
9d63ec50 JB |
91 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{la,a} |
92 | ||
bb00f864 MWP |
93 | %find_lang %{name} |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post | |
332ceb58 | 99 | %gconf_schema_install gnome-compiz-preferences.schemas |
bb00f864 MWP |
100 | |
101 | %preun | |
332ceb58 | 102 | %gconf_schema_uninstall gnome-compiz-preferences.schemas |
bb00f864 | 103 | |
9d63ec50 JB |
104 | %post libs -p /sbin/ldconfig |
105 | %postun libs -p /sbin/ldconfig | |
bb00f864 MWP |
106 | |
107 | %files -f %{name}.lang | |
108 | %defattr(644,root,root,755) | |
9d9246d3 | 109 | %doc AUTHORS COPYING ChangeLog NEWS README |
bb00f864 | 110 | %{_sysconfdir}/gconf/schemas/gnome-compiz-preferences.schemas |
9d9246d3 JB |
111 | %attr(755,root,root) %{_bindir}/compiz-tray-icon |
112 | %attr(755,root,root) %{_bindir}/gnome-compiz-preferences | |
113 | %{_libdir}/%{name}/gcp-page-*.plugin | |
bb00f864 | 114 | %{_datadir}/%{name} |
9d9246d3 JB |
115 | %{_desktopdir}/gnome-compiz-preferences.desktop |
116 | %{_mandir}/man1/compiz-tray-icon.1* | |
117 | %{_mandir}/man1/gnome-compiz-preferences.1* | |
bb00f864 MWP |
118 | |
119 | %files libs | |
120 | %defattr(644,root,root,755) | |
9d9246d3 JB |
121 | %attr(755,root,root) %{_libdir}/libgnome-compiz-manager.so.*.*.* |
122 | %attr(755,root,root) %ghost %{_libdir}/libgnome-compiz-manager.so.0 | |
bb00f864 | 123 | %dir %{_libdir}/%{name} |
9d9246d3 | 124 | %{_libdir}/%{name}/libgcp_page_*.so |
bb00f864 MWP |
125 | |
126 | %files devel | |
127 | %defattr(644,root,root,755) | |
9d63ec50 | 128 | %attr(755,root,root) %{_libdir}/libgnome-compiz-manager.so |
332ceb58 | 129 | %{_libdir}/libgnome-compiz-manager.la |
9d63ec50 | 130 | %{_includedir}/%{name} |
332ceb58 | 131 | %{_pkgconfigdir}/%{name}.pc |
132 | ||
133 | %files static | |
134 | %defattr(644,root,root,755) | |
9d9246d3 | 135 | %{_libdir}/libgnome-compiz-manager.a |