]>
Commit | Line | Data |
---|---|---|
1 | Summary: gnome-desktop library | |
2 | Summary(pl.UTF-8): Biblioteka gnome-desktop | |
3 | Name: gnome-desktop | |
4 | Version: 3.6.0.1 | |
5 | Release: 1 | |
6 | License: LGPL | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/3.6/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 48e8c2e0c86553f1b7e6088ab8c292c1 | |
10 | URL: http://www.gnome.org/ | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake >= 1:1.11 | |
13 | BuildRequires: docbook-dtd412-xml | |
14 | BuildRequires: gdk-pixbuf2-devel >= 2.22.0 | |
15 | BuildRequires: gettext-devel | |
16 | BuildRequires: glib2-devel >= 1:2.33.3 | |
17 | BuildRequires: gnome-common >= 2.24.0 | |
18 | BuildRequires: gnome-doc-utils >= 0.14.0 | |
19 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
20 | BuildRequires: gsettings-desktop-schemas-devel >= 3.5.91 | |
21 | BuildRequires: gtk+3-devel >= 3.4.0 | |
22 | BuildRequires: gtk-doc >= 1.8 | |
23 | BuildRequires: intltool >= 0.40.6 | |
24 | BuildRequires: libtool >= 2:2.2.6 | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
27 | BuildRequires: rpmbuild(macros) >= 1.311 | |
28 | BuildRequires: tar >= 1:1.22 | |
29 | BuildRequires: xorg-lib-libXext-devel | |
30 | BuildRequires: xorg-lib-libXrandr-devel >= 1.3 | |
31 | BuildRequires: xorg-lib-libxkbfile-devel | |
32 | BuildRequires: xz | |
33 | Requires(post,postun): scrollkeeper | |
34 | Requires: gsettings-desktop-schemas >= 3.5.91 | |
35 | Requires: gtk+3 >= 3.4.0 | |
36 | Obsoletes: gnome-desktop-libs | |
37 | Obsoletes: gnome-desktop3 | |
38 | Obsoletes: gnome-desktop3-libs | |
39 | # sr@Latn vs. sr@latin | |
40 | Conflicts: glibc-misc < 6:2.7 | |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
42 | ||
43 | %description | |
44 | GNOME (GNU Network Object Model Environment) is a user-friendly set of | |
45 | applications and desktop tools to be used in conjunction with a window | |
46 | manager for the X Window System. GNOME is similar in purpose and scope | |
47 | to CDE and KDE, but GNOME is based completely on free software. | |
48 | ||
49 | This package contains gnome-desktop library. | |
50 | ||
51 | %description -l pl.UTF-8 | |
52 | GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych | |
53 | dla użytkownika programów i narzędzi biurkowych, których używa się | |
54 | wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i | |
55 | zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości | |
56 | na wolnym oprogramowaniu. | |
57 | ||
58 | Pakiet ten zawiera bibliotekę gnome-desktop. | |
59 | ||
60 | %package devel | |
61 | Summary: GNOME desktop includes | |
62 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GNOME desktop | |
63 | Group: X11/Development/Libraries | |
64 | Requires: %{name} = %{version}-%{release} | |
65 | Requires: gsettings-desktop-schemas-devel >= 3.5.91 | |
66 | Requires: gtk+3-devel >= 3.4.0 | |
67 | Obsoletes: gnome-desktop3-devel | |
68 | ||
69 | %description devel | |
70 | GNOME desktop header files. | |
71 | ||
72 | %description devel -l pl.UTF-8 | |
73 | Pliki nagłówkowe biblioteki GNOME desktop. | |
74 | ||
75 | %package apidocs | |
76 | Summary: gnome-desktop API documentation | |
77 | Summary(pl.UTF-8): Dokumentacja API gnome-desktop | |
78 | Group: Documentation | |
79 | Requires: gtk-doc-common | |
80 | Obsoletes: gnome-desktop3-apidocs | |
81 | ||
82 | %description apidocs | |
83 | gnome-desktop API documentation. | |
84 | ||
85 | %description apidocs -l pl.UTF-8 | |
86 | Dokumentacja API gnome-desktop. | |
87 | ||
88 | %prep | |
89 | %setup -q | |
90 | ||
91 | %build | |
92 | %{__gtkdocize} | |
93 | %{__intltoolize} | |
94 | %{__gnome_doc_prepare} | |
95 | %{__gnome_doc_common} | |
96 | %{__intltoolize} | |
97 | %{__libtoolize} | |
98 | %{__aclocal} -I m4 | |
99 | %{__autoconf} | |
100 | %{__autoheader} | |
101 | %{__automake} | |
102 | %configure \ | |
103 | --with-gnome-distributor="PLD Linux Distribution" \ | |
104 | --enable-gtk-doc \ | |
105 | --with-html-dir=%{_gtkdocdir} \ | |
106 | --disable-silent-rules | |
107 | %{__make} | |
108 | ||
109 | %install | |
110 | rm -rf $RPM_BUILD_ROOT | |
111 | ||
112 | %{__make} install \ | |
113 | DESTDIR=$RPM_BUILD_ROOT | |
114 | ||
115 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
116 | ||
117 | %find_lang %{name} --with-gnome --with-omf --all-name | |
118 | ||
119 | %clean | |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
122 | %post | |
123 | /sbin/ldconfig | |
124 | %scrollkeeper_update_post | |
125 | ||
126 | %postun | |
127 | /sbin/ldconfig | |
128 | %scrollkeeper_update_postun | |
129 | ||
130 | %files -f %{name}.lang | |
131 | %defattr(644,root,root,755) | |
132 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
133 | %attr(755,root,root) %{_libdir}/libgnome-desktop-3.so.*.*.* | |
134 | %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-3.so.4 | |
135 | %attr(755,root,root) %{_libdir}/gnome-rr-debug | |
136 | %{_datadir}/gnome/gnome-version.xml | |
137 | %{_datadir}/libgnome-desktop-3.0 | |
138 | %{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib | |
139 | ||
140 | %files devel | |
141 | %defattr(644,root,root,755) | |
142 | %attr(755,root,root) %{_libdir}/libgnome-desktop-3.so | |
143 | %{_includedir}/gnome-desktop-3.0 | |
144 | %{_pkgconfigdir}/gnome-desktop-3.0.pc | |
145 | %{_datadir}/gir-1.0/GnomeDesktop-3.0.gir | |
146 | ||
147 | %files apidocs | |
148 | %defattr(644,root,root,755) | |
149 | %{_gtkdocdir}/gnome-desktop3 |