]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- updated
[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.1.9
6 Release:        3
7 License:        LGPL
8 Group:          X11/Applications
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/pre-gnome2/sources/GConf/GConf-%{version}.tar.bz2
10 Patch0:         %{name}-NO_MAJOR_VERSION.patch
11 Patch1:         %{name}-am.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  ORBit2-devel
14 BuildRequires:  bonobo-activation-devel >= 0.9.5
15 #BuildRequires: db3-devel
16 BuildRequires:  gtk+2-devel >= 2.0.1
17 BuildRequires:  glib2-devel >= 2.0.1
18 BuildRequires:  libxml2-devel
19 BuildRequires:  pkgconfig
20 BuildRequires:  popt-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes:      libGConf2
23
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26 %define         _sysconfdir     /etc/X11/GNOME2
27
28 %description
29 GConf2 is a configuration database system, functionally similar to the
30 Windows registry but lots better. :-) It's being written for the
31 GNOME2 desktop but does not require GNOME2; configure should notice if
32 GNOME2 is not installed and compile the basic GConf2 library anyway.
33
34 %description -l pl
35 GConf2 jest systemem konfiguracyjnej bazy danych, funkcjonalnie
36 podobnej do rejestru Windows, ale o wiele lepszej :-). Jest pisana dla
37 desktopu GNOME2, ale nie wymaga GNOME2; skrypt configure powinien
38 wykryæ brak gnome i skompilowaæ tylko wersjê podstawow± GConf2.
39
40 %description -l pt_BR
41 Gconf2 é o sistema de banco de dados de configuração do GNOME2.
42
43 %package devel
44 Summary:        GConf2 includes, etc
45 Summary(pl):    Pliki nag³ówkowe GConf2
46 Summary(pt_BR): Sistema de Configuração do GNOME2 - arquivos para desenvolvimento
47 Group:          X11/Development/Libraries
48 Requires:       %{name} = %{version}
49 Requires:       ORBit2-devel
50 Requires:       bonobo-activation-devel
51 Requires:       libxml2-devel
52 Requires:       bonobo-activation-devel
53 Obsoletes:      libGConf2-devel
54
55 %description devel
56 GConf2 includes etc.
57
58 %description devel -l pl
59 Pliki nag³ówkowe GConf2.
60
61 %description devel -l pt_BR
62 Sistema de Configuração do GNOME2 - arquivos para desenvolvimento.
63
64 %package static
65 Summary:        GConf2 static libraries
66 Summary(pl):    Biblioteki statyczne GConf2
67 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com gconf2
68 Group:          X11/Development/Libraries
69 Requires:       %{name}-devel = %{version}
70
71 %description static
72 GConf2 static libraries.
73
74 %description static -l pl
75 Biblioteki statyczne GConf2.
76
77 %description static -l pt_BR
78 Bibliotecas estáticas para desenvolvimento com gconf
79
80 %prep
81 %setup -q -n GConf-%{version}
82 %patch0 -p1
83 %patch1 -p1
84
85 %build
86 rm -f missing acinclude.m4
87 libtoolize --copy --force
88 aclocal
89 autoconf
90 automake -a -c -f
91 %configure \
92         --enable-gtk-doc=no
93
94 %{__make}
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
99 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT \
103         pkgconfigdir=%{_pkgconfigdir}
104         
105 gzip -9nf AUTHORS ChangeLog TODO NEWS README
106
107 %find_lang %{name}
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files -f %{name}.lang
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_bindir}/gconfd-2
118 %attr(755,root,root) %{_bindir}/gconftool-2
119 %attr(755,root,root) %{_libdir}/lib*.so.*.*
120 %ghost %{_libdir}/libgconf-2.so.4
121 %dir %{_libdir}/GConf2
122 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
123 %{_sysconfdir}/gconf
124
125 %files devel
126 %defattr(644,root,root,755)
127 %doc *gz
128 %attr(755,root,root) %{_libdir}/lib*.??
129 %attr(755,root,root) %{_libdir}/GConf2/lib*.la
130 %{_includedir}/gconf2
131 %{_aclocaldir}/*.m4
132 %{_pkgconfigdir}/*.pc
133
134 %files static
135 %defattr(644,root,root,755)
136 %{_libdir}/GConf2/lib*.a
137 %{_libdir}/lib*.a
This page took 0.070875 seconds and 3 git commands to generate.