]> git.pld-linux.org Git - packages/albumshaper.git/blame - albumshaper.spec
- tabs in preamble
[packages/albumshaper.git] / albumshaper.spec
CommitLineData
c91ab5dd 1%define _alpha a2
ddb83c88 2Summary: Photo album creation and modification application
75630e31 3Summary(pl.UTF-8): Program do tworzenia i modyfikacji albumów fotograficznych
ddb83c88 4Name: albumshaper
c91ab5dd
TO
5Version: 1.0
6Release: 0.%{_alpha}.1
ddb83c88
TO
7License: GPL v2
8Group: Applications/Graphics
0cc59da3 9Source0: http://dl.sourceforge.net/albumshaper/%{name}_%{version}%{_alpha}_source.tar.bz2
ddb83c88
TO
10# Source0-md5: 704199e8f3df8e3504a72574e6f0f11a
11Patch0: %{name}-qmake.patch
12URL: http://albumshaper.sourceforge.net/
13BuildRequires: qt-devel >= 3.0
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17AlbumShaper is a drag-n-drop hierarchal photo album creation and
18modification application. Based on the Qt libraries AlbumShaper is a
19cross-platform solution for maintaining your collection of digital
20images from various sources.
21
baa94450
JR
22%description -l pl.UTF-8
23AlbumShaper jest hierarchicznym programem klasy "przenieś i upuść"
24służącym do tworzenia i modyfikacji albumów fotograficznych. Oparty o
25bibliotekę Qt AlbumShaper jest rozwiązaniem wieloplatformowym służącym
26do zarządzania zbiorami cyfrowych zdjęć pochodzących z różnych źródeł.
570ee360 27
ddb83c88 28%prep
c91ab5dd 29%setup -q -n %{name}_%{version}%{_alpha}_source
ddb83c88
TO
30%patch0 -p1
31
32%build
b6cb4d4f 33export QTDIR=%{_prefix}
ddb83c88 34qmake
b6cb4d4f
JB
35%{__make} \
36 CXX="%{__cxx}" \
37 CXXFLAGS="%{rpmcflags} -pipe -Wall -W -DQT_NO_DEBUG"
ddb83c88
TO
38
39%install
40rm -rf $RPM_BUILD_ROOT
41install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/albumshaper/images}
42
7e74d2a4 43install bin/images/*.png $RPM_BUILD_ROOT%{_datadir}/albumshaper/images
ddb83c88
TO
44install bin/AlbumShaper.bin $RPM_BUILD_ROOT%{_bindir}/albumshaper
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc README docs/{authors,bugs,changelog,credits} docs/html
52%attr(755,root,root) %{_bindir}/*
53%{_datadir}/%{name}
This page took 0.040743 seconds and 4 git commands to generate.