SUNWgtk-doc.spec
author davelam
Tue, 13 Oct 2009 12:57:55 +0000
changeset 16736 6c815aa0eecf
parent 16735 f361f48c9616
child 17206 c9355ec42045
permissions -rw-r--r--
Fixed directory attribute issue.
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
16735
f361f48c9616 Correct Summary line(doo9505)
davelam
parents: 16729
diff changeset
     7
Summary:                 GTK+ DocBook Documentation Generator
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     8
Version:                 %{default_pkg_version}
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
     9
SUNW_BaseDir:            %{_basedir}
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    10
SUNW_Copyright:          %{name}.copyright
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    11
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    12
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15566
diff changeset
    13
Requires: SUNWPython26
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    14
Requires: SUNWgnome-xml-root
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    15
Requires: SUNWgnome-common-devel
15566
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
    16
BuildRequires: SUNWPython26-devel
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
    17
BuildRequires: SUNWgnome-doc-utils
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    18
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    19
%prep
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    20
rm -rf %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    21
mkdir %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    22
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    23
%gtkdoc.prep -d %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    24
cd %{_builddir}/%name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    25
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    26
%build
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    27
cd %{_builddir}
15470
98a89ca247d6 2009-03-23 Dave Lin <[email protected]>
davelam
parents: 15454
diff changeset
    28
export PYTHON="/usr/bin/python2.6"
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    29
export CXXFLAGS="%{cxx_optflags}"
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    30
export ACLOCAL_FLAGS="-I /usr/share/gnome-doc-utils -I./m4"
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    31
%gtkdoc.build -d %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    32
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    33
%install
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    34
rm -rf $RPM_BUILD_ROOT
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    35
%gtkdoc.install -d %name-%version
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    36
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    37
# Normally we build this package before we build scrollkeeper, but
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    38
# remove any scrollkeeper files if user happens to rebuild this
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    39
# package after scrollkeeper is already on the system.
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
rm -rf $RPM_BUILD_ROOT%{_prefix}/var
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    42
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    43
# 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
    44
# packages
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    45
rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    46
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    47
%clean
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    48
rm -rf $RPM_BUILD_ROOT
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    49
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    50
%files
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    51
%defattr (-, root, bin)
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    52
%dir %attr (0755, root, sys) %{_datadir}
16729
d21138e732df 2009-10-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15650
diff changeset
    53
%doc -d gtk-doc-%{gtkdoc.version} README MAINTAINERS
d21138e732df 2009-10-13 Laszlo (Laca) Peter <[email protected]>
laca
parents: 15650
diff changeset
    54
%doc(bzip2) -d gtk-doc-%{gtkdoc.version} COPYING COPYING-DOCS NEWS ChangeLog
16736
6c815aa0eecf Fixed directory attribute issue.
davelam
parents: 16735
diff changeset
    55
%dir %attr (0755, root, other) %{_datadir}/doc
14861
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    56
%dir %attr (0755, root, other) %{_datadir}/aclocal
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    57
%{_datadir}/aclocal/gtk-doc.m4
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    58
%dir %attr (0755, root, bin) %{_datadir}/omf
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    59
%{_datadir}/omf/gtk-doc-manual/gtk-doc-manual-C.omf
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    60
%{_datadir}/sgml/gtk-doc/gtk-doc.cat
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    61
%{_datadir}/gtk-doc/data/*
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    62
%{_datadir}/pkgconfig/gtk-doc.pc
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    63
%dir %attr (0755, root, other) %{_datadir}/gnome
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    64
%{_datadir}/gnome/help/gtk-doc-manual/C/gtk-doc-manual.xml
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    65
%{_datadir}/gnome/help/gtk-doc-manual/C/fdl-appendix.xml
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    66
%{_bindir}/gtkdoc*
57b245a0dbaf 2009-01-07 Christian Kelly <[email protected]>
chrisk
parents:
diff changeset
    67
15454
f990875a88a0 fix a typo
davelam
parents: 15449
diff changeset
    68
%changelog
16735
f361f48c9616 Correct Summary line(doo9505)
davelam
parents: 16729
diff changeset
    69
* Tue Oct 13 2009 - [email protected]
f361f48c9616 Correct Summary line(doo9505)
davelam
parents: 16729
diff changeset
    70
- Correct Summary line(doo9505).
15470
98a89ca247d6 2009-03-23 Dave Lin <[email protected]>
davelam
parents: 15454
diff changeset
    71
* Mon Mar 23 2009 - [email protected]
15566
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
    72
* Add 'BuildRequires: SUNWgnome-doc-utils'.
707790051e28 Add 'BuildRequires: SUNWgnome-doc-utils'.
davelam
parents: 15470
diff changeset
    73
* Mon Mar 23 2009 - [email protected]
15470
98a89ca247d6 2009-03-23 Dave Lin <[email protected]>
davelam
parents: 15454
diff changeset
    74
- Change BuildRequires to SUNWPython26-devel.
15449
337e23838d49 Add BuildRequires: SUNWPython-devel
davelam
parents: 14861
diff changeset
    75
* Thu Mar 19 2009 - [email protected]
337e23838d49 Add BuildRequires: SUNWPython-devel
davelam
parents: 14861
diff changeset
    76
- Add BuildRequires: SUNWPython-devel
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 15566
diff changeset
    77