/[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 101676 - (hide annotations) (download)
Tue Jun 7 21:50:15 2011 UTC (12 years, 9 months ago) by dmorgan
File size: 2810 byte(s)
Add gtk3+-devel as BR
1 tv 72298 %define lib_major 0
2     %define libname %mklibname %{name}-private %{lib_major}
3     %define libnamedev %mklibname -d %{name}-private
4     %define startup_notification_version 0.4
5 dmorgan 101666 %define api 3.0
6 tv 72298
7     Summary: Mutter window manager
8     Name: mutter
9 dmorgan 101666 Version: 3.0.2.1
10 tv 78245 Release: %mkrel 1
11 tv 72298 URL: http://ftp.gnome.org/pub/gnome/sources/mutter/
12     Source0: http://ftp.gnome.org/pub/GNOME/sources/mutter/%{name}-%{version}.tar.bz2
13    
14     License: GPLv2+
15     Group: Graphical desktop/GNOME
16     Requires: zenity
17     BuildRequires: libglade2.0-devel
18     BuildRequires: libGConf2-devel >= 1.1.9
19     BuildRequires: startup-notification-devel >= %{startup_notification_version}
20     BuildRequires: libcanberra-devel
21     BuildRequires: libgtop2.0-devel
22     BuildRequires: libxinerama-devel
23     BuildRequires: libxcomposite-devel
24     BuildRequires: libxdamage-devel
25     BuildRequires: libxtst-devel
26     BuildRequires: libmesaglu-devel
27     BuildRequires: GConf2
28     BuildRequires: zenity
29     BuildRequires: intltool
30     BuildRequires: gnome-doc-utils
31     BuildRequires: libcanberra-devel
32     BuildRequires: gobject-introspection-devel gir-repository
33     BuildRequires: clutter-devel >= 1.2
34     BuildRequires: gnome-common libtool
35 dmorgan 101676 BuildRequires: gtk+-devel
36 tv 72298 Requires: %{libname} = %{version}
37    
38     %description
39     Mutter is a simple window manager that integrates nicely with
40     GNOME 2.
41    
42     %package -n %{libname}
43     Summary: Libraries for Mutter
44     Group: System/Libraries
45    
46     %description -n %{libname}
47     This package contains libraries used by Mutter.
48    
49     %package -n %{libnamedev}
50     Summary: Libraries and include files with Mutter
51     Group: Development/GNOME and GTK+
52     Requires: %name = %{version}
53     Requires: %{libname} = %{version}
54     Provides: %{name}-devel = %{version}-%{release}
55     Provides: lib%{name}-private-devel = %{version}-%{release}
56     Obsoletes: %mklibname -d %{name}-private 0
57    
58     %description -n %{libnamedev}
59     This package provides the necessary development libraries and include
60     files to allow you to develop with Mutter.
61    
62    
63     %prep
64     %setup -q
65    
66     %build
67     %configure2_5x
68     #parallel build is broken
69     make
70    
71     %install
72     rm -rf $RPM_BUILD_ROOT %name.lang
73     GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std
74    
75     %find_lang %{name}
76    
77     %clean
78     rm -rf $RPM_BUILD_ROOT
79    
80     %define schemas %name
81    
82     %preun
83     %preun_uninstall_gconf_schemas %{schemas}
84    
85     %files -f %{name}.lang
86     %defattr(-,root,root)
87     %doc README COPYING NEWS HACKING
88     %{_sysconfdir}/gconf/schemas/*
89     %{_bindir}/*
90     %{_datadir}/applications/%name.desktop
91     %{_datadir}/gnome/wm-properties/%name-wm.desktop
92     %{_datadir}/%name
93     %dir %_libdir/%name
94     %dir %_libdir/%name/plugins
95     %_libdir/%name/plugins/default.so
96     %{_mandir}/man1/*
97    
98     %files -n %{libname}
99     %defattr(-,root,root)
100     %{_libdir}/*.so.%{lib_major}*
101     %_libdir/%name/Meta-%api.typelib
102    
103     %files -n %{libnamedev}
104     %defattr(-,root,root)
105     %{_libdir}/*.so
106     %{_libdir}/*.a
107     %{_libdir}/*.la
108     %{_includedir}/*
109     %{_libdir}/pkgconfig/*
110     %_libdir/%name/Meta-%api.gir
111    
112    

  ViewVC Help
Powered by ViewVC 1.1.30