/[packages]/cauldron/devhelp/current/SPECS/devhelp.spec
ViewVC logotype

Contents of /cauldron/devhelp/current/SPECS/devhelp.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110472 - (show annotations) (download)
Mon Jun 20 13:54:30 2011 UTC (12 years, 9 months ago) by dmorgan
File size: 2649 byte(s)
Rebuild against new webkit
1 %define lib_major 0
2 %define api_version 3
3 %define libname %mklibname %{name} %{api_version} %{lib_major}
4 %define libnamedev %mklibname -d %{name}
5
6 Summary: API documentation browser for developers
7 Name: devhelp
8 Version: 3.0.0
9 Release: %mkrel 2
10 License: GPLv2+
11 Group: Development/Other
12 URL: http://live.gnome.org/devhelp
13 Source0: http://ftp.gnome.org/pub/GNOME/sources/devhelp/%{name}-%{version}.tar.bz2
14 BuildRequires: gtk+3-devel
15 BuildRequires: libGConf2-devel
16 BuildRequires: webkitgtk3-devel
17 BuildRequires: libunique3-devel
18 BuildRequires: intltool
19 BuildRequires: desktop-file-utils
20 BuildRequires: gnutls-devel
21 BuildRequires: libtasn1-devel
22
23 %description
24 Devhelp is an API documentation browser for GNOME 2. It works
25 natively with Gtk-doc (System used in GTK+ and GNOME for
26 documentating APIs) and it is possible to create books for other
27 documentation as well.
28
29 %package -n %{libname}
30 Summary: Dynamic libraries for devhelp
31 Group: System/Libraries
32 Requires: %{name} >= %{version}
33
34 %description -n %{libname}
35 this package contains dynamic libraries for devhelp.
36
37
38 %package -n %{libnamedev}
39 Summary: Static libraries, include files for devhelp
40 Group: Development/GNOME and GTK+
41 Provides: %{name}-devel = %{version}-%{release}
42 Provides: lib%{name}-%{api_version}-devel = %{version}-%{release}
43 Requires: %{libname} = %{version}-%{release}
44 Requires: %{name} = %{version}-%{release}
45 Obsoletes: %{_lib}devhelp-2-devel < %{version}
46
47 %description -n %{libnamedev}
48 Static library and headers file for devhelp.
49
50 %package -n %{name}-plugins
51 Summary: Gedit Plugins for Devhelp
52 Group: Editors
53 Requires: gedit
54
55 %description -n %{name}-plugins
56 Gedit plugins to use with Devhelp.
57
58 %prep
59 %setup -q
60
61 %build
62 %configure2_5x
63
64 %make
65
66 %install
67 rm -rf %{buildroot}
68
69 %makeinstall_std
70
71 # owns this dir
72 mkdir -p %{buildroot}%{_datadir}/%{name}/books
73
74 %find_lang %{name}
75
76 %clean
77 rm -rf %{buildroot}
78
79 %preun
80 %define schemas %name
81 %preun_uninstall_gconf_schemas %schemas
82
83 %files -f %{name}.lang
84 %defattr(-, root, root)
85 %doc AUTHORS COPYING ChangeLog NEWS README INSTALL
86 %_sysconfdir/gconf/schemas/devhelp.schemas
87 %{_bindir}/*
88 %{_datadir}/applications/*
89 %{_datadir}/devhelp
90 %{_datadir}/icons/hicolor/*
91
92 %files -n %{libname}
93 %defattr(-, root, root)
94 %{_libdir}/libdevhelp-%{api_version}.so.%{lib_major}*
95
96 %files -n %{libnamedev}
97 %defattr(-, root, root)
98 %{_libdir}/*.so
99 %{_libdir}/*a
100 %{_libdir}/pkgconfig/*
101 %{_includedir}/devhelp-%{api_version}.0
102
103 %files -n %{name}-plugins
104 %defattr(-, root, root)
105 %{_libdir}/gedit/plugins/*

  ViewVC Help
Powered by ViewVC 1.1.30