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