source: projects/specs/trunk/p/postr/postr-vl.spec @ 6933

Revision 6933, 2.6 KB checked in by Takemikaduchi, 8 years ago (diff)

NEW: gnome-clocks, gnote, grilo-plugins, seahorse-nautilus
glabels: add Patch
others: new upstream release

Line 
1# Basic Information
2Name:           postr
3Version:        0.13
4Release:        1%{?_dist_release}
5License:        GPLv2
6Group:          Applications/Internet
7Source0:        http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.13/%{name}-%{version}.tar.xz
8BuildRoot:      %{_tmppath}/%{name}-%{version}-root
9BuildArch:      noarch
10
11Vendor:         Project Vine
12Distribution:   Vine Linux
13Packager:       yasumichi
14
15Summary:        Flickr Uploader
16Summary(ja):    Flickr アップローダー
17
18# Dependency
19Requires:       python
20Requires:       pygtk2
21Requires:       nautilus-python
22BuildRequires:  python-devel
23BuildRequires:  pygtk2-devel
24BuildRequires:  nautilus-python-devel
25BuildRequires:  gnome-doc-utils >= 0.3.2
26
27%description
28Postr is a Flickr uploading tool for the GNOME desktop, which aims to be
29simple to use but exposing enough of Flickr to be useful. It isn't finished
30yet, but its a very capable uploader already.
31
32%description -l ja
33Postr は、GNOME デスクトップ向けの Flickr アップロードツールです。利用が簡単
34でありながら、便利に Flicker へ十分露出できることを目標としています。目標は
35まだ完了していませんが、既にとても有能なアップローダーです。
36
37%prep
38%setup -q
39
40%build
41%configure --with-nautilus-extension-dir=%{_datadir}/nautilus-python/extensions
42%{__make} %{?_smp_mflags}
43
44%install
45%{__rm} -rf ${RPM_BUILD_ROOT}
46%{__make} install DESTDIR=${RPM_BUILD_ROOT}
47
48%find_lang %{name} --all-name --with-gnome
49
50
51%clean
52%{__rm} -rf ${RPM_BUILD_ROOT}
53
54
55%post
56touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
57
58%postun
59if [ $1 -eq 0 ] ; then
60    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
61    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
62    update-desktop-database -q &> /dev/null ||:
63fi
64
65%posttrans
66gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
67update-desktop-database -q &> /dev/null ||:
68
69
70%files -f %{name}.lang
71%defattr(-,root,root)
72%doc AUTHORS COPYING README TODO
73%{_bindir}/%{name}
74%{python_sitelib}/%{name}
75%{_datadir}/applications/%{name}.desktop
76%{_datadir}/icons/hicolor/16x16/apps/postr.png
77%{_datadir}/icons/hicolor/22x22/apps/postr.png
78%{_datadir}/icons/hicolor/24x24/apps/postr.png
79%{_datadir}/icons/hicolor/32x32/apps/postr.png
80%{_datadir}/icons/hicolor/scalable/apps/postr.svg
81%{_datadir}/nautilus-python/extensions/*
82%{_datadir}/%{name}/%{name}.glade
83
84
85%changelog
86* Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-1
87- new upstream release
88- add BuildRequires: pygtk2-devel, nautilus-python-devel, gnome-doc-utils
89
90* Tue Feb 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.4-2
91- rebuild with python-2.7.2
92
93* Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.12.4-1
94- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.