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