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