Пакет libindicate: Specfile
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 | Name: libindicate Version: 0.2.3 Release: alt0.M51.1 %define major 3 %define major_gtk 1 %define libname %name%major %define gtklibname %name%major_gtk-gtk %define develname %name-devel %define gtkdevelname %name-gtk-devel Group: System/Libraries Summary: Library for applications to raise flags on DBus Url: https://launchpad.net/libindicate License: LGPLv3 / LGPLv2.1 Source: http://launchpad.net/%name/0.2/%version/+download/%name-%version.tar.gz Patch1: libindicate-0.2.3-alt-dont-build-examples.patch BuildRequires: glibc-devel gtk-doc libdbus-glib-devel libgtk+2-devel libxml2-devel %description A small library for applications to raise "flags" on DBus for other components of the desktop to pick up and visualize. Currently used by the messaging indicator. %package -n %libname Summary: Library for applications to raise flags on DBus Group: System/Libraries %description -n %libname A small library for applications to raise "flags" on DBus for other components of the desktop to pick up and visualize. Currently used by the messaging indicator. %package -n %gtklibname Summary: Library for applications to raise flags on DBus Group: System/Libraries %description -n %gtklibname A small library for applications to raise "flags" on DBus for other components of the desktop to pick up and visualize. Currently used by the messaging indicator. %package -n %develname Summary: Library headers for %name Group: Development/C Requires: %libname = %version %description -n %develname This is the libraries, include files and other resources you can use to incorporate %name into applications. %package -n %gtkdevelname Summary: Library headers for %name Group: Development/C Requires: %gtklibname = %version Requires: %develname = %version %description -n %gtkdevelname This is the libraries, include files and other resources you can use to incorporate %name into applications. %package doc Summary: Documentation for %name Group: Development/C Requires: %libname = %version %description doc This package provides documentation files for %name %prep %setup -q %patch1 -p0 %autoreconf %build %configure \ --disable-static \ --enable-shared %make %install %make install DESTDIR=%buildroot %files -n %libname %_libdir/libindicate.so.%{major}* %files -n %gtklibname %_libdir/libindicate-gtk.so.%{major_gtk}* %files -n %develname %dir %_includedir/%name-0.2 %_includedir/%name-0.2/libindicate %_libdir/libindicate.so %_libdir/pkgconfig/indicate.pc %files -n %gtkdevelname %_includedir/%name-0.2/libindicate-gtk %_libdir/libindicate-gtk.so %_libdir/pkgconfig/indicate-gtk.pc %files doc %doc AUTHORS examples tests %_datadir/gtk-doc/html/%name %changelog * Tue Mar 30 2010 Sergey V Turchin <zerg@altlinux.org> 0.2.3-alt0.M51.1 - built for M51 * Thu Jan 21 2010 Sergey V Turchin <zerg@altlinux.org> 0.2.3-alt1 - innitial specfile |