Search
j0ke.net Open Build Service
>
Projects
>
KDE
:
QT-4
>
virtual-hdd-led
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 7
[-]
[+]
Changed
virtual_hdd_led.spec
@@ -1,11 +1,12 @@ Name: virtual_hdd_led Version: 0.5 -Release: 1 +Release: 2 Summary: Virtual HDD LED Url: http://kde-apps.org/content/show.php?action=content&content=12657 Group: Productivity/Other License: GPL Source0: %{name}-%{version}.tar.bz2 +Source1: %{name}-locale-%{version}.tar.bz2 Patch0: %{name}-%{version}-tooltip.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -38,8 +39,23 @@ %description This applet shows the activity and the current status of the selected harddisk. + +%if 0%{?suse_version} +%lang_package +%else +%package lang +Summary: Languages for package %{name} +Group: System/Localization +Requires: %{name} = %{version} +Provides: %{name}-lang-all = %{version} + +%description lang +Provides translations to the package %{name} +%endif + + %prep -%setup -n %{name}-%{version} +%setup -n %{name}-%{version} -b 1 %if 0%{?suse_version} <= 1120 %patch0 %endif @@ -52,6 +68,14 @@ %cmake_kde4 %endif +cd $RPM_BUILD_DIR/%{name}-locale-%{version} +%if 0%{?suse_version} +%cmake_kde4 -d build +%make_jobs +%else +%cmake_kde4 +%endif + %install %if 0%{?suse_version} pushd build @@ -62,9 +86,24 @@ %endif +cd $RPM_BUILD_DIR/%{name}-locale-%{version} +%if 0%{?suse_version} +pushd build +%endif +%__make DESTDIR=%{buildroot} install +%if 0%{?suse_version} +popd +%endif +cd $RPM_BUILD_DIR/%{name}-%{version} +%find_lang %{name} %{name}.lang + + %clean rm -rf %{buildroot} +%files lang -f %{name}.lang +%defattr(-,root,root) + %files %defattr(-,root,root) %doc ChangeLog README @@ -77,5 +116,8 @@ %{_datadir}/kde4/services/plasma-applet-virtual_hdd_led.desktop %changelog +* Sun Jun 27 2010 Carsten Schoene <cs@linux-administrator.com> - 0.5-2 +- added translations to package + * Mon Jun 21 2010 Carsten Schoene <cs@linux-administrator.com> - 0.5-1 - initial build
Added
virtual_hdd_led-locale-0.5.tar.bz2
^