]> git.pld-linux.org Git - packages/GConf2.git/blob - GConf2.spec
- put conf files in /etc/%%{name} instead of /etc/%%{name}/%%{name}
[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.2.1
6 Release:        8.1
7 License:        LGPL
8 Group:          X11/Applications
9 Source0:        ftp://ftp.gnome.org/pub/GNOME/sources/GConf/1.2/GConf-%{version}.tar.bz2
10 Patch0:         %{name}-NO_MAJOR_VERSION.patch
11 Patch1:         %{name}-am.patch
12 Patch2:         %{name}-path.patch
13 Patch3:         %{name}-unlock-dialog.patch
14 URL:            http://www.gnome.org/
15 BuildRequires:  ORBit2-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  bonobo-activation-devel >= 1.0.3
19 BuildRequires:  gettext-devel
20 BuildRequires:  gtk+2-devel >= 2.0.6
21 BuildRequires:  glib2-devel >= 2.0.6
22 BuildRequires:  libtool
23 BuildRequires:  libxml2-devel
24 BuildRequires:  pkgconfig
25 BuildRequires:  popt-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Obsoletes:      libGConf2
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:       gtk-doc-common
53 Requires:       libxml2-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 %patch2 -p1
86 %patch3 -p1
87
88 %build
89 rm -f missing acinclude.m4
90 %{__libtoolize}
91 %{__aclocal}
92 %{__autoconf}
93 %{__automake}
94 %configure \
95         --with-html-dir=%{_gtkdocdir} \
96 %ifarch ppc
97         --disable-gtk-doc 
98 %else
99         --enable-gtk-doc 
100 %endif
101
102 %{__make}
103
104 %install
105 rm -rf $RPM_BUILD_ROOT
106 install -d $RPM_BUILD_ROOT{%{_aclocaldir},%{_sysconfdir}/gconf/schemas}
107
108 %{__make} install \
109         DESTDIR=$RPM_BUILD_ROOT \
110         HTML_DIR=%{_gtkdocdir} 
111         
112 install gconf.m4 $RPM_BUILD_ROOT%{_aclocaldir}/gconf-2.m4
113
114 %find_lang %{name}
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %post   -p /sbin/ldconfig
120 %postun -p /sbin/ldconfig
121
122 %files -f %{name}.lang
123 %defattr(644,root,root,755)
124 %doc AUTHORS README
125 %attr(755,root,root) %{_bindir}/gconf*
126 %attr(755,root,root) %{_libdir}/gconf-sanity-check-2
127 %attr(755,root,root) %{_libdir}/gconfd-2
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*
129 %dir %{_libdir}/GConf2
130 %attr(755,root,root) %{_libdir}/GConf2/lib*.so
131 %{_sysconfdir}/gconf
132
133 %files devel
134 %defattr(644,root,root,755)
135 %doc ChangeLog TODO
136 %doc %{_gtkdocdir}/gconf
137 %attr(755,root,root) %{_libdir}/lib*.??
138 %{_libdir}/GConf2/lib*.la
139 %{_includedir}/gconf2
140 %{_aclocaldir}/*.m4
141 %{_pkgconfigdir}/*.pc
142
143 %files static
144 %defattr(644,root,root,755)
145 %{_libdir}/GConf2/lib*.a
146 %{_libdir}/lib*.a
This page took 0.049069 seconds and 4 git commands to generate.