]> git.pld-linux.org Git - packages/gdl.git/blob - gdl.spec
aa4919d160db26b08b0fd8867812b8f4913993eb
[packages/gdl.git] / gdl.spec
1 Summary:        Gnome Devtool Libraries
2 Name:           gdl
3 Version:        0.4.0
4 Release:        1
5 License:        GPL
6 Group:          Libraries
7 Source0:        http://ftp.gnome.org/pub/gnome/%{name}/0.4/%{name}-%{version}.tar.bz2
8 # Source0-md5:  eb4dfd9def266e4e5cd1e9883b5bdf2a
9 BuildRequires:  autoconf
10 BuildRequires:  automake
11 BuildRequires:  libbonoboui-devel >= 2.2.0
12 BuildRequires:  libglade2-devel >= 2.0.0
13 BuildRequires:  libgnomeui-devel >= 2.2.0
14 BuildRequires:  libtool
15 Requires(post): GConf2
16 Requires(post): /sbin/ldconfig
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 This package contains components and libraries that are intended to be
21 shared between GNOME development tools, including gnome-debug,
22 gnome-build, and anjuta2. The current pieces of GDL include: a symbol
23 browser bonobo component (symbol-browser-control), a docking widget (gdl),
24 a utility library that also contains the stubs and skels for the symbol
25 browser and text editor components (gdl, idl).
26
27 %package devel
28 Summary:        Header files for gdl development
29 Summary(pl):    Pliki nag³ówkowe do biblioteki gdl
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}
32
33 %description devel
34 This package contains the header files needed to develop programs that
35 use these gdl.
36
37 %description devel -l pl
38 Pakiet zawiera pliki nag³ówkowe niezbêdne do kompilowania programów
39 u¿ywaj±cych bibliotek gdl.
40
41 %package static
42 Summary:        Static libraries for gdl development
43 Summary(pl):    Statyczne biblioteki gdl
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}
46
47 %description static
48 This package contains the static gdl libraries.
49
50 %description static -l pl
51 Pakiet zawiera statyczne biblioteki gdl.
52
53 %prep
54 %setup -q
55
56 %build
57 glib-gettextize --copy --force
58 %{__libtoolize}
59 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
60 %{__autoconf}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %find_lang gdl-1 --with-gnome
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 /sbin/ldconfig
78 %gconf_schema_install
79
80 %postun -p /sbin/ldconfig
81
82 %files -f gdl-1.lang
83 %defattr(644,root,root,755)
84 %doc AUTHORS ChangeLog NEWS README
85 %attr(755,root,root) %{_bindir}/*
86 %{_libdir}/bonobo/servers/*
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
88 %{_datadir}/gdl
89 %{_datadir}/gnome-2.0/ui/*
90 %{_datadir}/idl/libgdl-1.0/*.idl
91
92 %files devel
93 %defattr(644,root,root,755)
94 %{_includedir}/libgdl-1.0
95 %{_libdir}/lib*.la
96 %attr(755,root,root) %{_libdir}/lib*.so
97 %{_pkgconfigdir}/*.pc
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/lib*.a
This page took 0.062192 seconds and 3 git commands to generate.