rpms/pony/F-10 pony.spec,NONE,1.1 sources,1.1,1.2
Kushal Das
kushal at fedoraproject.org
Fri May 29 07:48:58 UTC 2009
Author: kushal
Update of /cvs/extras/rpms/pony/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17528
Modified Files:
sources
Added Files:
pony.spec
Log Message:
Firt time import in F-10
--- NEW FILE pony.spec ---
Name: pony
Version: 0.1
Release: 2%{?dist}
Summary: An image manager
Group: Applications/Multimedia
License: GPLv2+
URL: http://www.fedorahosted.org/pony
Source0: http://fedorahosted.org/releases/p/o/pony/%{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: kdelibs4-devel
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: python-devel
BuildRequires: PyKDE4-devel
%{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
Requires: Django
Requires: python-flickrapi
Requires: pyexiv2
Requires: PyKDE4
Requires: PyQt4
Requires: python-imaging
%description
Pony is a simple image manager
%prep
%setup -q
%build
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake_kde4} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
rm -rf %{buildroot}
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
#%find_lang %{name}
HTML_DIR=$(kde4-config --expandvars --install html)
if [ -d %{buildroot}${HTML_DIR} ]; then
for lang_dir in %{buildroot}${HTML_DIR}/* ; do
if [ -d ${lang_dir} ]; then
lang=$(basename ${lang_dir})
echo "%lang(${lang}) ${HTML_DIR}/${lang}/%{name}/" >> %{name}.lang
fi
done
fi
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/%{name}.desktop
%clean
rm -rf %{buildroot}
%post
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
%postun
if [ $1 -eq 0 ] ; then
update-desktop-database -q &> /dev/null
touch --no-create %{_datadir}/icons/hicolor &> /dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
fi
%posttrans
update-desktop-database -q &> /dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
%files -f %{name}.lang
#%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING
%{_kde4_bindir}/pony
%{_kde4_appsdir}/pony/
%{_kde4_datadir}/applications/kde4/pony.desktop
%{_kde4_iconsdir}/hicolor/*/*/*
%changelog
* Thu May 28 2009 Kushal Das <kushal at fedoraproject.org> 0.1-2
- Fixed source link in spec
* Thu May 28 2009 Kushal Das <kushal at fedoraproject.org> 0.1-1
- Initial release
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/pony/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 28 May 2009 16:01:51 -0000 1.1
+++ sources 29 May 2009 07:48:28 -0000 1.2
@@ -0,0 +1 @@
+5002a732eaffd1c56540ce6ea89ed8b0 pony-0.1.tar.bz2
More information about the fedora-extras-commits
mailing list