]> git.pld-linux.org Git - packages/podofobrowser.git/blob - podofobrowser.spec
- new
[packages/podofobrowser.git] / podofobrowser.spec
1 Summary:        PDF object browser/editor
2 Summary(pl.UTF-8):      Przeglądarka/edytor obiektów w dokumentach PDF
3 Name:           podofobrowser
4 Version:        0.9.7
5 Release:        1
6 License:        GPL v2+
7 Group:          Applications/Publishing
8 Source0:        https://downloads.sourceforge.net/podofo/%{name}-%{version}.tar.gz
9 # Source0-md5:  1178fb40c1f46a5aa96684f211364a84
10 URL:            https://podofo.sourceforge.net/
11 BuildRequires:  Qt5Core-devel >= 5.0.0
12 BuildRequires:  Qt5Widgets-devel >= 5.0.0
13 BuildRequires:  cmake >= 2.4
14 BuildRequires:  fontconfig-devel
15 BuildRequires:  freetype-devel >= 2.0
16 BuildRequires:  libjpeg-devel
17 BuildRequires:  podofo-devel >= 0.9.7
18 BuildRequires:  zlib-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 PoDoFoBrowser is a Qt 5 application for browsing the objects in a PDF
23 file and modifying their keys easily. It is very useful if you want to
24 look on the internal structure of PDF files.
25
26 %description -l pl.UTF-8
27 PoDoFoBrowser to aplikacja Qt 5 do przeglądania obiektów w pliku PDF i
28 łatwego modyfikowania ich kluczy. Jest przydatna, jeśli chcemy
29 obejrzeć wewnętrzną strukturę plików PDF.
30
31 %prep
32 %setup -q
33
34 %build
35 install -d build
36 cd build
37 %cmake ..
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} -C build install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc AUTHORS README TODO
51 %attr(755,root,root) %{_bindir}/podofobrowser
This page took 0.071133 seconds and 3 git commands to generate.