]> git.pld-linux.org Git - packages/biblos.git/blobdiff - biblos.spec
- do not list %{_desktopdir}/* -- dangerous, could list directories unexpectedly
[packages/biblos.git] / biblos.spec
index 3ee0309385251fc526ab4c0b5915a442de237938..f02e17b216c41964467c768f0e9e50ff54b18ee2 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Indexing tool to manage cds collection
 Summary(pl):   Program do katalogowania p³yt CD
 Name:          biblos
 Version:       0.35
-Release:       1       
+Release:       1
 License:       GPL or QPL
 Group:         X11/Applications
 Source0:       http://biblos.f2g.net/%{name}-%{version}.tar.gz
@@ -10,19 +10,20 @@ Source0:    http://biblos.f2g.net/%{name}-%{version}.tar.gz
 Source1:       %{name}.desktop
 Patch0:                %{name}-qt_mt.patch
 URL:           http://biblos.f2g.net/
-BuildRequires: qt-devel >= 3.0.5
 BuildRequires: expat-devel
+BuildRequires: qmake
 BuildRequires: libstdc++-devel
+BuildRequires: qt-devel >= 3.0.5
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Biblos is intended to be an easy to use file indexing tool that 
-can manage your mp3 collection, your cds collection and even
-local directories. It is distributed under GNU Public License 
+Biblos is intended to be an easy to use file indexing tool that
+can manage your MP3 collection, your cds collection and even
+local directories. It is distributed under GNU General Public License
 and Q Public License and it is a work in progress. The following
 things are not implemented:
-  
+
 - Delete object button
 - Properties button
 - Biblos Manual button
@@ -30,7 +31,7 @@ things are not implemented:
 
 %description -l pl
 Biblos ma byæ ³atwym w u¿yciu narzêdziem do indeksowania plików,
-mog±cym zarz±dzaæ kolekcj± plików mp3, p³yt CD lub nawet lokalnymi
+mog±cym zarz±dzaæ kolekcj± plików MP3, p³yt CD lub nawet lokalnymi
 katalogami. Jest rozpowszechniany na Powszechnej Licencji Publicznej
 GNU (GPL) oraz Licencji Publicznej Q (QPL, Q Public License) i jest
 w trakcie tworzenia. Nastêpuj±ce rzeczy jeszcze nie zosta³y
@@ -43,21 +44,22 @@ zaimplementowane:
 
 %prep
 %setup -qcT
-tar xzf %{SOURCE0} -C ..
-chmod +x . images mc help
-%patch0 -p1
+tar xzf %{SOURCE0} -C . 
+chmod -R +x %{name}-%{version}
+%patch0 -p0
 
 %build
+mv %{name}-%{version}/* .
 qmake biblos.pro
 %{__make} QTDIR="/usr" CFLAGS="%{rpmcflags}" CXXFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_applnkdir}/Utilities}
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir}}
 
 install %{name} $RPM_BUILD_ROOT%{_bindir}
 install images/logo.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}-logo.png
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -67,4 +69,4 @@ rm -rf $RPM_BUILD_ROOT
 %doc doc/{AUTHORS,HISTORY,TODO,WARNING,WHATIS}
 %attr(755,root,root) %{_bindir}/*
 %{_pixmapsdir}/*
-%{_applnkdir}/Utilities/*
+%{_desktopdir}/*.desktop
This page took 0.088619 seconds and 4 git commands to generate.