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