specs/SUNWdia.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 20393 843a1820a6a0
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     1
#
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     2
# spec file for package SUNWdia
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     3
#
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     4
# includes module(s): dia
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     5
#
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     8
# package are under the same license as the package itself.
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
     9
#
16907
c6ddec838f33 change owner to jerrytan
jerrytan
parents: 16434
diff changeset
    10
%define owner jerrytan
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    11
#
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    12
%include Solaris.inc
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    13
%use dia = dia.spec
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    14
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    15
Name:             SUNWdia
17937
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
    16
IPS_package_name: editor/diagram/dia
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
    17
Meta(info.classification): %{classification_prefix}:Applications/Graphics and Imaging
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    18
Summary:          Dia Diagram Editor
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    19
Source:           %{name}-manpages-0.1.tar.gz
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    20
Version:          %{dia.version}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    21
SUNW_BaseDir:     %{_basedir}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    22
SUNW_Copyright:   %{name}.copyright
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    23
BuildRoot:        %{_tmppath}/%{name}-%{version}-build
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    24
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    25
%include default-depend.inc
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 14627
diff changeset
    26
Requires: SUNWlibart
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 14627
diff changeset
    27
Requires: SUNWgtk2
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    28
Requires: SUNWgnome-libs
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    29
Requires: SUNWgccruntime
20090
437564f99ab5 2010-09-20 Michal Pryc <[email protected]>
migi
parents: 17937
diff changeset
    30
BuildRequires: SUNWlibgnome-keyring
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 14627
diff changeset
    31
BuildRequires: SUNWgtk2-devel
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    32
BuildRequires: SUNWgccruntime
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    33
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    34
%if %build_l10n
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    35
%package l10n
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    36
Summary:                 %{summary} - l10n files
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    37
SUNW_BaseDir:            %{_basedir}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    38
%include default-depend.inc
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    39
Requires:                %{name}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    40
%endif
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    41
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    42
%prep
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    43
rm -rf %name-%version
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    44
mkdir -p %name-%version
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    45
%dia.prep -d %name-%version
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    46
cd %{_builddir}/%name-%version
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    47
gzcat %SOURCE0 | tar xf -
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    48
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    49
%build
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    50
%dia.build -d %name-%version
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    51
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    52
%install
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    53
%dia.install -d %name-%version
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    54
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    55
rm -r $RPM_BUILD_ROOT%{_mandir}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    56
cd %{_builddir}/%name-%version/sun-manpages
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    57
make install DESTDIR=$RPM_BUILD_ROOT
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    58
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    59
%if %build_l10n
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    60
%else
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    61
# REMOVE l10n FILES
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    62
#FIXME: really need to fix this stuff up
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    63
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    64
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/dia/eu
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    65
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/dia/[a-d]*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    66
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/dia/[f-z]*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    67
%endif
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    68
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    69
%clean
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    70
rm -rf $RPM_BUILD_ROOT
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    71
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    72
%files
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    73
%defattr (-, root, bin)
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    74
%dir %attr (0755, root, bin) %{_bindir}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    75
%{_bindir}/*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    76
%dir %attr (0755, root, bin) %{_libdir}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    77
%{_libdir}/*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    78
%dir %attr (0755, root, sys) %{_datadir}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    79
%dir %attr (0755, root, other) %{_datadir}/applications
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
    80
%{_datadir}/applications/*
15726
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    81
%dir %attr (-, root, other) %{_datadir}/icons
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    82
%dir %attr (-, root, other) %{_datadir}/icons/hicolor
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    83
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    84
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    85
%{_datadir}/icons/hicolor/16x16/apps/dia.png
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    86
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    87
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    88
%{_datadir}/icons/hicolor/22x22/apps/dia.png
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    89
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    90
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    91
%{_datadir}/icons/hicolor/24x24/apps/dia.png
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    92
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    93
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    94
%{_datadir}/icons/hicolor/32x32/apps/dia.png
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    95
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    96
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    97
%{_datadir}/icons/hicolor/48x48/apps/dia.png
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    98
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
    99
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
   100
%{_datadir}/icons/hicolor/scalable/apps/dia.svg
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   101
%dir %attr (0755, root, other) %{_datadir}/gnome
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   102
%{_datadir}/gnome/help/dia/C
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   103
%{_datadir}/gnome/help/dia/en
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   104
%{_datadir}/man/*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   105
%dir %attr (0755, root, other) %{_datadir}/mime-info
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   106
%{_datadir}/mime-info/*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   107
%{_datadir}/omf/*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   108
%dir %attr (0755, root, other) %{_datadir}/dia
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   109
%{_datadir}/dia/*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   110
%doc -d dia-%{dia.version} AUTHORS README
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   111
%doc(bzip2) -d dia-%{dia.version} COPYING ChangeLog NEWS po/ChangeLog
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   112
%dir %attr (0755, root, other) %{_datadir}/doc
15726
f3aac22e943d * SUNWdia.spec : Bump to 0.97
mattman
parents: 15650
diff changeset
   113
%{_datadir}/doc/dia/*
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   114
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   115
%if %build_l10n
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   116
%files l10n
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   117
%defattr (-, root, bin)
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   118
%dir %attr (0755, root, sys) %{_datadir}
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   119
%attr (-, root, other) %{_datadir}/locale
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   120
%dir %attr (0755, root, other) %{_datadir}/gnome
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   121
%{_datadir}/gnome/help/dia/eu
14627
0f6022f0d5c7 2008-11-20 Dave Lin <[email protected]>
davelam
parents: 14566
diff changeset
   122
# Comment this line out since no [a-d]* locale at this point
0f6022f0d5c7 2008-11-20 Dave Lin <[email protected]>
davelam
parents: 14566
diff changeset
   123
#%{_datadir}/gnome/help/dia/[a-d]*
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   124
%{_datadir}/gnome/help/dia/[f-z]*
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   125
%endif
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   126
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   127
%changelog
17427
a486adb4f341 bump to 0.97.1
jerrytan
parents: 16907
diff changeset
   128
* Mon Jan 25 2010 - [email protected]
a486adb4f341 bump to 0.97.1
jerrytan
parents: 16907
diff changeset
   129
- bump to 0.97.1
14566
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   130
* Wed Oct 22 2008 - [email protected]
9fde3d7bd543 * SUNWdia.spec : New SUNW spec for Dia - Diagram Editor package
mattman
parents:
diff changeset
   131
- Created
15650
dbcf7e3715dd 2009-04-18 Dave Lin <[email protected]>
davelam
parents: 14627
diff changeset
   132