specs/SUNWgtk-doc.spec
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:11:50 +0100
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 20090 437564f99ab5
child 20169 269b1e9ef64e
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     1
%include default-depend.inc
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     2
%include Solaris.inc
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     3
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     4
%use gtkdoc = gtk-doc.spec
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     5
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     6
Name:                    SUNWgtk-doc
17937
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
     7
IPS_package_name:        developer/documentation-tool/gtk-doc
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
     8
Meta(info.classification): %{classification_prefix}:Desktop (GNOME)/Libraries
16735
f361f48c9616 Correct Summary line(doo9505)
davelam
parents: 16729
diff changeset
     9
Summary:                 GTK+ DocBook Documentation Generator
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    10
Version:                 %{default_pkg_version}
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    11
SUNW_BaseDir:            %{_basedir}
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    12
SUNW_Copyright:          %{name}.copyright
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    13
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    14
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15566
diff changeset
    15
Requires: SUNWPython26
20090
437564f99ab5 2010-09-20 Michal Pryc <[email protected]>
migi
parents: 18119
diff changeset
    16
Requires: SUNWgnome-xml-share
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    17
Requires: SUNWgnome-common-devel
15566
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
    18
BuildRequires: SUNWPython26-devel
18119
c453addab536 2010-06-11 Ghee Teo <[email protected]>
gheet
parents: 18099
diff changeset
    19
BuildRequires: SUNWgnome-xml-share
18099
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    20
BuildRequires: SUNWPython26
15566
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
    21
BuildRequires: SUNWgnome-doc-utils
18099
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    22
BuildRequires: SUNWdesktop-cache
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    23
Requires: SUNWlxml
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    24
Requires: SUNWlxml-python26
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    25
17206
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    26
%if %build_l10n
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    27
%package l10n
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    28
Summary:		 %{summary} - l10n files
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    29
SUNW_BaseDir:		 %{_basedir}
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    30
%include default-depend.inc
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    31
Requires:		 %{name}
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    32
%endif
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    33
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    34
%prep
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    35
rm -rf %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    36
mkdir %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    37
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    38
%gtkdoc.prep -d %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    39
cd %{_builddir}/%name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    40
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    41
%build
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    42
cd %{_builddir}
15470
98a89ca247d6 2009-03-23 Dave Lin <[email protected]>
davelam
parents: 15454
diff changeset
    43
export PYTHON="/usr/bin/python2.6"
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    44
export CXXFLAGS="%{cxx_optflags}"
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    45
export ACLOCAL_FLAGS="-I /usr/share/gnome-doc-utils -I./m4"
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    46
%gtkdoc.build -d %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    47
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    48
%install
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    49
rm -rf $RPM_BUILD_ROOT
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    50
%gtkdoc.install -d %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    51
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    52
# Normally we build this package before we build scrollkeeper, but
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    53
# remove any scrollkeeper files if user happens to rebuild this
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    54
# package after scrollkeeper is already on the system.
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    55
#
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    56
rm -rf $RPM_BUILD_ROOT%{_prefix}/var
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    57
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    58
# Remove /usr/share/info/dir, it's a generated file and shared by multiple
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    59
# packages
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    60
rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    61
17206
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    62
%if %build_l10n
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    63
%else
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    64
# REMOVE l10n FILES
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    65
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/[a-z]*
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    66
rm -f $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    67
rm -f $RPM_BUILD_ROOT%{_datadir}/omf/*/*-??_??.omf
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    68
%endif
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    69
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    70
%clean
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    71
rm -rf $RPM_BUILD_ROOT
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    72
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    73
%files
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    74
%defattr (-, root, bin)
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    75
%dir %attr (0755, root, sys) %{_datadir}
16729
d21138e732df 2009-10-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15650
diff changeset
    76
%doc -d gtk-doc-%{gtkdoc.version} README MAINTAINERS
d21138e732df 2009-10-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15650
diff changeset
    77
%doc(bzip2) -d gtk-doc-%{gtkdoc.version} COPYING COPYING-DOCS NEWS ChangeLog
16736
6c815aa0eecf Fixed directory attribute issue.
davelam
parents: 16735
diff changeset
    78
%dir %attr (0755, root, other) %{_datadir}/doc
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    79
%dir %attr (0755, root, other) %{_datadir}/aclocal
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    80
%{_datadir}/aclocal/gtk-doc.m4
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    81
%dir %attr (0755, root, bin) %{_datadir}/omf
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    82
%{_datadir}/sgml/gtk-doc/gtk-doc.cat
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    83
%{_datadir}/gtk-doc/data/*
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    84
%{_datadir}/pkgconfig/gtk-doc.pc
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    85
%dir %attr (0755, root, other) %{_datadir}/gnome
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    86
%{_datadir}/gnome/help/gtk-doc-manual/C/fdl-appendix.xml
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    87
%{_bindir}/gtkdoc*
17265
be5230ba37fc 2010-01-03 Christian Kelly <[email protected]>
chrisk
parents: 17206
diff changeset
    88
%{_datadir}/omf/gtk-doc-manual/gtk-doc-manual-*.omf
be5230ba37fc 2010-01-03 Christian Kelly <[email protected]>
chrisk
parents: 17206
diff changeset
    89
%{_datadir}/gnome/help/gtk-doc-manual/*/gtk-doc-manual.xml
be5230ba37fc 2010-01-03 Christian Kelly <[email protected]>
chrisk
parents: 17206
diff changeset
    90
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    91
17206
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    92
%if %build_l10n
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    93
%files l10n
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    94
%defattr (-, root, bin)
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    95
%dir %attr (0755, root, sys) %{_datadir}
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    96
%endif
c9355ec42045 2009-12-18 Brian Cameron <[email protected]>
yippi
parents: 16736
diff changeset
    97
15454
f990875a88a0 fix a typo
davelam
parents: 15449
diff changeset
    98
%changelog
18099
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    99
* Tue Jun 08 2010 - [email protected]
6142061e510a 2010-06-08 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
   100
- Updated BuildRequires to fit SourceJuicer.
16735
f361f48c9616 Correct Summary line(doo9505)
davelam
parents: 16729
diff changeset
   101
* Tue Oct 13 2009 - [email protected]
f361f48c9616 Correct Summary line(doo9505)
davelam
parents: 16729
diff changeset
   102
- Correct Summary line(doo9505).
15470
98a89ca247d6 2009-03-23 Dave Lin <[email protected]>
davelam
parents: 15454
diff changeset
   103
* Mon Mar 23 2009 - [email protected]
15566
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
   104
* Add 'BuildRequires: SUNWgnome-doc-utils'.
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
   105
* Mon Mar 23 2009 - [email protected]
15470
98a89ca247d6 2009-03-23 Dave Lin <[email protected]>
davelam
parents: 15454
diff changeset
   106
- Change BuildRequires to SUNWPython26-devel.
15449
337e23838d49 Add BuildRequires: SUNWPython-devel
davelam
parents: 14861
diff changeset
   107
* Thu Mar 19 2009 - [email protected]
337e23838d49 Add BuildRequires: SUNWPython-devel
davelam
parents: 14861
diff changeset
   108
- Add BuildRequires: SUNWPython-devel
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15566
diff changeset
   109