]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
48fa18ee82f48e5fdcec3b1f2d353ba46240b8dc
[packages/GConf2.git] / GConf2.spec
1 Summary:        GNOME2 configuration database system
2 Summary(pl):    System konfiguracyjnej bazy danych dla GNOME2
3 Summary(pt_BR): Sistema de Configuração do GNOME2
4 Name:           GConf2
5 Version:        1.2.1
6 Release:        8.1
7 License:        LGPL
8 Group:          X11/Applications
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/GConf/1.2/GConf-%{version}.tar.bz2
10 Patch0:         %{name}-NO_MAJOR_VERSION.patch
11 Patch1:         %{name}-am.patch
12 Patch2:         %{name}-path.patch
13 Patch3:         %{name}-unlock-dialog.patch
14 URL:            http://www.gnome.org/
15 BuildRequires:  ORBit2-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  bonobo-activation-devel >= 1.0.3
19 BuildRequires:  gettext-devel
20 BuildRequires:  gtk+2-devel >= 2.0.6
21 BuildRequires:  glib2-devel >= 2.0.6
22 BuildRequires:  libtool
23 BuildRequires:  libxml2-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  popt-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Obsoletes:      libGConf2
28
29 %define         _sysconfdir     /etc/gconf
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 gnome 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}
52 Requires:       ORBit2-devel
53 Requires:       bonobo-activation-devel
54 Requires:       gtk-doc-common
55 Requires:       libxml2-devel
56 Obsoletes:      libGConf2-devel
57
58 %description devel
59 GConf2 includes etc.
60
61 %description devel -l pl
62 Pliki nag³ówkowe GConf2.
63
64 %description devel -l pt_BR
65 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
66
67 %package static
68 Summary:        GConf2 static libraries
69 Summary(pl):    Biblioteki statyczne GConf2
70 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
71 Group:          X11/Development/Libraries
72 Requires:       %{name}-devel = %{version}
73
74 %description static
75 GConf2 static libraries.
76
77 %description static -l pl
78 Biblioteki statyczne GConf2.
79
80 %description static -l pt_BR
81 Bibliotecas estáticas para desenvolvimento com gconf
82
83 %prep
84 %setup -q -n GConf-%{version}
85 %patch0 -p1
86 %patch1 -p1
87 %patch2 -p1
88 %patch3 -p1
89
90 %build
91 rm -f missing acinclude.m4
92 %{__libtoolize}
93 %{__aclocal}
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{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
109
110 %{__make} install \
111         DESTDIR=$RPM_BUILD_ROOT \
112         HTML_DIR=%{_gtkdocdir} 
113         
114 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
115
116 %find_lang %{name}
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %post   -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
123
124 %files -f %{name}.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS README
127 %attr(755,root,root) %{_bindir}/gconf*
128 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
129 %attr(755,root,root) %{_libdir}/gconfd-2
130 %attr(755,root,root) %{_libdir}/lib*.so.*.*
131 %dir %{_libdir}/GConf2
132 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
133 %{_sysconfdir}/gconf
134
135 %files devel
136 %defattr(644,root,root,755)
137 %doc ChangeLog TODO
138 %doc %{_gtkdocdir}/gconf
139 %attr(755,root,root) %{_libdir}/lib*.??
140 %{_libdir}/GConf2/lib*.la
141 %{_includedir}/gconf2
142 %{_aclocaldir}/*.m4
143 %{_pkgconfigdir}/*.pc
144
145 %files static
146 %defattr(644,root,root,755)
147 %{_libdir}/GConf2/lib*.a
148 %{_libdir}/lib*.a
This page took 0.079225 seconds and 3 git commands to generate.