SUNWxdg-user-dirs.spec
changeset 15650 dbcf7e3715dd
parent 15642 966657a39cfd
child 16280 462de9e707f7
equal deleted inserted replaced
15649:241f195b9ae0 15650:dbcf7e3715dd
    25 Patch2:              xdg-user-dirs-02-g11n-launch-none-utf8.diff
    25 Patch2:              xdg-user-dirs-02-g11n-launch-none-utf8.diff
    26 SUNW_BaseDir:        %{_basedir}
    26 SUNW_BaseDir:        %{_basedir}
    27 SUNW_Copyright:      %{name}.copyright
    27 SUNW_Copyright:      %{name}.copyright
    28 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
    28 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
    29 %include default-depend.inc
    29 %include default-depend.inc
       
    30 Requires: SUNWglib2
    30 Requires: %name-root
    31 Requires: %name-root
    31 Requires: SUNWgnome-base-libs
       
    32 Requires: SUNWbash
    32 Requires: SUNWbash
    33 BuildRequires: SUNWgnome-base-libs-devel
    33 BuildRequires: SUNWglib2-devel
    34 BuildRequires: SUNWgnu-gettext
    34 BuildRequires: SUNWgnu-gettext
    35 
    35 
    36 %if %build_l10n
    36 %if %build_l10n
    37 %package l10n
    37 %package l10n
    38 Summary:             %{summary} - l10n files
    38 Summary:             %{summary} - l10n files
    43 
    43 
    44 %package root
    44 %package root
    45 Summary:             %{summary} - / filesystem
    45 Summary:             %{summary} - / filesystem
    46 SUNW_BaseDir:        /
    46 SUNW_BaseDir:        /
    47 %include default-depend.inc
    47 %include default-depend.inc
    48 
       
    49 
    48 
    50 %prep
    49 %prep
    51 %setup -c -q -n %{name}-%{version}
    50 %setup -c -q -n %{name}-%{version}
    52 cd xdg-user-dirs-%{version}
    51 cd xdg-user-dirs-%{version}
    53 %patch0 -p1
    52 %patch0 -p1
   131 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
   130 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
   132 %endif
   131 %endif
   133 
   132 
   134 %clean
   133 %clean
   135 rm -rf $RPM_BUILD_ROOT
   134 rm -rf $RPM_BUILD_ROOT
   136 
       
   137 
   135 
   138 %files
   136 %files
   139 %defattr (-, root, bin)
   137 %defattr (-, root, bin)
   140 %{_bindir}
   138 %{_bindir}
   141 %dir %attr(0755, root, bin) %{_mandir}
   139 %dir %attr(0755, root, bin) %{_mandir}
   154 
   152 
   155 %files root
   153 %files root
   156 %defattr (-, root, sys)
   154 %defattr (-, root, sys)
   157 %dir %attr (0755, root, sys) %{_sysconfdir}
   155 %dir %attr (0755, root, sys) %{_sysconfdir}
   158 %{_sysconfdir}/*
   156 %{_sysconfdir}/*
   159 
       
   160 
   157 
   161 %changelog
   158 %changelog
   162 * Thu Apr 16 2009 - [email protected]
   159 * Thu Apr 16 2009 - [email protected]
   163 - Add patch xdg-user-dirs-02-g11n-launch-none-utf8.diff CR 6740283
   160 - Add patch xdg-user-dirs-02-g11n-launch-none-utf8.diff CR 6740283
   164 * Fri Jan 23 2009 - [email protected]
   161 * Fri Jan 23 2009 - [email protected]
   204 - Updated to create a root pkg and fix a bug in creating of directories.
   201 - Updated to create a root pkg and fix a bug in creating of directories.
   205   Renamed patch to reflect this change.
   202   Renamed patch to reflect this change.
   206 - Created an autostart desktop file to ensure it's run on startup of desktop.
   203 - Created an autostart desktop file to ensure it's run on startup of desktop.
   207 * Tue Feb 12 2008 - [email protected]
   204 * Tue Feb 12 2008 - [email protected]
   208 - initial version
   205 - initial version
       
   206