]> git.pld-linux.org Git - packages/imgworks.git/blame - imgworks.spec
- fixed lib64 build, package bindir symlink
[packages/imgworks.git] / imgworks.spec
CommitLineData
22206298
JB
1Summary: ImgWorks - graphical batch image converter
2Summary(pl.UTF-8): ImgWorks - graficzny wsadowy konwerter obrazów
3Name: imgworks
4Version: 0.8.1
5Release: 1
6License: GPL v2
7Group: X11/Applications/Graphics
8Source0: http://wolfsinger.com/~wolfpack/packages/%{name}-%{version}.tar.bz2
9# Source0-md5: 4badf90fe08ae8fceb4cabc032558285
10Patch0: %{name}-verbose.patch
11URL: http://freecode.com/projects/imgworks
12BuildRequires: ImageMagick-devel
13BuildRequires: endeavour-devel >= 3
14BuildRequires: gtk+-devel >= 1.2
15BuildRequires: libstdc++-devel
16Requires: endeavour >= 3
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20ImgWorks is a graphical batch image converter that uses ImageMagick
21along with Endeavour Mark II to conveniently convert and edit a
22user-specified list of image/video files. Features include converting
23images from one format to another, adjusting the compression level,
24adjusting the gamma, rotating, cropping, resizing, and adding frames
25and text.
26
27%description -l pl.UTF-8
28ImgWorks to graficzny wsadowy konwerter obrazów, wykorzystujący pakiet
29ImageMagick wraz z Endeavour Mark II do wygodnej konwersji i edycji
30podanej przez użytkownika listy plików obrazów/wideo. Możliwości
31obejmują konwersję z jednego formatu do innego, modyfikowanie poziomu
32kompresji, modyfikowanie współczynnika gamma, obracanie, przycinanie,
33zmianę orzmiaru oraz dodawanie ramek i tekstu.
34
35%prep
36%setup -q
37%patch0 -p1
38
39%build
40%{__make} \
41 CC="%{__cc}" \
42 CPP="%{__cxx}" \
43 CFLAGS="%{rpmcflags} -Wall -DPREFIX=\\\"%{_prefix}\\\" \
44 -DHAVE_IMAGE_MAGICK `Magick-config --cflags` `Wand-config --cflags` \
45 `gtk-config --cflags` \
46 -DHAVE_LIBENDEAVOUR2 `endeavour2-base-config --cflags`"
47
48%install
49rm -rf $RPM_BUILD_ROOT
6e3756c8 50install -d $RPM_BUILD_ROOT%{_bindir}
22206298
JB
51
52%{__make} install \
53 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
6e3756c8 54 EDV_BIN_DIR=$RPM_BUILD_ROOT%{_libdir}/endeavour2/bin \
22206298
JB
55 MAN_DIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
56 INSTBINFLAGS="-m755"
57
6e3756c8
JB
58# fix symlink to buildroot
59ln -sf ../%{_lib}/endeavour2/bin/imgworks $RPM_BUILD_ROOT%{_bindir}/imgworks
60
22206298
JB
61bzip2 -d $RPM_BUILD_ROOT%{_mandir}/man1/*.bz2
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%doc AUTHORS README
6e3756c8 69%attr(755,root,root) %{_bindir}/imgworks
22206298
JB
70%attr(755,root,root) %{_libdir}/endeavour2/bin/imgworks
71%{_datadir}/endeavour2/help/imgworks
72%{_datadir}/endeavour2/icons/icon_imgworks_*.xpm
73%{_mandir}/man1/imgworks.1*
This page took 0.138224 seconds and 4 git commands to generate.