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