File: libmergeant.spec.in

package info (click to toggle)
mergeant 0.52-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 12,848 kB
  • ctags: 6,584
  • sloc: ansic: 63,372; xml: 23,218; sh: 8,316; makefile: 613; sql: 237
file content (97 lines) | stat: -rw-r--r-- 2,627 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Summary:         Library for writing gnome database programs
Name:            libmergeant
Version:         @VERSION@
Release:         1
Source:          %{name}-%{version}.tar.gz
URL:             http://www.gnome-db.org/
Group:           System Environment/Libraries
License:         LGPL
BuildRoot:       %{_tmppath}/%{name}-%{version}-root
BuildRequires:   pkgconfig >= 0.8
Requires:        libgnomeui >= 1.103.0
Requires:        libgda >= @VERSION@
Requires:        gtk2 >= 1.3.6
BuildRequires:   libgnomeui-devel >= 1.103.0
BuildRequires:   libgda-devel >= @VERSION@
BuildRequires:   gtk2-devel >= 1.3.6
BuildRequires:   libbonoboui-devel
BuildRequires:   libglade2-devel

%description
libmergeant is a library that eases the task of writing
gnome database programs by providing a framework representing the
structure of a database.

%package devel
Summary:         Development libraries and header files for libmergeant.
Group:           Development/Libraries
Requires:        %name = %{version}
Requires:        pkgconfig >= 0.8
Requires:        libgnomeui >= 1.103.0
Requires:        libgnomeui-devel >= 1.103.0
Requires:        libgda >= @VERSION@
Requires:        libgda-devel >= @VERSION@
Requires:        gtk2 >= 1.3.6
Requires:        gtk2-devel >= 1.3.6
Requires:        libglade2
Requires:        libglade2-devel

%description devel
This package contains the header files and libraries needed to write
or compile programs that use libmergeant.

%prep
%setup -q -n %{name}-%{version}

%build
%configure
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
%makeinstall

%find_lang libmergeant-2

%post
/sbin/ldconfig
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`

for SCHEMA in %{_sysconfdir}/gconf/schemas/libmergeant.schemas; do
/usr/bin/gconftool-2 --makefile-install-rule $SCHEMA > /dev/null 2>&1
done

%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot}

%files -f libmergeant-2.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README NEWS
%{_bindir}/*
%{_datadir}/control-center-2.0/capplets/*
%{_datadir}/mime-info/*
%{_datadir}/pixmaps/libmergeant
%{_libdir}/*.so.*
%{_libdir}/bonobo/monikers/*.so
%{_libdir}/bonobo/servers/*
%{_libdir}/gnome-vfs-2.0/modules/*.so
%{_libdir}/libglade/2.0/*.so
%{_libexecdir}/*
%config(noreplace) %{_sysconfdir}/gconf/schemas/*
%config(noreplace) %{_sysconfdir}/gnome-vfs-2.0/modules/*

%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/libmergeant
%{_includedir}/libmergeant
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*


%changelog
* Sun Feb 2 2003 Vivien Malerba <malerba@gnome-db.org>
- Initial spec file