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