Package libgpod4: 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 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 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 | %define MOUNT_DIR /media %def_disable pygobject Name: libgpod4 Version: 0.8.3 Release: alt7 Summary: iPod access library Group: Sound License: %lgpl3plus URL: http://www.gtkpod.org/libgpod Source: %name-%version.tar Patch: %name-%version-%release.patch Patch1: %name-0.8.3-alt-swig.patch Patch2: %name-0.8.3-alt-libplist-2.0.patch Provides: libgpod = %version-%release Obsoletes: libgpod < 0.7 BuildRequires: gcc-c++ gtk-doc intltool BuildRequires: glib2-devel libgio-devel libsqlite3-devel BuildRequires: libimobiledevice-devel >= 1.3.0 libplist-devel >= 2.2.0 BuildRequires: libxml2-devel libsgutils-devel libusb-devel zlib-devel BuildRequires: libtag-devel libgdk-pixbuf-devel %{?_enable_pygobject:BuildRequires: python-module-pygobject-devel python-module-mutagen swig} BuildRequires: rpm-build-licenses %if 0 BuildRequires: /proc mono-devel libgtk-sharp2-devel %endif %description libgpod is a library meant to abstract access to an iPod content. It provides an easy to use API to retrieve the list of files and playlist stored on an iPod, to modify them and to save them back to the iPod. %package -n libgpod-devel Summary: Development files for libgpod Group: Development/C Requires: %name = %version-%release %description -n libgpod-devel Files needed to develop applications that use libgpod, an iPod access library. %package -n libgpod-devel-doc Summary: Development documentation for libgpod Group: Development/C BuildArch: noarch %description -n libgpod-devel-doc API documentation in gtk-doc format for libgpod, an iPod access library. %package -n python-module-gpod Summary: Python bindings for libgpod Group: Development/Python Requires: %name = %version-%release Obsoletes: python-modules-gpod < %version-%release Provides: python-modules-gpod = %version-%release %description -n python-module-gpod Python bindings for libgpod, an iPod access library. %package -n libgpod-sharp Summary: C#/.NET library to access iPod content Group: Development/Other Requires: %name = %version-%release %description -n libgpod-sharp C#/.NET library to access iPod content. Provides bindings to the libgpod library. %package -n libgpod-sharp-devel Summary: Development files for libgpod-sharp Group: Development/Other Requires: libgpod-sharp = %version-%release %description -n libgpod-sharp-devel C#/.NET library to access iPod content. Provides bindings to the libgpod library. This package contains the files required to develop programs that will use libgpod-sharp. %prep %setup %patch -p1 %patch1 %patch2 -p1 # remove execute perms on the python examples as they'll be installed in %%doc chmod -x bindings/python/examples/*.py %build %add_optflags %(getconf LFS_CFLAGS) %autoreconf %configure \ --disable-static \ --enable-gtk-doc \ %{subst_enable pygobject} \ --without-hal \ --without-mono \ --enable-udev \ --with-libimobiledevice \ --with-temp_mount_dir="%MOUNT_DIR" \ --enable-more-warnings=no %make_build pushd bindings/python make README popd %install %makeinstall_std # remove Makefiles from the python examples dir rm -rf bindings/python/examples/Makefile* rm -f %buildroot%python_sitelibdir/gpod/*.la rm -f %buildroot%_pkgconfigdir/libgpod-sharp.pc %find_lang libgpod %files -f libgpod.lang %_bindir/* %_libdir/*.so.* /lib/udev/rules.d/* /lib/udev/*-set-info %files -n libgpod-devel %_includedir/* %_libdir/*.so %_pkgconfigdir/libgpod-1.0.pc %files -n libgpod-devel-doc %_datadir/gtk-doc/html/* %if_enabled pygobject %files -n python-module-gpod %doc COPYING bindings/python/README bindings/python/examples %python_sitelibdir/gpod %endif %if 0 %files -n libgpod-sharp %_libdir/libgpod %files -n libgpod-sharp-devel %_pkgconfigdir/libgpod-sharp.pc %endif %changelog * Thu Jun 18 2020 Yuri N. Sedunov <aris@altlinux.org> 0.8.3-alt7 - rebuilt against libplist-2.0 (2.2.0) - disabled useless python2 module * Thu Jul 20 2017 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.8.3-alt6 - rebuilt without mono * Mon Jul 20 2015 Yuri N. Sedunov <aris@altlinux.org> 0.8.3-alt5 - fixed build with newer swig * Mon Feb 23 2015 Yuri N. Sedunov <aris@altlinux.org> 0.8.3-alt4 - rebuilt against libimobiledevice.so.6 * Wed Oct 15 2014 Yuri N. Sedunov <aris@altlinux.org> 0.8.3-alt3 - rebuilt against libimobiledevice.so.5/libplist.so.3 * Fri Jun 20 2014 Yuri N. Sedunov <aris@altlinux.org> 0.8.3-alt2 - rebuilt against libplist.so.2 * Mon Jan 20 2014 Yuri N. Sedunov <aris@altlinux.org> 0.8.3-alt1 - 0.8.3 * Thu Apr 11 2013 Yuri N. Sedunov <aris@altlinux.org> 0.8.2-alt3 - rebuilt against libimobiledevice.so.4 * Tue Oct 02 2012 Alexey Shabalin <shaba@altlinux.ru> 0.8.2-alt2 - upstream snapshot - add patches for fix deprecated functions * Mon Apr 09 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.2-alt1.3 - Rebuilt with libplist-1.8 * Fri Apr 06 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.2-alt1.2 - Removed -Werror compiler flag * Sat Oct 22 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.8.2-alt1.1 - Rebuild with Python-2.7 * Fri Aug 12 2011 Alexey Shabalin <shaba@altlinux.ru> 0.8.2-alt1 - 0.8.2 * Fri May 27 2011 Alexey Shabalin <shaba@altlinux.ru> 0.8.0-alt3 - rebuild with new libimobiledevice * Thu Mar 24 2011 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.8.0-alt2 - Rebuilt for debuginfo * Mon Jan 17 2011 Alexey Shabalin <shaba@altlinux.ru> 0.8.0-alt1 - 0.8.0 - update buildreq - cleanup spec - build with udev and without hal - add python examples to %%doc - add sharp and sharp-devel subpackage - fix libgpod-devel - move libgpod-sharp.pc to sharp-devel * Fri Sep 24 2010 Andriy Stepanov <stanv@altlinux.ru> 0.7.94-alt1 - New version * Mon Aug 02 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7.93-alt4 - Fixed packaging of python-module-gpod * Sat Apr 10 2010 Andriy Stepanov <stanv@altlinux.ru> 0.7.93-alt3 - Pack missing files * Sat Apr 10 2010 Andriy Stepanov <stanv@altlinux.ru> 0.7.93-alt2 - Update BuildRequires * Sat Apr 10 2010 Andriy Stepanov <stanv@altlinux.ru> 0.7.93-alt1 - Update to new version. * Wed Nov 25 2009 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.7.2-alt1.1 - Rebuilt with python 2.6 * Mon Aug 24 2009 Anton Protopopov <aspsk@altlinux.org> 0.7.2-alt1 - Update to 0.7.2 * Wed Apr 08 2009 Anton Protopopov <aspsk@altlinux.org> 0.7.0-alt7 - Provide right package * Wed Apr 08 2009 Anton Protopopov <aspsk@altlinux.org> 0.7.0-alt6 - Rename package: SharedLibsPolicy * Mon Apr 06 2009 Anton Protopopov <aspsk@altlinux.org> 0.7.0-alt5 - 0.7.0-alt5 * Tue Mar 24 2009 Anton Protopopov <aspsk@altlinux.org> 0.7.0-alt2 - renamed python-modules-gpod to python-module-gpod (shrek@) * Wed Jan 21 2009 Anton Protopopov <aspsk@altlinux.org> 0.7.0-alt1 - 0.7.0 - Updated BuildRequires * Wed Jan 21 2009 Anton Protopopov <aspsk@altlinux.org> 0.6.0-alt3 - Gearify * Mon Oct 27 2008 Valery Inozemtsev <shrek@altlinux.ru> 0.6.0-alt2 - fixed build with gcc4.3 * Sun Nov 11 2007 Valery Inozemtsev <shrek@altlinux.ru> 0.6.0-alt1 - 0.6.0 * Tue Aug 21 2007 Valery Inozemtsev <shrek@altlinux.ru> 0.5.2-alt1 - 0.5.2 * Tue Feb 06 2007 Valery Inozemtsev <shrek@altlinux.ru> 0.4.2-alt1 - 0.4.2 - added libgpod-0.4.2-alt-gpod-link.patch * Sun Sep 24 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.4.0-alt1 - Release 0.4.0 - Added libgpod-devel-doc package - Added python-modules-gpod package * Fri Mar 17 2006 Mikhail Zabaluev <mhz@altlinux.ru> 0.3.2-alt1 - Initial release for Sisyphus |