File: gimplensfun.spec.in

package info (click to toggle)
gimplensfun 0.2.4-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 236 kB
  • sloc: cpp: 1,032; makefile: 50
file content (52 lines) | stat: -rw-r--r-- 1,246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# gimplensfun RPM specification file template
# based on the Fedora packaging guidelines
# replace the following:
#   __VERSION__ with the version number
#   __CHANGES__ with the change log info

Name:           gimplensfun
Version:        __VERSION__
Release:        1%{?dist}
Summary:        Gimp plugin to correct lens distortion

Group:          Applications/Multimedia
License:        GPLv3
URL:            http://seebk.github.io/GIMP-Lensfun/
Source0:        http://dl.bintray.com/content/seebk/GIMP-Lensfun/%{name}-%{version}.tar.gz?direct
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gimp-devel >= 2.0
BuildRequires:  exiv2-devel
BuildRequires:  lensfun-devel
Requires:       gimp >= 2.0
Requires:       lensfun
Requires:       exiv2

%description
GimpLensfun is a Gimp plugin to correct lens distortion using the lensfun
library and database.


%prep
%setup -q


%build
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/gimp/2.0/plug-ins
install -m 755 %{name} $RPM_BUILD_ROOT%{_libdir}/gimp/2.0/plug-ins

%clean
rm -rf $RPM_BUILD_ROOT

%files
%doc LICENSE.txt CHANGES.txt README.txt
%{_libdir}/gimp/2.0/plug-ins/%{name}


%changelog
__CHANGES__