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