]> git.pld-linux.org Git - packages/glabels.git/blob - glabels.spec
- updated to 2.2.8
[packages/glabels.git] / glabels.spec
1 Summary:        gLabels - a GNOME program to create labels and business cards
2 Summary(pl.UTF-8):      gLabels - program dla GNOME do tworzenia etykiet i wizytówek
3 Name:           glabels
4 Version:        2.2.8
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Graphics
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/glabels/2.2/%{name}-%{version}.tar.bz2
9 # Source0-md5:  8e0ac4b19de68d55e33aef6a5544f0e5
10 Patch0:         %{name}-desktop.patch
11 URL:            http://glabels.sourceforge.net/
12 BuildRequires:  autoconf >= 2.52
13 BuildRequires:  automake
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  evolution-data-server-devel >= 1.2
16 BuildRequires:  gettext-devel
17 BuildRequires:  glib2-devel >= 1:2.12.0
18 BuildRequires:  gnome-common >= 2.8.0
19 BuildRequires:  gnome-doc-utils
20 BuildRequires:  gtk+2-devel >= 2.10.0
21 BuildRequires:  gtk-doc >= 1.0
22 BuildRequires:  intltool >= 0.21
23 BuildRequires:  libbonobo-devel >= 2.8.1
24 BuildRequires:  libglade2-devel >= 1:2.6.0
25 BuildRequires:  libgnomeui-devel >= 2.16.0
26 BuildRequires:  libtool
27 BuildRequires:  libxml2-devel >= 1:2.7.0
28 BuildRequires:  pkgconfig
29 BuildRequires:  rpmbuild(find_lang) >= 1.23
30 BuildRequires:  rpmbuild(macros) >= 1.197
31 BuildRequires:  scrollkeeper
32 BuildRequires:  sed >= 4.0
33 Requires(post,postun):  desktop-file-utils
34 Requires(post,postun):  scrollkeeper
35 Requires(post,postun):  shared-mime-info
36 Requires:       %{name}-libs = %{version}-%{release}
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 gLabels is a small stand-alone program for creating labels and
41 business cards.
42
43 %description -l pl.UTF-8
44 gLabels jest małym, samodzielnym programem do tworzenia etykiet i
45 wizytówek.
46
47 %package libs
48 Summary:        glabels shared libraries
49 Summary(pl.UTF-8):      Biblioteki współdzielone glabels
50 Group:          Libraries
51
52 %description libs
53 glabels shared libraries.
54
55 %description libs -l pl.UTF-8
56 Biblioteki współdzielone glabels.
57
58 %package devel
59 Summary:        Header files for glabels
60 Summary(pl.UTF-8):      Pliki nagłówkowe glabels
61 Group:          Development/Libraries
62 Requires:       %{name}-libs = %{version}-%{release}
63 Requires:       glib2-devel >= 1:2.12.0
64 Requires:       libxml2-devel >= 1:2.7.0
65
66 %description devel
67 Header files for glabels.
68
69 %description devel -l pl.UTF-8
70 Pliki nagłówkowe glabels.
71
72 %package static
73 Summary:        glabels static library
74 Summary(pl.UTF-8):      Statyczna biblioteka glabels
75 Group:          Development/Libraries
76 Requires:       %{name}-devel = %{version}-%{release}
77
78 %description static
79 glabels staic library.
80
81 %description static -l pl.UTF-8
82 Statyczna biblioteka glabels.
83
84 %package apidocs
85 Summary:        glabels library API documentation
86 Summary(pl.UTF-8):      Dokumentacja API biblioteki glabels
87 Group:          Documentation
88 Requires:       gtk-doc-common
89
90 %description apidocs
91 glabels library API documentation.
92
93 %description apidocs -l pl.UTF-8
94 Dokumentacja API biblioteki glabels.
95
96 %prep
97 %setup -q
98 %patch0 -p1
99
100 %build
101 %{__glib_gettextize}
102 %{__libtoolize}
103 %{__intltoolize}
104 %{__gnome_doc_common}
105 %{__gtkdocize}
106 %{__aclocal}
107 %{__autoheader}
108 %{__automake}
109 %{__autoconf}
110 %configure \
111         --enable-gtk-doc \
112         --with-html-dir=%{_gtkdocdir} \
113         --disable-update-desktopdb \
114         --disable-update-mimedb
115
116 %{__make}
117
118 %install
119 rm -rf $RPM_BUILD_ROOT
120
121 %{__make} install \
122         DESTDIR=$RPM_BUILD_ROOT
123
124 rm -rf $RPM_BUILD_ROOT%{_datadir}/{mime-info,application-registry}
125
126 %find_lang %{name} --with-gnome --with-omf
127
128 %clean
129 rm -rf $RPM_BUILD_ROOT
130
131 %post
132 %scrollkeeper_update_post
133 %update_desktop_database_post
134 %update_mime_database
135
136 %postun
137 %scrollkeeper_update_postun
138 %update_desktop_database_postun
139 %update_mime_database
140
141 %post   libs -p /sbin/ldconfig
142 %postun libs -p /sbin/ldconfig
143
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
146 %doc AUTHORS ChangeLog README TODO
147 %attr(755,root,root) %{_bindir}/glabels
148 %attr(755,root,root) %{_bindir}/glabels-batch
149 %{_datadir}/%{name}
150 %{_datadir}/mime/packages/glabels.xml
151 %{_mandir}/man1/*.1*
152 %{_pixmapsdir}/%{name}
153 %{_pixmapsdir}/*.png
154 %{_desktopdir}/*.desktop
155
156 %files libs
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/libglabels.so.*.*.*
159 %attr(755,root,root) %ghost %{_libdir}/libglabels.so.5
160
161 %files devel
162 %defattr(644,root,root,755)
163 %attr(755,root,root) %{_libdir}/libglabels.so
164 %{_libdir}/libglabels.la
165 %{_includedir}/libglabels
166 %{_pkgconfigdir}/libglabels.pc
167
168 %files static
169 %defattr(644,root,root,755)
170 %{_libdir}/libglabels.a
171
172 %files apidocs
173 %defattr(644,root,root,755)
174 %{_gtkdocdir}/libglabels
This page took 0.031196 seconds and 3 git commands to generate.