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