Mageia Bugzilla – Attachment 4442 Details for
Bug 11411
plasma-applet-timekeeper doesn't work and supporse to work with Mandriva.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
spec file
plasma-applet-timekeeper.spec (text/x-rpm-spec), 1.47 KB, created by
Dimitrios Glentadakis
on 2013-10-19 08:50:44 CEST
(
hide
)
Description:
spec file
Filename:
MIME Type:
Creator:
Dimitrios Glentadakis
Created:
2013-10-19 08:50:44 CEST
Size:
1.47 KB
patch
obsolete
>%define oname timekeeper > >Summary: Plasma applet that provides clock and calendar via steampunk interface >Name: plasma-applet-%{oname} >Version: 0.5.1 >Release: 1 >License: GPLv3 >Group: Graphical desktop/KDE >Url: http://kde-apps.org/content/show.php/Time+Keeper?content=159345 >Source0: http://kde-apps.org/CONTENT/content-files/159345-%{oname}.plasmoid > >BuildRequires: imagemagick >BuildRequires: kde4-macros >BuildRequires: marble > >Requires: kdebase4-runtime >Requires: marble-common > > >%description >Plasma applet that provides clock and calendar functions via steampunk >interface. It is written entirely in QML + JavaScript. > > >%prep >%setup -q -c >find . -type f | xargs chmod 0644 >%__sed -i 's;icon.png;%{oname};g' metadata.desktop > >%build ># nothing > >%install >%__mkdir -p %{buildroot}%{_kde_appsdir}/plasma/plasmoids/%{oname} >%__mkdir -p %{buildroot}%{_libdir}/qt4/imports/org >%__cp -r * %{buildroot}%{_kde_appsdir}/plasma/plasmoids/%{oname}/ >%__install -D -m 644 metadata.desktop %{buildroot}%{_kde_services}/%{oname}.desktop > ># install icons >for N in 16 32 48 64 96 128; >do >convert icon.png -resize ${N}x${N} $N.png; >%__install -D -m 0644 $N.png %{buildroot}%{_kde_iconsdir}/hicolor/${N}x${N}/apps/%{oname}.png >done > ># Create symbolic link for marble extensions >ln -s %{_libdir}/kde4/plugins/marble/org/kde/ %{buildroot}%{_libdir}/qt4/imports/org > > >%files >%{_kde_appsdir}/plasma/plasmoids/%{oname} >%{_kde_iconsdir}/hicolor/*/apps/%{oname}.png >%{_kde_services}/%{oname}.desktop >%{_libdir}/qt4/imports/org/kde
%define oname timekeeper Summary: Plasma applet that provides clock and calendar via steampunk interface Name: plasma-applet-%{oname} Version: 0.5.1 Release: 1 License: GPLv3 Group: Graphical desktop/KDE Url: http://kde-apps.org/content/show.php/Time+Keeper?content=159345 Source0: http://kde-apps.org/CONTENT/content-files/159345-%{oname}.plasmoid BuildRequires: imagemagick BuildRequires: kde4-macros BuildRequires: marble Requires: kdebase4-runtime Requires: marble-common %description Plasma applet that provides clock and calendar functions via steampunk interface. It is written entirely in QML + JavaScript. %prep %setup -q -c find . -type f | xargs chmod 0644 %__sed -i 's;icon.png;%{oname};g' metadata.desktop %build # nothing %install %__mkdir -p %{buildroot}%{_kde_appsdir}/plasma/plasmoids/%{oname} %__mkdir -p %{buildroot}%{_libdir}/qt4/imports/org %__cp -r * %{buildroot}%{_kde_appsdir}/plasma/plasmoids/%{oname}/ %__install -D -m 644 metadata.desktop %{buildroot}%{_kde_services}/%{oname}.desktop # install icons for N in 16 32 48 64 96 128; do convert icon.png -resize ${N}x${N} $N.png; %__install -D -m 0644 $N.png %{buildroot}%{_kde_iconsdir}/hicolor/${N}x${N}/apps/%{oname}.png done # Create symbolic link for marble extensions ln -s %{_libdir}/kde4/plugins/marble/org/kde/ %{buildroot}%{_libdir}/qt4/imports/org %files %{_kde_appsdir}/plasma/plasmoids/%{oname} %{_kde_iconsdir}/hicolor/*/apps/%{oname}.png %{_kde_services}/%{oname}.desktop %{_libdir}/qt4/imports/org/kde
View Attachment As Raw
Actions:
View
Attachments on
bug 11411
: 4442