]> git.pld-linux.org Git - packages/BloGTK.git/blob - BloGTK.spec
1d92494168b90cb6d685f3d1b24bfe10b8d7d949
[packages/BloGTK.git] / BloGTK.spec
1 Summary:        BloGTK - a weblog client
2 Summary(pl.UTF-8):   BloGTK - klient dla weblogów
3 Name:           BloGTK
4 Version:        1.1
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Communications
8 Source0:        http://dl.sourceforge.net/blogtk/blogtk_%{version}.tar.bz2
9 # Source0-md5:  cd2d2521a261867cd9c830a81d3d4408
10 URL:            http://blogtk.sourceforge.net/
11 BuildRequires:  python
12 BuildRequires:  python-pygtk-glade
13 BuildRequires:  python-pygtk-gtk >= 2.0
14 Requires:       python-gnome-extras-gtkhtml
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 BloGTK is a weblog client that allows you to post to your weblog from
19 Linux without the need for a separate browser window. BloGTK allows
20 you to connect with many weblog systems such as Blogger, Movable Type,
21 WordPress, and more. BloGTK Main WindowBloGTK is written using Python
22 and PyGTK, and is designed to be fast and simple to use.
23
24 %description -l pl.UTF-8
25 BloGTK jest klientem dla weblogów, który pozwala umieszczać notatki
26 na blogach bez konieczności korzystania z przeglądarki internetowej.
27 BloGTK pozwala na korzystanie z wielu systemu weblogów, takich jak:
28 Blogger, Moveable Type, WordPress i innych. BloGTK jest napisany z
29 użyciem Pythona i PyGTK i ma być szybkim i prostym w użyciu.
30
31 %prep
32 %setup -q
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 sed -i 's/if test -f.*fi//' Makefile
38
39 %{__make} install \
40         BINDIR=$RPM_BUILD_ROOT%{_bindir} \
41         DATADIR=$RPM_BUILD_ROOT%{_datadir}/blogtk \
42         LIBDIR=$RPM_BUILD_ROOT%{_libdir}/blogtk \
43         APPLICATIONSDIR=$RPM_BUILD_ROOT%{_desktopdir} \
44         ICONDIR=$RPM_BUILD_ROOT%{_pixmapsdir}
45
46 rm $RPM_BUILD_ROOT%{_bindir}/BloGTK
47 ln -s %{_libdir}/blogtk/BloGTK.py $RPM_BUILD_ROOT%{_bindir}/BloGTK
48 rm -f $RPM_BUILD_ROOT%{_datadir}/blogtk/*.bak
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog README
56 %attr(755,root,root) %{_bindir}/*
57 %{_desktopdir}/*.desktop
58 %{_pixmapsdir}/*.png
59 %dir %{_libdir}/blogtk
60 %attr(755,root,root) %{_libdir}/blogtk/BloGTK.py
61 %{_libdir}/blogtk/[cps]*.py
62 %{_datadir}/blogtk
This page took 0.051862 seconds and 2 git commands to generate.