]> git.pld-linux.org Git - packages/glabels.git/blob - glabels.spec
- updated to 1.93.3
[packages/glabels.git] / glabels.spec
1 Summary:        gLabels - a GNOME2 program to create labels and business cards
2 Summary(pl):    gLabels - program dla GNOME2 do tworzenia etykiet i wizytówek
3 Name:           glabels
4 Version:        1.93.3
5 Release:        1
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  29abf3f91ea9e8aec194744302175c02
10 Patch0:         %{name}-desktop.patch
11 URL:            http://glabels.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gnome-common
15 BuildRequires:  intltool >= 0.21
16 BuildRequires:  libbonobo-devel >= 2.4.0
17 BuildRequires:  libglade2-devel >= 2.0.1
18 BuildRequires:  libgnomeprintui-devel >= 2.4.0
19 BuildRequires:  libgnomeui-devel >= 2.4.0
20 BuildRequires:  libtool
21 BuildRequires:  libxml2-devel >= 2.4.23
22 BuildRequires:  pkgconfig
23 Requires:       %{name}-libs = %{version}-%{release}
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 gLabels is a small stand-alone program for creating labels and
28 business cards.
29
30 %description -l pl
31 gLabels jest ma³ym, samodzielnym programem do tworzenia etykiet i
32 wizytówek.
33
34 %package libs
35 Summary:        glabels shared libraries
36 Summary(pl):    Biblioteki wspó³dzielone glabels
37 Group:          Libraries
38
39 %description libs
40 glabels shared libraries.
41
42 %description libs -l pl
43 Biblioteki wspó³dzielone glabels.
44
45 %package devel
46 Summary:        Header files for glabels
47 Summary(pl):    Pliki nag³ówkowe glabels
48 Group:          Development/Libraries
49 Requires:       %{name}-libs = %{version}-%{release}
50
51 %description devel
52 Header files for glabels.
53
54 %description devel -l pl
55 Pliki nag³ówkowe glabels.
56
57 %package static
58 Summary:        glabels static library
59 Summary(pl):    Statyczna biblioteka glabels
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 glabels staic library.
65
66 %description static -l pl
67 Statyczna biblioteka glabels.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72
73 mv -f po/{zh_TW.Big5,zh_TW}.po
74 %{__perl} -pi -e 's/zh_TW\.Big5/zh_TW/' configure.in
75
76 %build
77 glib-gettextize --copy --force
78 %{__libtoolize}
79 intltoolize --copy --force
80 gnome-doc-common --copy
81 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
82 %{__autoheader}
83 %{__automake}
84 %{__autoconf}
85 %configure \
86         --enable-platform-gnome-2
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT
94
95 %find_lang %{name} --with-gnome --all-name
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post   -p /usr/bin/scrollkeeper-update
101 %postun -p /usr/bin/scrollkeeper-update
102
103 %post   libs -p /sbin/ldconfig
104 %postun libs -p /sbin/ldconfig
105
106 %files -f %{name}.lang
107 %defattr(644,root,root,755)
108 %doc AUTHORS ChangeLog README TODO
109 %attr(755,root,root) %{_bindir}/*
110 %{_datadir}/%{name}
111 %{_datadir}/application-registry/*
112 %{_datadir}/mime-info/*
113 %{_pixmapsdir}/%{name}
114 %{_pixmapsdir}/*.png
115 %{_desktopdir}/*.desktop
116 %{_omf_dest_dir}/%{name}
117
118 %files libs
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/lib*.so.*.*
121
122 %files devel
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_libdir}/lib*.so
125 %{_libdir}/lib*.la
126 %{_includedir}/libglabels
127
128 %files static
129 %defattr(644,root,root,755)
130 %{_libdir}/lib*.a
This page took 0.066044 seconds and 3 git commands to generate.