]>
Commit | Line | Data |
---|---|---|
1 | Summary: Removing image distorsions introduced by camera lenses | |
2 | Summary(pl.UTF-8): Usuwanie zniekształceń obrazu wprowadzonych przez obiektyw aparatu | |
3 | Name: clens | |
4 | Version: 0.2 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: Applications/Graphics | |
8 | Source0: http://dl.sourceforge.net/panotools/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: d6edfce75bf555a08691d65fade7693d | |
10 | Source1: http://www.epaperpress.com/ptlens/download/PTLensProfiles.zip | |
11 | # Source1-md5: 9144eaa751baf62408b69b77db0a52c7 | |
12 | URL: http://panotools.sourceforge.net/ | |
13 | BuildRequires: unzip | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | clens removes image distortions in JPEG images introduced by camera | |
18 | lenses. clens is a Linux port of Thomas Niemann's PTLens for Windows | |
19 | (<http://www.epaperpress.com/ptlens/>). Unlike PTLens, clens is a | |
20 | command line program. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | clens służy do usuwania ze zdjęć w formacie JPEG zniekształceń obrazu | |
24 | wprowadzonych przez obiektyw aparatu. clens to linuksowy port | |
25 | windowsowego PTLens autorstwa Thomasa Niemanna | |
26 | (<http://www.epaperpress.com/ptlens/>). W przeciwieństwie do PTLens | |
27 | clens jest programem działającym z linii poleceń. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | unzip -q %{SOURCE1} -d data | |
32 | ||
33 | %build | |
34 | %configure | |
35 | %{__make} | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | install data/*.txt $RPM_BUILD_ROOT%{_datadir}/clens | |
44 | mv -f data/README README.data | |
45 | rm -rf $RPM_BUILD_ROOT{%{_prefix}/doc,%{_includedir},%{_datadir}/clens/README} | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %doc ChangeLog README TODO README.data data/PTLensProfiles.pdf | |
53 | %attr(755,root,root) %{_bindir}/clens | |
54 | %{_datadir}/clens | |
55 | %{_mandir}/man1/clens.1* |