forked from grisbi/grisbi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrisbi.spec
185 lines (141 loc) · 5.25 KB
/
grisbi.spec
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.1.1
%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 <[email protected]> 1.0.0-1.mga1.x86_64.rpm
- new version 1.0.0
* Fri Dec 30 2011 Pierre Biava <[email protected]> 0.8.9-1mdv2010.2
- new version 0.8.9
* Sat Aug 06 2011 Pierre Biava <[email protected]> 0.8.8-1mdv2010.2
- new version 0.8.8
* Sun May 22 2011 Pierre Biava <[email protected]> 0.8.6-1mdv2010.2
- new version 0.8.6
* Wed Apr 13 2011 Pierre Biava <[email protected]> 0.8.5-1mdv2010.1
- new version 0.8.5
* Mon Feb 22 2011 Pierre Biava <[email protected]> 0.8.2-1mdv2010.1
- new version 0.8.2
* Sun Feb 20 2011 Pierre Biava <[email protected]> 0.8.0-1mdv2010.1
- new version 0.8.0
* Sun Sep 12 2010 Pierre Biava <[email protected]> 0.7.4-1mdv2010.1
- new version 0.7.4
* Sun Apr 18 2010 Pierre Biava <[email protected]> 0.6.0-1mdv2010.0
- new version 0.6.0
* Sun Aug 30 2009 Pierre Biava <[email protected]> 0.6.0b1-1mdv2009.0
- 0.6.0b1
* Sun Jan 25 2009 Pierre Biava <[email protected]> 0.6.0a1-1mdv2009.0
- new version of the spec file for grisbi 0.6.0
* Thu Aug 07 2008 Thierry Vignaud <[email protected]> 0.5.9-3mdv2009.0
+ Revision: 266978
- rebuild early 2009.0 package (before pixel changes)
+ Pixel <[email protected]>
- 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 <[email protected]> 0.5.9-2mdv2009.0
+ Revision: 211409
- Patch2: fix build when as-needed is used
- Patch3: fix help path
- Fix buildrequires
+ Thierry Vignaud <[email protected]>
- 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 <[email protected]>
- restore BuildRoot
* Wed Mar 21 2007 Adam Williamson <[email protected]> 0.5.9-2mdv2007.1
+ Revision: 147387
- rebuild for new libofx
- spellcheck summary and description
* Wed Nov 22 2006 JérÎme Soyer <[email protected]> 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 <[email protected]> 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 <[email protected]> 0.5.8-1mdk
- 0.5.8
* Thu Nov 24 2005 Lenny Cartier <[email protected]> 0.5.7-3mdk
- rebuild
* Tue Aug 09 2005 Per Ãyvind Karlsen <[email protected]> 0.5.7-2mdk
- %%mkrel
- get rid of bizarre stuff
- don't bzip2 icons
- cleanups!
* Fri Jun 10 2005 Lenny Cartier <[email protected]> 0.5.7-1mdk
- 0.5.7
* Thu Jan 13 2005 Jerome Soyer <[email protected]> 0.5.5-1mdk
- 0.5.5
* Mon Dec 20 2004 Götz Waschk <[email protected]> 0.5.3-2mdk
- rebuild for new ofx
* Thu Dec 02 2004 Lenny Cartier <[email protected]> 0.5.3-1mdk
- 0.5.3
* Fri Oct 22 2004 Jerome Soyer <[email protected]> 0.5.2-1mdk
- 0.5.2
- Update BuildRequires
* Mon Aug 30 2004 Jerome Soyer <[email protected]> 0.5.1-3mdk
- fix buildrequires
* Sun Aug 22 2004 Jerome Soyer <[email protected]> 0.5.1-2mdk
- fix menu entry
* Thu Aug 05 2004 Lenny Cartier <[email protected]> 0.5.1-1mdk
- 0.5.1
* Tue Jul 20 2004 Lenny Cartier <[email protected]> 0.5.0-1mdk
- from neoclust <[email protected]> :
- 0.5.0
* Sat Apr 24 2004 Lenny Cartier <[email protected]> 0.4.5-1mdk
- 0.4.5
- merge with original grisbi spec