]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- added shutdown patch
[packages/GConf2.git] / GConf2.spec
1 Summary:        GNOME2 configuration database system
2 Summary(pl):    System konfiguracyjnej bazy danych dla GNOME 2
3 Summary(pt_BR): Sistema de Configuração do GNOME 2
4 Summary(ru):    óÉÓÔÅÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ GNOME 2
5 Name:           GConf2
6 Version:        2.10.0
7 Release:        4
8 License:        LGPL
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/gnome/sources/GConf/2.10/GConf-%{version}.tar.bz2
11 # Source0-md5:  a7cd37be4e317195a6668a086fc72033
12 Patch0:         %{name}-NO_MAJOR_VERSION.patch
13 Patch1:         %{name}-path.patch
14 Patch2:         %{name}-shutdown.patch
15 URL:            http://www.gnome.org/
16 BuildRequires:  ORBit2-devel >= 1:2.12.1
17 BuildRequires:  autoconf
18 BuildRequires:  automake >= 1:1.7
19 BuildRequires:  gettext-devel
20 BuildRequires:  gtk+2-devel >= 2:2.6.4
21 BuildRequires:  gtk-doc >= 1.3
22 BuildRequires:  libtool
23 BuildRequires:  libxml2-devel >= 1:2.6.19
24 BuildRequires:  perl-base
25 BuildRequires:  pkgconfig
26 BuildRequires:  popt-devel
27 BuildRequires:  rpmbuild(macros) >= 1.197
28 Obsoletes:      libGConf2
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 GConf2 is a configuration database system, functionally similar to the
33 Windows registry but lots better. :-) It's being written for the
34 GNOME2 desktop but does not require GNOME2; configure should notice if
35 GNOME2 is not installed and compile the basic GConf2 library anyway.
36
37 %description -l pl
38 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
39 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
40 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
41 wykryæ brak GNOME2 i skompilowaæ tylko wersjê podstawow± GConf2.
42
43 %description -l pt_BR
44 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
45
46 %package devel
47 Summary:        GConf2 includes, etc
48 Summary(pl):    Pliki nag³ówkowe GConf2
49 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
50 Group:          X11/Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Requires:       ORBit2-devel >= 1:2.12.1
53 Requires:       gtk-doc-common
54 Requires:       libxml2-devel >= 1:2.6.19
55 Obsoletes:      libGConf2-devel
56
57 %description devel
58 GConf2 includes etc.
59
60 %description devel -l pl
61 Pliki nag³ówkowe GConf2.
62
63 %description devel -l pt_BR
64 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
65
66 %package static
67 Summary:        GConf2 static libraries
68 Summary(pl):    Biblioteki statyczne GConf2
69 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
70 Group:          X11/Development/Libraries
71 Requires:       %{name}-devel = %{version}-%{release}
72
73 %description static
74 GConf2 static libraries.
75
76 %description static -l pl
77 Biblioteki statyczne GConf2.
78
79 %description static -l pt_BR
80 Bibliotecas estáticas para desenvolvimento com gconf
81
82 %prep
83 %setup -q -n GConf-%{version}
84 %patch0 -p1
85 %patch1 -p1
86 %patch2 -p1
87
88 %build
89 rm -f acinclude.m4
90 %{__glib_gettextize}
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoheader}
94 %{__autoconf}
95 %{__automake}
96 %configure \
97         --with-html-dir=%{_gtkdocdir} \
98 %ifarch ppc
99         --disable-gtk-doc
100 %else
101         --enable-gtk-doc
102 %endif
103
104 %{__make}
105
106 %install
107 rm -rf $RPM_BUILD_ROOT
108 install -d $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas
109
110 %{__make} install \
111         DESTDIR=$RPM_BUILD_ROOT
112
113 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
114
115 %find_lang %{name}
116
117 # no *.{la,a} for modules - shut up check-files
118 rm -f $RPM_BUILD_ROOT%{_libdir}/GConf2/lib*.{la,a}
119
120 %clean
121 rm -rf $RPM_BUILD_ROOT
122
123 %post   -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
125
126 %files -f %{name}.lang
127 %defattr(644,root,root,755)
128 %doc AUTHORS NEWS README
129 %attr(755,root,root) %{_bindir}/gconf*
130 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
131 %attr(755,root,root) %{_libdir}/gconfd-2
132 %attr(755,root,root) %{_libdir}/lib*.so.*.*
133 %dir %{_libdir}/GConf2
134 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
135 %{_sysconfdir}/gconf
136 %{_datadir}/sgml/gconf
137 %{_mandir}/man1/*
138
139 %files devel
140 %defattr(644,root,root,755)
141 %doc ChangeLog TODO
142 %attr(755,root,root) %{_libdir}/lib*.so
143 %{_libdir}/lib*.la
144 %{_includedir}/gconf2
145 %{_aclocaldir}/*.m4
146 %{_pkgconfigdir}/*.pc
147 %{_gtkdocdir}/gconf
148
149 %files static
150 %defattr(644,root,root,755)
151 %{_libdir}/lib*.a
This page took 0.299407 seconds and 3 git commands to generate.