]> git.pld-linux.org Git - packages/gnome-desktop.git/blob - gnome-desktop.spec
- BR: pkgconfig
[packages/gnome-desktop.git] / gnome-desktop.spec
1 # TODO:
2 # play with --with-kde-datadir
3 Summary:        The core programs for the GNOME2 GUI desktop environment
4 Summary(pl):    Podstawowe programy ¶rodowiska graficznego GNOME2
5 Name:           gnome-desktop
6 Version:        2.4.0
7 Release:        1
8 License:        LGPL
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.4/%{name}-%{version}.tar.bz2
11 # Source0-md5:  183c14d192bdd41bd34578e8e7dc55f1
12 #Patch0:                %{name}-locale-sr.patch
13 URL:            http://www.gnome.org/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  gnome-vfs2-devel >= 2.4.0
17 BuildRequires:  gtk+2-devel >= 2.2.4
18 BuildRequires:  libgnomeui-devel >= 2.4.0.1
19 BuildRequires:  libgnomecanvas-devel >= 2.4.0
20 BuildRequires:  libtool
21 BuildRequires:  pkgconfig
22 BuildRequires:  startup-notification-devel >= 0.5
23 Requires:       libgnomeui >= 2.4.0.1
24 Conflicts:      gnome-core
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 GNOME2 (GNU Network Object Model Environment) is a user-friendly set
29 of applications and desktop tools to be used in conjunction with a
30 window manager for the X Window System. GNOME2 is similar in purpose
31 and scope to CDE and KDE, but GNOME2 is based completely on free
32 software.
33
34 This package contains applications related to GNOME2 desktop.
35
36 %description -l pl
37 GNOME2 (GNU Network Object Model Environment) jest zestawem
38 przyjaznych dla u¿ytkownika programów i narzêdzi biurkowych, których
39 u¿ywa siê wraz z zarz±dc± okien systemu X Window. GNOME2 przypomina
40 wygl±dem i zakresem funkcjonalno¶ci CDE i KDE, jednak GNOME2 opiera
41 siê w ca³o¶ci na wolnym oprogramowaniu.
42
43 Ten pakiet zawiera aplikacje zwi±zane w desktopem GNOME2.
44
45 %package devel
46 Summary:        GNOME2 desktop includes
47 Summary(pl):    Pliki nag³ówkowe bibliotek GNOME2 desktop
48 Group:          X11/Development/Libraries
49 Requires:       %{name} = %{version}
50 Requires:       libgnomeui-devel >= 2.4.0.1
51 Requires:       startup-notification-devel >= 0.5
52
53 %description devel
54 GNOME2 desktop header files.
55
56 %description devel -l pl
57 Pliki nag³ówkowe bibliotek GNOME2 desktop.
58
59 %package static
60 Summary:        GNOME2 desktop static libraries
61 Summary(pl):    Statyczne biblioteki GNOME2 desktop
62 Group:          X11/Development/Libraries
63 Requires:       %{name} = %{version}
64
65 %description static
66 GNOME2 desktop static libraries.
67
68 %description static -l pl
69 Statyczne biblioteki GNOME2 desktop.
70
71 %prep
72 %setup -q
73 #%patch0 -p1
74
75 # sr_YU is latin2, sr_YU@cyrillic is cyrillic in glibc
76 #mv -f po/{sr.po,sr@cyrillic.po}
77 #mv -f po/{sr@Latn.po,sr.po}
78
79 %build
80 %{__libtoolize}
81 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
82 %{__autoconf}
83 %{__autoheader}
84 %{__automake}
85 %configure \
86         --with-gnome-distributor="PLD Linux Distribution"
87
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 %find_lang %{name} --with-gnome --all-name
97
98 %clean
99 rm -fr $RPM_BUILD_ROOT
100
101 %post   -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog NEWS README
107 %attr(755,root,root) %{_bindir}/*
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*
109 %doc %{_mandir}/man1/*
110 %{_datadir}/gnome/vfolders
111 %{_datadir}/gnome-about
112 %{_pixmapsdir}/*
113
114 %files devel
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/lib*.so
117 %{_libdir}/lib*.la
118 %{_includedir}/gnome-desktop-2.0
119 %{_pkgconfigdir}/*.pc
120
121 %files static
122 %defattr(644,root,root,755)
123 %{_libdir}/*.a
This page took 0.073854 seconds and 4 git commands to generate.