/[packages]/cauldron/mutter/current/SPECS/mutter.spec
ViewVC logotype

Annotation of /cauldron/mutter/current/SPECS/mutter.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 156080 - (hide annotations) (download)
Tue Oct 18 06:29:54 2011 UTC (12 years, 5 months ago) by wally
File size: 3023 byte(s)
- new version 3.2.1
- drop usptreamed patch
1 wally 156080 %define url_ver %(echo %{version} | cut -d. -f1,2)
2 tv 72298
3 wally 148944 %define lib_major 0
4     %define api 3.0
5     %define libname %mklibname %{name}-private %{lib_major}
6     %define libnamedev %mklibname -d %{name}-private
7 tv 72298
8 wally 148944 Summary: Mutter window manager
9     Name: mutter
10 wally 156080 Version: 3.2.1
11     Release: %mkrel 1
12 wally 148944 URL: http://ftp.gnome.org/pub/gnome/sources/mutter/
13     Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz
14     License: GPLv2+
15     Group: Graphical desktop/GNOME
16     BuildRequires: pkgconfig(glib-2.0) >= 2.14.0
17     BuildRequires: pkgconfig(gtk+-3.0) >= 2.91.7
18     BuildRequires: pkgconfig(sm)
19     BuildRequires: pkgconfig(libstartup-notification-1.0) >= 0.7
20     BuildRequires: pkgconfig(libcanberra-gtk3) >= 0.26
21     BuildRequires: pkgconfig(xcomposite) >= 0.2
22     BuildRequires: pkgconfig(clutter-1.0) >= 1.7.5
23     BuildRequires: pkgconfig(xcursor)
24     BuildRequires: pkgconfig(pango) >= 1.2.0
25     BuildRequires: pkgconfig(cairo) >= 1.10.0
26     BuildRequires: pkgconfig(gconf-2.0) >= 1.2.0
27     BuildRequires: pkgconfig(xfixes)
28     BuildRequires: pkgconfig(xrender)
29     BuildRequires: pkgconfig(xdamage)
30     BuildRequires: pkgconfig(gobject-introspection-1.0) >= 0.9.5
31     BuildRequires: cogl-devel
32     BuildRequires: libxtst-devel
33     BuildRequires: libmesaglu-devel
34     BuildRequires: GConf2
35     BuildRequires: zenity
36     BuildRequires: intltool
37     BuildRequires: gnome-doc-utils
38     BuildRequires: gir-repository
39     BuildRequires: gnome-common
40     Requires: zenity
41    
42 tv 72298 %description
43     Mutter is a simple window manager that integrates nicely with
44 dmorgan 102446 GNOME 3.
45 tv 72298
46     %package -n %{libname}
47 wally 148944 Summary: Libraries for Mutter
48     Group: System/Libraries
49 tv 72298
50     %description -n %{libname}
51     This package contains libraries used by Mutter.
52    
53     %package -n %{libnamedev}
54 wally 148944 Summary: Libraries and include files with Mutter
55     Group: Development/GNOME and GTK+
56     Requires: %{name} = %{version}
57     Requires: %{libname} = %{version}
58     Provides: %{name}-devel = %{version}-%{release}
59     Provides: lib%{name}-private-devel = %{version}-%{release}
60     Obsoletes: %mklibname -d %{name}-private 0
61 tv 72298
62     %description -n %{libnamedev}
63     This package provides the necessary development libraries and include
64     files to allow you to develop with Mutter.
65    
66     %prep
67     %setup -q
68 wally 156080 #apply_patches
69 tv 72298
70     %build
71 fwang 130558 %configure2_5x --disable-static --disable-schemas-install
72     %make
73 tv 72298
74     %install
75 wally 148944 rm -rf %{buildroot}
76 fwang 130558 %makeinstall_std
77 tv 72298
78     %find_lang %{name}
79    
80 dmorgan 102446 #Remove libtool archives.
81     rm -rf %{buildroot}/%{_libdir}/*.la
82    
83 tv 72298 %clean
84 wally 148944 rm -rf %{buildroot}
85 tv 72298
86 wally 148944 %define schemas %{name}
87 tv 72298
88     %preun
89     %preun_uninstall_gconf_schemas %{schemas}
90    
91     %files -f %{name}.lang
92     %defattr(-,root,root)
93     %doc README COPYING NEWS HACKING
94     %{_sysconfdir}/gconf/schemas/*
95     %{_bindir}/*
96 wally 148944 %{_datadir}/applications/%{name}.desktop
97     %{_datadir}/gnome/wm-properties/%{name}-wm.desktop
98     %{_datadir}/%{name}
99     %dir %{_libdir}/%{name}
100     %dir %{_libdir}/%{name}/plugins
101     %{_libdir}/%{name}/plugins/default.so
102 tv 72298 %{_mandir}/man1/*
103    
104     %files -n %{libname}
105     %defattr(-,root,root)
106     %{_libdir}/*.so.%{lib_major}*
107 wally 148944 %{_libdir}/%{name}/Meta-%{api}.typelib
108 tv 72298
109     %files -n %{libnamedev}
110     %defattr(-,root,root)
111     %{_libdir}/*.so
112     %{_includedir}/*
113     %{_libdir}/pkgconfig/*
114 wally 148944 %{_libdir}/%name/Meta-%{api}.gir

  ViewVC Help
Powered by ViewVC 1.1.30