File: grisbi.spec

package info (click to toggle)
grisbi 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 22,604 kB
  • ctags: 6,257
  • sloc: ansic: 117,322; sh: 11,246; makefile: 785; perl: 370; xml: 11
file content (185 lines) | stat: -rw-r--r-- 5,372 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
%define name    grisbi
%define version 1.0.0
%define release %mkrel 1

%define _disable_ld_no_undefined 1
%define _disable_ld_as_needed 1

Summary:        Personal finance manager
Name:           %{name}
Version:        %{version}
Release:        %{release}
License:        GPLv2
Url:            http://www.grisbi.org/
Source0:        http://switch.dl.sourceforge.net/sourceforge/grisbi/%{name}-%{version}.tar.bz2

Group:          Office
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:  libgdk_pixbuf2.0-devel libofx-devel
BuildRequires:  glib2-devel >= 2.0.0 gtk2-devel
BuildRequires:  gettext-devel openssl-devel libpcre-devel

%description
Grisbi helps you to manage your personal finances with Linux.

%prep
%setup -q

%build
%configure
%make

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

mkdir -p $RPM_BUILD_ROOT%_datadir/applications
desktop-file-install --vendor mandriva \
    --dir $RPM_BUILD_ROOT%{_datadir}/applications \
    --add-category "X-MandrivaLinux-MoreApplications-Finances" \
    --add-mime-type=application/x-grisbi \
    --rebuild-mime-info-cache \
    --delete-original \
    $RPM_BUILD_ROOT%_datadir/applications/%{name}.desktop

mkdir -p $RPM_BUILD_ROOT%_datadir/icons/hicolor/48x48/apps
cp -f $RPM_BUILD_ROOT%{_datadir}/pixmaps/grisbi/grisbi.svg \
    $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/grisbi.svg

%find_lang %{name} %{name}-tips

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root,0755)
%doc AUTHORS NEWS README
%_bindir/*
%_libdir/grisbi
%dir %_datadir/grisbi
%_datadir/grisbi/categories
%_datadir/grisbi/ui/*
%_datadir/pixmaps/*
%_datadir/applications/*
%_mandir/man1/*
%_datadir/mime-info/*
%_iconsdir/hicolor/48x48/apps/%name.png

%changelog
* Sun Mar 16 2014 Pierre Biava <pierre.biava@nerim.net> 1.0.0-1.mga1.x86_64.rpm
- new version 1.0.0

* Fri Dec 30 2011 Pierre Biava <grisbi@pierre.biava.name> 0.8.9-1mdv2010.2
- new version 0.8.9

* Sat Aug 06 2011 Pierre Biava <grisbi@pierre.biava.name> 0.8.8-1mdv2010.2
- new version 0.8.8

* Sun May 22 2011 Pierre Biava <grisbi@pierre.biava.name> 0.8.6-1mdv2010.2
- new version 0.8.6

* Wed Apr 13 2011 Pierre Biava <grisbi@pierre.biava.name> 0.8.5-1mdv2010.1
- new version 0.8.5

* Mon Feb 22 2011 Pierre Biava <grisbi@pierre.biava.name> 0.8.2-1mdv2010.1
- new version 0.8.2

* Sun Feb 20 2011 Pierre Biava <grisbi@pierre.biava.name> 0.8.0-1mdv2010.1
- new version 0.8.0

* Sun Sep 12 2010 Pierre Biava <grisbi@pierre.biava.name> 0.7.4-1mdv2010.1
- new version 0.7.4

* Sun Apr 18 2010 Pierre Biava <grisbi@pierre.biava.name> 0.6.0-1mdv2010.0
- new version 0.6.0

* Sun Aug 30 2009 Pierre Biava <pierre@pierre.biava.name> 0.6.0b1-1mdv2009.0
- 0.6.0b1

* Sun Jan 25 2009 Pierre Biava <pierre@pierre.biava.name> 0.6.0a1-1mdv2009.0
- new version of the spec file for grisbi 0.6.0

* Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.5.9-3mdv2009.0
+ Revision: 266978
- rebuild early 2009.0 package (before pixel changes)

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

* Mon May 26 2008 Frederic Crozat <fcrozat@mandriva.com> 0.5.9-2mdv2009.0
+ Revision: 211409
- Patch2: fix build when as-needed is used
- Patch3: fix help path
- Fix buildrequires

  + Thierry Vignaud <tvignaud@mandriva.com>
    - drop old menu
    - kill re-definition of %%buildroot on Pixel's request
    - kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Wed Mar 21 2007 Adam Williamson <awilliamson@mandriva.com> 0.5.9-2mdv2007.1
+ Revision: 147387
- rebuild for new libofx
- spellcheck summary and description

* Wed Nov 22 2006 JérÎme Soyer <saispo@mandriva.org> 0.5.9-1mdv2007.1
+ Revision: 86320
- Fix Specs
- Add BuildRequires Tetex
- New release 0.5.9
- Import grisbi

* Fri Apr 07 2006 Frederic Crozat <fcrozat@mandriva.com> 0.5.8-2mdk
- Patch0: fix web browser name
- Patch1: fix doc build
- package french manual
- Add requires on latex, needed for printing
- fix buildrequires

* Thu Jan 19 2006 Lenny Cartier <lenny@mandriva.com> 0.5.8-1mdk
- 0.5.8

* Thu Nov 24 2005 Lenny Cartier <lenny@mandriva.com> 0.5.7-3mdk
- rebuild

* Tue Aug 09 2005 Per Øyvind Karlsen <pkarlsen@mandriva.com> 0.5.7-2mdk
- %%mkrel
- get rid of bizarre stuff
- don't bzip2 icons
- cleanups!

* Fri Jun 10 2005 Lenny Cartier <lenny@mandriva.com> 0.5.7-1mdk
- 0.5.7

* Thu Jan 13 2005 Jerome Soyer <saispo@mandrake.org> 0.5.5-1mdk
- 0.5.5

* Mon Dec 20 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5.3-2mdk
- rebuild for new ofx

* Thu Dec 02 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.5.3-1mdk
- 0.5.3

* Fri Oct 22 2004 Jerome Soyer <saispo@mandrake.org> 0.5.2-1mdk
- 0.5.2
- Update BuildRequires

* Mon Aug 30 2004 Jerome Soyer <saispo@mandrake.org> 0.5.1-3mdk
- fix buildrequires

* Sun Aug 22 2004 Jerome Soyer <saispo@mandrake.org> 0.5.1-2mdk
- fix menu entry

* Thu Aug 05 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.5.1-1mdk
- 0.5.1

* Tue Jul 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.5.0-1mdk
- from neoclust <n1c0l4s.l3@wanadoo.fr> :
        - 0.5.0

* Sat Apr 24 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.4.5-1mdk
- 0.4.5
- merge with original grisbi spec