Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %define use_ccache 1
- %define ccachedir~/.ccache-OOo%{mgasuffix}
- %{?_with_ccache: %global use_ccache 1}
- %{?_without_ccache: %global use_ccache 0}
- %define debug_package %{nil}
- %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
- %define distsuffix bdk
- %define name servicemenu-pdf
- %define version 0.4
- %define release %mkrel kde4.8.5
- Name: %{name}
- Version: %{version}
- Release: %{release}
- License: GPLv3
- Group: Graphical desktop/KDE
- Summary: Manage and modify PDF documents using konqueror/dolphin (KDE4)
- URL: http://www.kde-look.org/content/show.php/?content=37321
- Source0: %{name}_%{version}-kde4.tar.gz
- BuildRoot: %{_tmppath}/%{name}_%{version}-%{release}-buildroot
- BuildArch: noarch
- Requires: konqueror >= 4.0.0
- Requires: dolphin >= 4.0.0
- Requires: kdialog >= 4.0.0
- Requires: texlive-texmf
- Requires: pdftk
- Requires: poppler
- Requires: pdf2djvu
- Requires: djvulibre
- %description
- servicemenu-pdf is a package that extends the functionalities
- of konqueror/dolphin adding many additionally sensible menu, reachables with
- right click on the files. It's similar to gnome nautilus actions.
- These actions are related to pdf files.
- You can join, rotate, set password, uncompress, extract, repair, lock, unlock,
- watermark, convert to html, convert to images, convert to text and many
- others actions. You can convert a pdf document in booklet.
- Author: Giuseppe Benigno giuseppe.benigno@egregorion.net
- %prep
- %setup -q -n %{name}_%{version}-kde4
- %build
- %install
- install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
- install -m 755 bin/*.sh $RPM_BUILD_ROOT%{_bindir}
- install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus
- install -m 644 desktop/*.desktop $RPM_BUILD_ROOT%{_datadir}/kde4/services/ServiceMenus
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root)
- %doc copyright changelog Description LICENSE
- %{_bindir}/*
- %{_datadir}/kde4/services/ServiceMenus
- %ChangeLog
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement