Bug 1175

Summary: Request of new rpm kaption
Product: Mageia Reporter: Dimitrios Glentadakis <dglent>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: CVE:
Status comment:

Description Dimitrios Glentadakis 2011-05-06 20:53:19 CEST
I tried this program:
http://kde-apps.org/content/show.php?action=content&content=139302

and i really like it.

I'd like to ask if it is possible to add it in the mageia repos in the future.
I prepared a spec file:

%define name    kaption       
%define version 0.0.9
%define release %mkrel 1           
 
Name:           %name
Version:        %version
Release:        %release
Source0:        http://kde-apps.org/CONTENT/content-files/139302-kaption-%version.tar.gz
Summary:        KDE Graphic Editor                                    
License:        GPLv2                                                                 
Group:          Graphics                                                             
Url:            http://kde-apps.org/content/show.php/Kaption?content=139302                                    
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot                      
BuildRequires:  kdelibs4-devel
Requires:	kdebase4-runtime
                                                  
 
%description
A KDE utility similar to Jing or Skitch not yet as powerful as them ;)
Nice, but what is it? 
It's an app that sit in the systray, left clicking the icon you can capture a screen region to draw arrows, boxes and text
on it, than you can save the result (the screenshots shown here are made with this app).

 
%prep
%setup -q
 
%build
%cmake_kde4
%make
 
%install
rm -rf %{buildroot}
%{makeinstall_std} -C build
 
%find_lang %name --with-html

%files -f %name.lang
%defattr(-,root,root)
%doc COPYING INSTALL README TODO
%{_bindir}/kaption
%{_datadir}/applications/kde4/kaption.desktop
%{_datadir}/apps/kaption/icons/hicolor/*/actions/*.png
%{_datadir}/apps/kaption/kaption.notifyrc
%{_datadir}/config.kcfg/kaption.kcfg

%clean
rm -rf %{buildroot}
Comment 1 Ahmad Samir 2011-05-07 02:56:52 CEST
It's easier to attach a spec, rather than paste it directly.

Imported (with a few changes).

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 2 Dimitrios Glentadakis 2011-05-07 09:10:02 CEST
ok, thanks Ahmad