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