]> git.pld-linux.org Git - packages/ToutDoux.git/blob - ToutDoux.spec
- bump release to 7 for sync between avalaible archs.
[packages/ToutDoux.git] / ToutDoux.spec
1 Summary:        Project manager
2 Summary(pl):    Zarz±dca projektów
3 Name:           ToutDoux
4 Version:        1.2.6
5 Release:        7
6 License:        GPL
7 Group:          Applications/Databases
8 Source0:        http://toutdoux.sourceforge.net/pub/toutdoux/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-xml.patch
10 Patch1:         %{name}-configure.patch
11 URL:            http://toutdoux.sourceforge.net/
12 BuildRequires:  XFree86-devel
13 BuildRequires:  bison
14 BuildRequires:  gnome-libs-devel
15 BuildRequires:  gtk+-devel >= 1.2.0
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  libtool
19 BuildRequires:  gettext-devel
20 BuildRequires:  libxml-devel
21 BuildRequires:  gdk-pixbuf-devel >= 0.9.0
22 BuildRequires:  postgresql-devel >= 7.1
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _prefix         /usr/X11R6
26 %define         _mandir         %{_prefix}/man
27
28 %description
29 ToutDoux is a project manager which permits management with different
30 views (based on plugins). For example, you can design a plan of
31 actions using a tree structure.
32
33 %description -l pl
34 ToutDoux jest programem do zarz±dzania projektami pozwalaj±cym na
35 uwzglêdnianie ró¿nych punktów widzenia (bazuj±c na pluginach). Mo¿esz
36 np. projektowaæ plan zadañ u¿ywaj±c struktury drzewiastej.
37
38 %package devel
39 Summary:        %{name} libraries, includes, etc
40 Summary(pl):    %{name} - pliki nag³ówkowe, etc
41 Group:          X11/Development/Libraries
42 Requires:       %{name} = %{version}
43
44 %description devel
45 Header files for %{name}.
46
47 %description -l pl devel
48 Pliki nag³ówkowe etc do %{name}.
49
50 %package static
51 Summary:        %{name} static libraries
52 Summary(pl):    Biblioteki statyczne hOpla
53 Group:          X11/Development/Libraries
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 %{name} static libraries.
58
59 %description -l pl static
60 Biblioteki statyczne z funkcjami %{name}.
61
62 %prep
63 %setup -q
64 %patch0 -p1
65 %patch1 -p1
66
67 %build
68 rm -f missing
69 libtoolize --copy --force
70 gettextize --copy --force
71 aclocal -I %{_aclocaldir}/gnome -I macros
72 %{__autoconf}
73 %{__automake}
74 %configure  \
75         --with-gnome 
76 %{__make}
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         gmenudir=%{_applnkdir}/Utilities
84
85 gzip -9nf AUTHORS ChangeLog NEWS README
86
87 %find_lang %{name} --with-gnome
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
94
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc *.gz doc/en/toutdoux/*
98 %attr(755,root,root) %{_bindir}/toutdoux
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100 %dir %{_libdir}/toutdoux
101 %dir %{_libdir}/toutdoux/plugins
102 %attr(755,root,root) %{_libdir}/toutdoux/plugins/lib*.so*
103 %dir %{_pixmapsdir}/toutdoux
104 %{_pixmapsdir}/toutdoux/*
105 %{_pixmapsdir}/*.*
106 %{_datadir}/toutdoux
107 %{_applnkdir}/*/*
108 %{_datadir}/mime-info/*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_bindir}/*-config
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %attr(755,root,root) %{_libdir}/lib*.la
115 %{_includedir}/toutdoux
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/toutdoux/plugins/lib*.a
120 %{_libdir}/lib*.a
This page took 0.074312 seconds and 3 git commands to generate.