/[packages]/cauldron/gnome-desktop3/current/SPECS/gnome-desktop3.spec
ViewVC logotype

Contents of /cauldron/gnome-desktop3/current/SPECS/gnome-desktop3.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 170466 - (show annotations) (download)
Mon Nov 21 15:40:32 2011 UTC (12 years, 5 months ago) by wally
File size: 3488 byte(s)
- new version 3.3.2
1 %define oname gnome-desktop
2
3 %define api_version 3
4 %define api 3.0
5 %define lib_major 2
6
7 %define libname %mklibname %{oname} %{api_version} %{lib_major}
8 %define libnamedev %mklibname -d %{oname} %{api_version}
9 %define gi_libname %mklibname %{oname}-gir %{api}
10
11 %define url_ver %(echo %{version}|cut -d. -f1,2)
12
13 Summary: Package containing code shared among gnome-panel, gnome-session, nautilus, etc
14 Name: %{oname}3
15 Version: 3.3.2
16 Release: %mkrel 1
17 License: GPLv2+ and LGPLv2+
18 Group: Graphical desktop/GNOME
19 Source0: http://download.gnome.org/sources/%{oname}/%{url_ver}/%{oname}-%{version}.tar.xz
20 URL: http://www.gnome.org
21 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.21.3
22 BuildRequires: pkgconfig(gio-2.0) >= 2.19.1
23 BuildRequires: pkgconfig(glib-2.0) >= 2.19.1
24 BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 0.1.4
25 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
26 BuildRequires: pkgconfig(x11)
27 BuildRequires: pkgconfig(xext) >= 1.2
28 BuildRequires: pkgconfig(xrandr) >= 1.2
29 BuildRequires: gtk-doc
30 BuildRequires: scrollkeeper
31 BuildRequires: gobject-introspection-devel >= 0.9.7
32 BuildRequires: gnome-doc-utils >= 0.3.2
33 BuildRequires: intltool >= 0.40.0
34 BuildRequires: ldetect-lst
35 Requires: ldetect-lst >= 0.1.282
36 Obsoletes: %{name}-common < 2.91.92
37 Conflicts: gnome-desktop-common < 2.32.1-2
38
39 %description
40 This package contains some data files and other shared components of the
41 GNOME user environment.
42
43 %package -n %{libname}
44 Summary: %{summary}
45 Group: System/Libraries
46 Requires: %{name} >= %{version}-%{release}
47 Provides: %{_lib}%{oname}-3_2 = %{version}-%{release}
48 Obsoletes: %{_lib}%{oname}-3_2 < %{version}-%{release}
49
50 %description -n %{libname}
51 This package contains an internal library
52 (libgnomedesktop) used to implement some portions of the GNOME
53 desktop.
54
55 %package -n %{gi_libname}
56 Summary: GObject Introspection interface description for %{oname}
57 Group: System/Libraries
58 Requires: %{libname} = %{version}-%{release}
59
60 %description -n %{gi_libname}
61 GObject Introspection interface description for %{oname}.
62
63 %package -n %{libnamedev}
64 Summary: Static libraries, include files for %{oname}
65 Group: Development/GNOME and GTK+
66 Provides: %{name}-devel = %{version}-%{release}
67 Requires: %{libname} = %{version}
68 Requires: %{gi_libname} = %{version}
69
70 %description -n %{libnamedev}
71 Static libraries, include files for internal library libgnomedesktop.
72
73 %prep
74 %setup -qn %oname-%version
75
76 %build
77 %configure2_5x \
78 --with-gnome-distributor="%_vendor" \
79 --disable-scrollkeeper \
80 --with-pnp-ids-path=%{_datadir}/misc/pnp.ids
81 %make
82
83 %install
84 rm -rf $RPM_BUILD_ROOT *.lang
85
86 %makeinstall_std
87
88 %find_lang %{oname}-%api
89 for omf in %buildroot%_datadir/omf/*/{*-??.omf,*-??_??.omf,*-???.omf};do
90 echo "%lang($(basename $omf|sed -e s/.*-// -e s/.omf//)) $(echo $omf|sed -e s!%buildroot!!)" >> %oname-%api.lang
91 done
92
93 for d in `ls -1 %buildroot%_datadir/gnome/help/`; do
94 %find_lang $d --with-gnome
95 cat $d.lang >> %oname-%api.lang
96 done
97
98 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
99 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
100
101 %files -f %{oname}-%api.lang
102 %doc AUTHORS COPYING ChangeLog NEWS README
103 %{_datadir}/gnome/gnome-version.xml
104 %dir %{_datadir}/omf/*
105 %{_datadir}/omf/*/*-C.omf
106
107 %files -n %{libname}
108 %{_libdir}/libgnome-desktop-%{api_version}.so.%{lib_major}*
109
110 %files -n %{gi_libname}
111 %{_libdir}/girepository-1.0/GnomeDesktop-%{api}.typelib
112
113 %files -n %{libnamedev}
114 %{_includedir}/*
115 %{_libdir}/*.so
116 %{_libdir}/pkgconfig/*
117 %{_datadir}/gir-1.0/GnomeDesktop-%{api}.gir
118 %doc %_datadir/gtk-doc/html/*

  ViewVC Help
Powered by ViewVC 1.1.30