]> git.pld-linux.org Git - packages/albumshaper.git/blobdiff - albumshaper.spec
- qt-devel epoch 1
[packages/albumshaper.git] / albumshaper.spec
index 749cd3c83f62ce1ca39fb2f2cea593c32fcb08c4..e57d4a12d8961ca31a207cdff6f95c6ddbe42b27 100644 (file)
@@ -1,15 +1,16 @@
+%define                _alpha  a2
 Summary:       Photo album creation and modification application
-Summary(pl):   -
+Summary(pl.UTF-8):     Program do tworzenia i modyfikacji albumów fotograficznych
 Name:          albumshaper
-Version:       1.0a2
-Release:       0.1
+Version:       1.0
+Release:       0.%{_alpha}.1
 License:       GPL v2
 Group:         Applications/Graphics
-Source0:       http://dl.sourceforge.net/%{name}/%{name}_%{version}_source.tar.bz2
+Source0:       http://dl.sourceforge.net/albumshaper/%{name}_%{version}%{_alpha}_source.tar.bz2
 # Source0-md5: 704199e8f3df8e3504a72574e6f0f11a
 Patch0:                %{name}-qmake.patch
 URL:           http://albumshaper.sourceforge.net/
-BuildRequires: qt-devel >= 3.0
+BuildRequires: qt-devel >= 1:3.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -18,20 +19,28 @@ modification application. Based on the Qt libraries AlbumShaper is a
 cross-platform solution for maintaining your collection of digital
 images from various sources.
 
+%description -l pl.UTF-8
+AlbumShaper jest hierarchicznym programem klasy "przenieś i upuść"
+służącym do tworzenia i modyfikacji albumów fotograficznych. Oparty o
+bibliotekę Qt AlbumShaper jest rozwiązaniem wieloplatformowym służącym
+do zarządzania zbiorami cyfrowych zdjęć pochodzących z różnych źródeł.
+
 %prep
-%setup -q -n %{name}_%{version}_source
+%setup -q -n %{name}_%{version}%{_alpha}_source
 %patch0 -p1
 
 %build
-export QTDIR=%{_prefix}/X11R6
+export QTDIR=%{_prefix}
 qmake
-%{__make}
+%{__make} \
+       CXX="%{__cxx}" \
+       CXXFLAGS="%{rpmcflags} -pipe -Wall -W -DQT_NO_DEBUG"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_prefix}/{bin,share/albumshaper/images}
 
-install bin/images/*.png $RPM_BUILD_ROOT%{_datadir}/albumshaper/images/
+install bin/images/*.png $RPM_BUILD_ROOT%{_datadir}/albumshaper/images
 install bin/AlbumShaper.bin $RPM_BUILD_ROOT%{_bindir}/albumshaper
 
 %clean
This page took 0.068064 seconds and 4 git commands to generate.