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

  ViewVC Help
Powered by ViewVC 1.1.30