MozillaFirefox-branding-openSUSE.spec
changeset 11 ce8283942662
parent 10 78c0172dda6c
child 13 2d7e99a5fcfd
equal deleted inserted replaced
10:78c0172dda6c 11:ce8283942662
    14 # published by the Open Source Initiative.
    14 # published by the Open Source Initiative.
    15 
    15 
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    17 #
    17 #
    18 
    18 
    19 # norootforbuild
       
    20 
    19 
    21 BuildRequires:  MozillaFirefox bc unzip zip
    20 BuildRequires:  bc
    22 BuildRequires:  bc unzip zip
    21 BuildRequires:  unzip
       
    22 BuildRequires:  zip
       
    23 
    23 Name:           MozillaFirefox-branding-openSUSE
    24 Name:           MozillaFirefox-branding-openSUSE
    24 License:        BSD3c(or similar) ; GPLv2+
       
    25 Version:        5.0
    25 Version:        5.0
    26 Release:        3
    26 Release:        3
       
    27 License:        BSD3c(or similar) ; GPLv2+
    27 Summary:        openSUSE branding of MozillaFirefox
    28 Summary:        openSUSE branding of MozillaFirefox
    28 Group:          Productivity/Networking/Web/Browsers
    29 Group:          Productivity/Networking/Web/Browsers
    29 Source:         susefox-20111020.tar.bz2
    30 Source:         susefox-20111020.tar.bz2
    30 Source1:        search-addons.tar.bz2
    31 Source1:        search-addons.tar.bz2
    31 Source2:        bookmarks.html.suse
    32 Source2:        bookmarks.html.suse
    32 Source3:        firefox-suse-default-prefs.js
    33 Source3:        firefox-suse-default-prefs.js
    33 Source4:        firefox.schemas
    34 Source4:        firefox.schemas
    34 Source5:        distribution.ini.in
    35 Source5:        distribution.ini.in
    35 Source6:        %{name}-COPYING
    36 Source6:        %{name}-COPYING
    36 Source7:        all-openSUSE.js
    37 Source7:        all-openSUSE.js
       
    38 PreReq:         MozillaFirefox >= 4.99
       
    39 Supplements:    packageand(MozillaFirefox:branding-openSUSE)
    37 Provides:       MozillaFirefox-branding = %{version}
    40 Provides:       MozillaFirefox-branding = %{version}
    38 PreReq:         MozillaFirefox >= 4.99
       
    39 Conflicts:      otherproviders(MozillaFirefox-branding)
    41 Conflicts:      otherproviders(MozillaFirefox-branding)
    40 Supplements:    packageand(MozillaFirefox:branding-openSUSE)
       
    41 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    42 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    42 %define progdir %{_prefix}/%_lib/firefox
    43 %define progdir %{_libdir}/firefox
    43 %define libgssapi libgssapi_krb5.so.2
    44 %define libgssapi libgssapi_krb5.so.2
    44 %define suseversion %(echo -e "scale=1\\n%{suse_version}/100" | bc 2>/dev/null)
    45 %define suseversion %(echo -e "scale=1\\n%{suse_version}/100" | bc 2>/dev/null)
    45 # HINT: default homepage is a property now included in susefox
    46 # HINT: default homepage is a property now included in susefox
    46 #%define gconf_confdir %{_sysconfdir}/gconf
    47 #%define gconf_confdir %{_sysconfdir}/gconf
    47 #%gconf_schemas_prereq
    48 #%gconf_schemas_prereq
    48 
    49 
    49 %description
    50 %description
    50 This package provides openSUSE Look and Feel for MozillaFirefox.
    51 This package provides openSUSE Look and Feel for MozillaFirefox.
    51 
       
    52 
    52 
    53 %prep
    53 %prep
    54 cp -a %{SOURCE6} COPYING
    54 cp -a %{SOURCE6} COPYING
    55 %setup -n susefox -q
    55 %setup -n susefox -q
    56 mv COPYING COPYING.susefox
    56 mv COPYING COPYING.susefox
    98 #%preun -f %{name}.schemas_preun
    98 #%preun -f %{name}.schemas_preun
    99 
    99 
   100 #%posttrans -f %{name}.schemas_posttrans
   100 #%posttrans -f %{name}.schemas_posttrans
   101 
   101 
   102 #%files -f %{name}.schemas_list
   102 #%files -f %{name}.schemas_list
       
   103 
   103 %files
   104 %files
   104 %defattr(-,root,root)
   105 %defattr(-,root,root)
   105 %doc COPYING.susefox
   106 %doc COPYING.susefox
   106 %doc ../COPYING
   107 %doc ../COPYING
   107 %dir %{progdir}/defaults/pref
   108 %dir %{progdir}/defaults/pref