]> git.pld-linux.org Git - packages/gnome-desktop2.git/blob - gnome-desktop2.spec
- updated gettext BR
[packages/gnome-desktop2.git] / gnome-desktop2.spec
1 Summary:        GNOME desktop library (from GNOME 2)
2 Summary(pl.UTF-8):      Biblioteka GNOME desktop (z GNOME 2)
3 Name:           gnome-desktop2
4 Version:        2.32.1
5 Release:        1
6 License:        LGPL v2+
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gnome-desktop/2.32/gnome-desktop-%{version}.tar.bz2
9 # Source0-md5:  5c80d628a240eb9d9ff78913b31f2f67
10 URL:            http://www.gnome.org/
11 BuildRequires:  GConf2-devel >= 2.26.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  gettext-tools
16 BuildRequires:  glib2-devel >= 1:2.20.0
17 BuildRequires:  gnome-common >= 2.24.0
18 BuildRequires:  gnome-doc-utils >= 0.14.0
19 BuildRequires:  gtk+2-devel >= 2:2.18.0
20 BuildRequires:  gtk-doc >= 1.8
21 BuildRequires:  intltool >= 0.40.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-pythonprov
25 BuildRequires:  scrollkeeper
26 BuildRequires:  startup-notification-devel >= 0.8
27 BuildRequires:  xorg-lib-libXrandr-devel >= 1.2
28 Conflicts:      gnome-desktop-libs < 2.32.1-2
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 GNOME (GNU Network Object Model Environment) is a user-friendly set of
33 applications and desktop tools to be used in conjunction with a window
34 manager for the X Window System. GNOME is similar in purpose and scope
35 to CDE and KDE, but GNOME is based completely on free software.
36
37 This package contains GNOME desktop library from GNOME 2.
38
39 %description -l pl.UTF-8
40 GNOME (GNU Network Object Model Environment) jest zestawem przyjaznych
41 dla użytkownika programów i narzędzi biurkowych, których używa się
42 wraz z zarządcą okien systemu X Window. GNOME przypomina wyglądem i
43 zakresem funkcjonalności CDE i KDE, jednak GNOME opiera się w całości
44 na wolnym oprogramowaniu.
45
46 Ten pakiet zawiera biblitekę GNOME desktop z GNOME 2.
47
48 %package devel
49 Summary:        GNOME desktop includes (from GNOME 2)
50 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki GNOME desktop (z GNOME 2)
51 Group:          X11/Development/Libraries
52 Requires:       %{name} = %{version}-%{release}
53 Requires:       gtk+2-devel >= 2:2.18.0
54 Requires:       startup-notification-devel >= 0.8
55 Conflicts:      gnome-desktop-devel < 2.32.1-2
56
57 %description devel
58 GNOME desktop header files.
59
60 %description devel -l pl.UTF-8
61 Pliki nagłówkowe biblioteki GNOME desktop.
62
63 %prep
64 %setup -q -n gnome-desktop-%{version}
65
66 %build
67 %{__gtkdocize}
68 %{__intltoolize}
69 %{__gnome_doc_prepare}
70 %{__gnome_doc_common}
71 %{__intltoolize}
72 %{__libtoolize}
73 %{__aclocal} -I m4
74 %{__autoconf}
75 %{__autoheader}
76 %{__automake}
77 %configure \
78         --disable-gtk-doc \
79         --disable-silent-rules \
80         --disable-static
81 %{__make}
82
83 %install
84 rm -rf $RPM_BUILD_ROOT
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 # we need only library
90 %{__rm} $RPM_BUILD_ROOT%{_bindir}/*
91 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
92 %{__rm} -r $RPM_BUILD_ROOT%{_desktopdir}
93 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/{gtk-doc,gnome-about,gnome,omf,libgnome-desktop}
94 %{__rm} -r $RPM_BUILD_ROOT%{_pixmapsdir}
95 %{__rm} -r $RPM_BUILD_ROOT%{_mandir}
96
97 %find_lang gnome-desktop-2.0
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %files -f gnome-desktop-2.0.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog MAINTAINERS NEWS README
108 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libgnome-desktop-2.so.17
110
111 %files devel
112 %defattr(644,root,root,755)
113 %attr(755,root,root) %{_libdir}/libgnome-desktop-2.so
114 %{_includedir}/gnome-desktop-2.0
115 %{_pkgconfigdir}/gnome-desktop-2.0.pc
This page took 0.461932 seconds and 3 git commands to generate.